-
Notifications
You must be signed in to change notification settings - Fork 23
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(stark-ui): add show/hide columns functionality to tables #1142
feat(stark-ui): add show/hide columns functionality to tables #1142
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.
packages/stark-ui/src/modules/minimap/components/minimap.component.ts
Outdated
Show resolved
Hide resolved
packages/stark-ui/src/modules/minimap/components/minimap.component.spec.ts
Show resolved
Hide resolved
packages/stark-ui/src/modules/minimap/components/minimap.component.html
Outdated
Show resolved
Hide resolved
packages/stark-ui/src/modules/minimap/components/minimap.component.spec.ts
Outdated
Show resolved
Hide resolved
packages/stark-ui/src/modules/table/components/table.component.ts
Outdated
Show resolved
Hide resolved
1dd05e4
to
6efd141
Compare
@christophercr I updated the PR. |
6efd141
to
19d2905
Compare
</div> | ||
</ng-container> | ||
<stark-minimap | ||
[matTooltip]="'STARK.TABLE.TOGGLE_COLUMNS' | translate" |
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.
I think the translation we have for this key is not correct... it says "Column filters" but it is not to filter columns. I suggest to change it to "Show/Hide columns".
I think the same translation key is used in the column.component.html
but in that case the "Column filter" does make sense... so we are definitly missing one translation key specifically for the Minimap in the Table
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.
Updated the PR. 😄
1ed81c3
to
6f2f668
Compare
- update minimap component - update tests for minimap component - refactor column visibility property CLOSES: NationalBankBelgium#522
6f2f668
to
69b56f0
Compare
@christophercr, could you merge this? PR #1152 depends on this PR. 😄 |
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: #522
What is the new behavior?
Minimap is integrated with table and column can be hidden / shown by the user
Does this PR introduce a breaking change?
The implementation of the minimap and table component has changed slightly
Other information