Skip to content
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

Move default column array to the column definitions file #155

Closed
wants to merge 7 commits into from

Conversation

brianlove
Copy link
Contributor

Resolve a lack of persistence of column slider filters by moving the default column array to the general column definitions file instead of in ListViewTable.

If the persistence issues return, try just hardcoding DEFAULT_COLUMNS instead of building it using initialCol.

Closes #144

TODO: Re-target branch after #154 is merged

Update table column definitions to match the latest data

Closes #92
Add column definitions for remaining requested columns, adding notes
about what is still needed (where relevant)
Updated tests to reflect the new selection of initial columns.

Commented out the group selector test since that interface will be
changing substantially in #94 and was impacted by the UI Components
update.
Update row filtering to account for growth columns, which can have
negative values.  Updated column generation to prevent columns with
similar keys from interfering with each other.
@brianlove brianlove requested a review from jmelot October 20, 2023 21:44
@brianlove brianlove self-assigned this Oct 20, 2023
@github-actions
Copy link

No need for rebasing 👍
behind_count is 0
ahead_count is 1

@brianlove
Copy link
Contributor Author

The failing part of the test is resolved by 9cfb63c in #153

Re-query for the dialog element instead of reusing the prior element as
suggested in testing-library/dom-testing-library#1204 (comment)
Resolve a lack of persistence of column slider filters by moving the
default column array to the general column definitions file instead
of in ListViewTable.

If the persistence issues return, try just hardcoding `DEFAULT_COLUMNS`
instead of building it using `initialCol`.

Closes #144
@brianlove brianlove force-pushed the 144-slider-filter-persistence branch from 75a4449 to d0df51d Compare October 30, 2023 16:03
@jmelot jmelot force-pushed the 92-adjust-available-columns branch from a6d8b4a to 2b9372f Compare October 30, 2023 16:30
@brianlove brianlove force-pushed the 92-adjust-available-columns branch 3 times, most recently from 993c151 to 5a863d5 Compare October 30, 2023 18:24
Base automatically changed from 92-adjust-available-columns to version2 October 31, 2023 16:21
@brianlove brianlove added the invalid This doesn't seem right label Nov 15, 2023
@brianlove brianlove closed this Nov 15, 2023
@brianlove brianlove deleted the 144-slider-filter-persistence branch January 31, 2024 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant