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

UI: HDS adoption replace <ListPagination> component #23169

Merged
merged 11 commits into from
Sep 26, 2023

Conversation

Monkeychip
Copy link
Contributor

@Monkeychip Monkeychip commented Sep 19, 2023

This PR implements the <Hds::Pagination> component. Additional notes below:
Before:
image

After:
image

Additionally, this PR:

  1. Replaces currentPage used in LDAP and KV v2 to page to be consistent with all the other use cases.
  2. Makes it so if a view has pagination, pagination always show where before it had to be above 15 || 100.
    Note: there is another pagination running around called "PaginationControls" —handling this in a separate pr.

@github-actions github-actions bot added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label Sep 19, 2023
Copy link
Contributor Author

@Monkeychip Monkeychip Sep 19, 2023

Choose a reason for hiding this comment

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

affects several views, namespaces, auth method list (userpass names), kmip credentials, kmip scopes and kmip roles.
image
image
image
image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Confirmed this still works as expected.
image

@Monkeychip Monkeychip marked this pull request as ready for review September 19, 2023 20:02
@Monkeychip Monkeychip added this to the 1.16 milestone Sep 19, 2023
@Monkeychip Monkeychip added the ui label Sep 19, 2023
@Monkeychip Monkeychip changed the title WIP pagination replacement UI: HDS adoption replace <ListPagination> component Sep 19, 2023
@github-actions
Copy link

Build Results:
All builds succeeded! ✅

@@ -77,7 +77,6 @@
@import './components/license-banners';
@import './components/linked-block';
@import './components/list-item-row';
@import './components/list-pagination';
Copy link
Contributor

Choose a reason for hiding this comment

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

🎉

@github-actions
Copy link

CI Results:
All Go tests succeeded! ✅

@Monkeychip Monkeychip enabled auto-merge (squash) September 19, 2023 22:11
Copy link
Contributor

@hellobontempo hellobontempo left a comment

Choose a reason for hiding this comment

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

Great to see this updated! Nice work 🚀

@Monkeychip Monkeychip merged commit 6db476d into main Sep 26, 2023
96 checks passed
@Monkeychip Monkeychip deleted the ui/VAULT-20131/pagination branch September 26, 2023 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants