-
Notifications
You must be signed in to change notification settings - Fork 523
feat(kit): InputYear
refactor to new Textfield
#11258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Failed tests ❌Before (main) ← Diff → After (local)(updated for commit 444ee34) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR deprecates the original InputYear
component by moving it to an input-year-legacy
folder, updating routes, docs, and tests to point to the legacy path, and adding a deprecation notice.
- Added a
DemoRoute.InputYearLegacy
entry and updated all navigation to use it. - Updated the legacy component’s template to show a deprecation notification linking to the new component.
- Adjusted pages configuration and Playwright tests to reference the legacy route.
Reviewed Changes
Copilot reviewed 6 out of 12 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
projects/demo/src/modules/components/input-year-legacy/index.ts | Imported DemoRoute and exposed routes for the deprecation link |
projects/demo/src/modules/components/input-year-legacy/index.html | Changed header and added a deprecation notification |
projects/demo/src/modules/app/pages.ts | Updated sidebar title to mark deprecation and point to legacy route |
projects/demo/src/modules/app/demo-routes.ts | Added InputYearLegacy path under /legacy/input-year |
projects/demo/src/modules/app/app.routes.ts | Switched the route and component import to input-year-legacy |
projects/demo-playwright/tests/legacy/input-year/input-year.pw.spec.ts | Updated tests to navigate to the legacy route |
Comments suppressed due to low confidence (3)
projects/demo/src/modules/app/pages.ts:709
- [nitpick] Using an emoji in the title may not align with UI standards; consider 'InputYear (Legacy)' for clear and consistent deprecation labeling.
title: 'InputYear ⛔',
projects/demo/src/modules/app/app.routes.ts:535
- [nitpick] The route title should reflect legacy status to avoid confusion; e.g., change to 'InputYear (Legacy)'.
title: 'InputYear',
projects/demo-playwright/tests/legacy/input-year/input-year.pw.spec.ts:6
- Update the test suite name to 'InputYearLegacy' to accurately reflect that these are legacy component tests.
test.describe('InputYear', () => {
View your CI Pipeline Execution ↗ for commit 444ee34
☁️ Nx Cloud last updated this comment at |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #11258 +/- ##
==========================================
- Coverage 62.97% 62.94% -0.03%
==========================================
Files 1338 1341 +3
Lines 18388 18429 +41
Branches 3015 2931 -84
==========================================
+ Hits 11579 11601 +22
- Misses 6212 6368 +156
+ Partials 597 460 -137
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Visit the preview URL for this PR (updated for commit 444ee34): https://taiga-previews-demo--pr11258-splincode-input-year-demo-byyjilcu.web.app (expires Sat, 26 Jul 2025 11:53:46 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 73dddc3c665194f3e11f18c16aeb71af4c289c37 |
BundleMonFiles updated (2)
Unchanged files (3)
Total files change +554B +0.08% Groups updated (1)
Final result: ✅ View report in BundleMon website ➡️ |
Playwright test results
Details
Failed testschromium › tests/deep/deep-select.pw.spec.ts › Deep / Select › /components/input-year Flaky testschromium › tests/kit/line-clamp/line-clamp.pw.spec.ts › LineClamp › do not close after click in hint area Skipped testschromium › tests/addon-mobile/mobile-dropdown/mobile-dropdown-with-textfield.pw.spec.ts › DropdownMobile for textfields › with legacy select |
39944d7
to
a0f2923
Compare
InputYear
refactor to new Textfield
a0f2923
to
fd3e155
Compare
projects/demo/src/modules/components/input-year/examples/1/index.html
Outdated
Show resolved
Hide resolved
projects/demo/src/modules/components/input-year/examples/import/template.md
Show resolved
Hide resolved
projects/demo/src/modules/components/input-year/examples/1/index.html
Outdated
Show resolved
Hide resolved
a85cb85
to
087b1e0
Compare
projects/demo/src/modules/components/input-year/examples/1/index.ts
Outdated
Show resolved
Hide resolved
projects/demo/src/modules/components/input-year/examples/1/index.html
Outdated
Show resolved
Hide resolved
91e7334
to
68565a1
Compare
cda8916
to
7b19cf4
Compare
a66c45e
to
1173361
Compare
0a0ce31
to
e7324a3
Compare
e7324a3
to
85e2fbc
Compare
f81ef39
to
6b28ce5
Compare
6b28ce5
to
444ee34
Compare
Fixes #11257