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

DataView bugfixes #2347

Merged
merged 10 commits into from
Sep 19, 2024
Merged

DataView bugfixes #2347

merged 10 commits into from
Sep 19, 2024

Conversation

jordankoschei-okta
Copy link
Contributor

Two bugfixes in response to @zhengchen-okta discoveries:

  1. Add correct gap between table settings buttons when filters are inactive
  2. Reset resultsPerPage when filtering a table when pagination is loadMore

@jordankoschei-okta jordankoschei-okta requested a review from a team as a code owner September 11, 2024 01:42
benlister-okta
benlister-okta previously approved these changes Sep 11, 2024
@benlister-okta
Copy link
Contributor

Looks good to me code-wise, if you need a re-approval after changing the target branch let me know.

@bryancunningham-okta
Copy link
Contributor

Do we want to attempt to add tests to cover these fixes? Probably just the results per page one. Not sure we'd want to test styling

@jordankoschei-okta jordankoschei-okta changed the base branch from main to 1.22 September 11, 2024 18:33
Copy link
Contributor

@KevinGhadyani-Okta KevinGhadyani-Okta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quick skim, looks fine. I'd like to get an Odyssey design engineer to approve though.

@jordankoschei-okta jordankoschei-okta changed the base branch from 1.22 to main September 16, 2024 17:40
@jordankoschei-okta jordankoschei-okta dismissed stale reviews from bryancunningham-okta and benlister-okta September 16, 2024 17:40

The base branch was changed.

@jordankoschei-okta
Copy link
Contributor Author

This latest commit fixes the broken table virtualization. It also adds an automatic scroll-to-bottom when clicking the "Load More" button, because that interaction is super weird otherwise (you can load in new rows and never realize).

@@ -119,6 +119,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"regenerator-runtime": "^0.14.1",
"resize-observer-polyfill": "^1.5.1",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This package was last published 6 years ago, but many people are using it, and it's MIT licensed, so we should be fine.

I think this is kind of unnecessary, but once I get Playwright, we'll have it figured out.

@oktapp-aperture-okta oktapp-aperture-okta bot merged commit ad59d38 into main Sep 19, 2024
3 checks passed
@oktapp-aperture-okta oktapp-aperture-okta bot deleted the jk-table-updates-sept-2024 branch September 19, 2024 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants