-
Notifications
You must be signed in to change notification settings - Fork 13
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
feat(sbb-table-wrapper): initial implementation #2715
Conversation
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.
Looks good! some minor changes
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.
Generally LGTM 👍
Some open topics:
- Should the default width of the table be 100%? This was previously the case in the sbb-angular library. Thoughts @TomMenga, @jeripeierSBB, @mcilurzo?
- The shadow logic can be compared with the sbb-angular implementation. Basically add a scroll listener to the wrapper and use the resize event from the window to calculate shadow necessity. https://github.com/sbb-design-systems/sbb-angular/blob/main/src/angular/table/table/table-wrapper.ts
- Maybe for the wrapper story, add more columns to demonstrate the responsiveness.
I'll reply point by point:
|
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.
LGTM 👍
Nice work!
Preflight Checklist
Issue
This PR Closes #2670
Pull request checklist
Please check if your PR fulfills the following requirements:
See Review Guidelines for more information what is checked during review process.
Changes
Changes in this pull request:
sbb-table-wrapper
implementationBrowsers
I tested the build on the following browsers:
Screen readers
I tested the build on the following browsers:
Pull request type
Please check the type of change your PR introduces:
Does this introduce a breaking change?
Other information