-
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: table row selection #82
feat: table row selection #82
Conversation
|
||
mapSelectionToRows() { | ||
this.selectedRows$ = this._selection$.pipe( |
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.
Please use combineLatest to make sure the selection is also updated when the rows change
this.selectedRows$ = combineLatest([this._selection$, this._rows$]).pipe(map(([selectedRows, rows]) => {....}))
|
||
beforeEach(async () => { | ||
component.layout = 'table' | ||
dataTable = await loader.getHarness(DataTableHarness) |
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.
Please get the harness from the DataViewHarnes
|
||
beforeEach(async () => { | ||
dataLayoutSelection = await loader.getHarness(DataLayoutSelectionHarness) | ||
dataView = await loader.getHarness(DataViewHarness) |
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.
Please get the harness from the InteractiveDataViewHarness
## [3.10.0](v3.9.0...v3.10.0) (2024-02-02) ### Features * add emitEvents Input ([#99](#99)) ([f63aada](f63aada)), closes [#98](#98) * init v3 branch and add to workflow ([3e24075](3e24075)) * table row selection ([#82](#82)) ([f420cdd](f420cdd)) ### Refactoring * remove unused getters and broken conditional ([#79](#79)) ([8994807](8994807)) * **test:** ocx-content & ocx-content-container test harnesses ([#71](#71)) ([4ab7931](4ab7931))
* feat: create DataTableComponent storybook entry * feat: basic selection feature for data-table component * feat: connect selection feature to parent components * test: add smoke tests to interactive-data-view * test: add smoke tests to data-view * test: add tests to data-table * refactor: improve data-table tests & harness * fix: use combineLatest instead of withLatestFrom * fix: fix harness loading --------- Co-authored-by: Bastian Jakobi <[email protected]>
* feat: create DataTableComponent storybook entry * feat: basic selection feature for data-table component * feat: connect selection feature to parent components * test: add smoke tests to interactive-data-view * test: add smoke tests to data-view * test: add tests to data-table * refactor: improve data-table tests & harness * fix: use combineLatest instead of withLatestFrom * fix: fix harness loading --------- Co-authored-by: Bastian Jakobi <[email protected]>
## [4.4.0](v4.3.0...v4.4.0) (2024-02-06) ### Features * add app-state-service mock ([#114](#114)) ([b314e81](b314e81)) * allow specifying icons for header objectDetails ([#101](#101)) ([287d873](287d873)) * dialog service improvements ([#106](#106)) ([301273a](301273a)) * overflow action buttons can be disabled ([#95](#95)) ([6194335](6194335)) * table row selection ([#82](#82)) ([#107](#107)) ([8b14bf7](8b14bf7)) ### Bug Fixes * export app-state-service mock ([#115](#115)) ([60778c0](60778c0)) ### Chores * **deps-dev:** bump jest-environment-jsdom from 29.5.0 to 29.7.0 ([#102](#102)) ([ee60735](ee60735)) * **deps-dev:** bump nx-release from 3.1.6 to 3.3.0 ([#105](#105)) ([6089325](6089325)) * **deps-dev:** bump ts-jest from 29.1.1 to 29.1.2 ([#88](#88)) ([8f4ad86](8f4ad86)) * **deps-dev:** bump ts-node from 10.9.1 to 10.9.2 ([#103](#103)) ([9e43120](9e43120)) ### Refactoring * remove unused getters and broken conditional ([#79](#79)) ([#113](#113)) ([ee32517](ee32517))
No description provided.