-
Notifications
You must be signed in to change notification settings - Fork 471
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
#9721 - Remove tui-table
classes from demo
#10029
base: main
Are you sure you want to change the base?
Conversation
…feature/9721-migrate-tui-table-classes
Failed tests ❌Before (main) ← Diff → After (local)tests-kit-dropdown-context-624d8-ens-dropdown-on-right-click-chromium-retry2/01-dropdown-context.diff.pngtests-kit-dropdown-context-45008--nested-dropdown-is-clicked-chromium-retry2/04-dropdown-context.diff.pngtests-kit-dropdown-context-d7fb4-own-after-new-one-is-opened-chromium-retry2/02-dropdown-context.diff.pngtests-kit-dropdown-context-624d8-ens-dropdown-on-right-click-webkit-retry2/01-dropdown-context.diff.pngtests-kit-dropdown-context-45008--nested-dropdown-is-clicked-webkit-retry2/04-dropdown-context.diff.pngtests-kit-dropdown-context-d7fb4-own-after-new-one-is-opened-webkit-retry2/02-dropdown-context.diff.png(updated for commit 72e9f45) |
tui-table
classes from demo
BundleMonUnchanged files (5)
No change in files bundle size Groups updated (1)
Final result: ✅ View report in BundleMon website ➡️ |
tui-table
classes from demotui-table
classes from demo
Visit the preview URL for this PR (updated for commit 72e9f45): https://taiga-previews-demo--pr10029-feature-9721-migrate-tui-inha1i6i.web.app (expires Fri, 20 Dec 2024 07:17:37 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 73dddc3c665194f3e11f18c16aeb71af4c289c37 |
tui-table
classes from demotui-table
classes from demo
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #10029 +/- ##
=======================================
Coverage 66.13% 66.13%
=======================================
Files 1215 1215
Lines 15720 15720
Branches 2310 2272 -38
=======================================
Hits 10397 10397
- Misses 5085 5116 +31
+ Partials 238 207 -31
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Playwright test results 6 failed Details Open report ↗︎ Failed testschromium › tests/kit/dropdown-context/dropdown-context.pw.spec.ts › DropdownContext › opens dropdown on right click Flaky testswebkit › tests/core/hint/hint.pw.spec.ts › TuiHint › false mode hint with delay Skipped testswebkit › tests/addon-commerce/input-card-group.pw.spec.ts › InputCardGroup › Examples › input card grouped with validation |
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.
Thank you! A few minor comments
@@ -2,12 +2,34 @@ import {NgForOf} from '@angular/common'; | |||
import {Component, inject} from '@angular/core'; | |||
import {changeDetection} from '@demo/emulate/change-detection'; | |||
import {encapsulation} from '@demo/emulate/encapsulation'; | |||
import { | |||
TuiTable, |
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.
TuiTable
is enough, it's already a constant with all other standalone directives:
https://github.com/taiga-family/taiga-ui/blob/main/projects/addon-table/components/table/table.ts
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.
Ahh, I see! Thanks for informing me.
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.
Resolved!
border-inline-end: none; | ||
} | ||
|
||
[tuiTd] { |
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.
Let's also remove border-block-start
form [tuiTh]
so it looks more like it used to.
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.
Yeah, header border is appearing
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.
Resolved!
} | ||
|
||
td { | ||
inline-size: 18.75rem; |
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.
Why is it not under [tuiTd]
above?
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.
It was existing code so I didn't touch that, Let me transform to attribute selector under [tuiTd]
.
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.
Resolved!
imports: [TuiDemo], | ||
imports: [ | ||
TuiDemo, | ||
TuiTable, |
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.
Same comment
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.
Resolved!
@@ -2,6 +2,14 @@ import {NgForOf} from '@angular/common'; | |||
import {Component} from '@angular/core'; | |||
import {changeDetection} from '@demo/emulate/change-detection'; | |||
import {encapsulation} from '@demo/emulate/encapsulation'; | |||
import { | |||
TuiTable, |
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.
And here
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.
Resolved!
165a82c
to
72e9f45
Compare
Fixes #9721
Changes Description:-
Migrated tui-form classes from the below pages.