boundary-ui icon indicating copy to clipboard operation
boundary-ui copied to clipboard

Icu 12592 add filtering pagination support for auth methods

Open lisbet-alvarez opened this issue 1 year ago • 3 comments
trafficstars

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12592

:tickets: Jira ticket

Description

add search, filtering, and pagination support to auth methods. User can search by name, description, id, type, and isPrimary.

NOTE: This PR adds a change to the indexedDB and this will result in errors. To bypass this delete the indexedDB by going to devtools -> application -> IndexedDB in order to get the changes this PR introduces.

Screenshots (if appropriate):

image

How to Test

  1. start boundary dev instance
  2. test search on auth methods
  3. test type filtering on auth methods
  4. test primary filtering on auth methods
  5. Validate that filtering and searching works as expected

:technologist: Admin preview

:desktop_computer: Desktop preview

Checklist:

  • [X] I have added before and after screenshots for UI changes
  • [ ] I have added JSON response output for API changes
  • [ ] I have added steps to reproduce and test for bug fixes in the description
  • [X] I have commented on my code, particularly in hard-to-understand areas
  • [X] My changes generate no new warnings
  • [X] I have added tests that prove my fix is effective or that my feature works

lisbet-alvarez avatar Mar 28 '24 23:03 lisbet-alvarez

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
boundary-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 12, 2024 5:22pm
boundary-ui-desktop ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 12, 2024 5:22pm

vercel[bot] avatar Mar 28 '24 23:03 vercel[bot]

@lisbet-alvarez I can't navigate to auth-methods or groups, when I click on the left side-nav I got route errors, see the attached screenshot. I am testing using a boundary dev instance.

Screenshot 2024-04-02 at 2 41 07 PM

calcaide avatar Apr 02 '24 21:04 calcaide

@lisbet-alvarez I can't navigate to auth-methods or groups, when I click on the left side-nav I got route errors, see the attached screenshot. I am testing using a boundary dev instance.

Screenshot 2024-04-02 at 2 41 07 PM

ahh apologies, I should've added this to the description. The reason for that error is that each PR adds a new index to the indexedDB. In order to get rid of that error message you need to go to dev tools -> Application -> indexedDB and delete database. I'll also update this branch with the llb that includes a bugfix.

image

lisbet-alvarez avatar Apr 02 '24 21:04 lisbet-alvarez