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: VAULT-6511 PKI Overview Page #18599

Merged
merged 20 commits into from
Jan 17, 2023
Merged

ui: VAULT-6511 PKI Overview Page #18599

merged 20 commits into from
Jan 17, 2023

Conversation

kiannaquach
Copy link
Contributor

@kiannaquach kiannaquach commented Jan 5, 2023

Description:

  • Moved over InputSearch from main app to core/addon
  • Created OverviewCard which is similar to the SelectableCard from the main app
  • Created pki overview page layout
  • Added acceptance test for pki overview

Overview Page (All capabilities enabled):
Screen Shot 2023-01-11 at 4 04 20 PM
All capabilities enabled configuration Demo:
chrome-capture-2023-0-11

Overview Page (Issuers capability enabled):
Screen Shot 2023-01-11 at 4 04 02 PM
Issuers capability enabled configuration Demo:
chrome-capture-2023-0-11 (1)

@kiannaquach kiannaquach marked this pull request as ready for review January 12, 2023 04:24
@kiannaquach kiannaquach changed the title VAULT-6511: PKI Overview Page ui: VAULT-6511 PKI Overview Page Jan 12, 2023
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.

Wow!! Nice work on this 🥇 This overview page is a LOT of work! Made some comments and suggestions. Happy to pair on anything. Ping me if you need clarification on anything 😃

ui/lib/core/addon/components/selectable-card-form.hbs Outdated Show resolved Hide resolved
ui/lib/core/addon/components/selectable-card-form.js Outdated Show resolved Hide resolved
ui/lib/core/addon/components/selectable-card-form.js Outdated Show resolved Hide resolved
ui/lib/core/addon/components/selectable-card-form.js Outdated Show resolved Hide resolved
ui/lib/pki/addon/routes/overview.js Outdated Show resolved Hide resolved
ui/lib/pki/addon/templates/overview.hbs Outdated Show resolved Hide resolved
ui/lib/pki/addon/routes/overview.js Outdated Show resolved Hide resolved
ui/lib/pki/addon/templates/overview.hbs Outdated Show resolved Hide resolved
ui/lib/pki/addon/templates/overview.hbs Outdated Show resolved Hide resolved
ui/lib/core/addon/components/selectable-card-form.hbs Outdated Show resolved Hide resolved
Copy link
Collaborator

@hashishaw hashishaw left a comment

Choose a reason for hiding this comment

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

Great work overall! The only thing that should be addressed before merge is the selectable-card

ui/lib/core/addon/components/selectable-card.hbs Outdated Show resolved Hide resolved
ui/lib/core/addon/components/selectable-card.hbs Outdated Show resolved Hide resolved
ui/lib/pki/addon/routes/overview.js Show resolved Hide resolved
@kiannaquach
Copy link
Contributor Author

I think I have the right refactor this time 😅🤞🏼 If you want to take another look at my PR that would be amazing! Thanks @chelshaw and @hellobontempo for bearing with me!!

Copy link
Collaborator

@hashishaw hashishaw left a comment

Choose a reason for hiding this comment

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

🤩 Great work on this! Just a couple small comments, and then this should be good to go!

ui/lib/core/addon/components/overview-card.hbs Outdated Show resolved Hide resolved
ui/lib/core/addon/components/overview-card.hbs Outdated Show resolved Hide resolved
ui/lib/pki/addon/routes/overview.js Outdated Show resolved Hide resolved
Copy link
Collaborator

@hashishaw hashishaw left a comment

Choose a reason for hiding this comment

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

beautiful, thank you!

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 work on this! 😄

@kiannaquach kiannaquach merged commit 11f6aad into main Jan 17, 2023
@kiannaquach kiannaquach deleted the ui/VAULT-6511/pki-overview branch January 17, 2023 21:30
dhuckins pushed a commit that referenced this pull request Jan 19, 2023
* Inital pki overview page code setup

* Add more properties to pki-overview

* Remove previous selectable card component and update template

* Add capability check for roles and issuers

* Add acceptance tests for overview page

* Update SelectableCardForm component

* Code refactor!

* Add selectable-card-form test

* More code cleanup and move function to test helper file

* Address most feedback. Pending refactor of issue certificate card!

* Add integration test

* Moves form to SelectableCard and add tests

* Add jsdoc props to SelectableCard and fix placeholder

* Move back SelectableCard

* Covert to typescript and finish up tests

* Dont use try catch for hasConfig

* Add overview card test

* More overview card tests

* Address feedback!
dhuckins pushed a commit that referenced this pull request Jan 19, 2023
* Inital pki overview page code setup

* Add more properties to pki-overview

* Remove previous selectable card component and update template

* Add capability check for roles and issuers

* Add acceptance tests for overview page

* Update SelectableCardForm component

* Code refactor!

* Add selectable-card-form test

* More code cleanup and move function to test helper file

* Address most feedback. Pending refactor of issue certificate card!

* Add integration test

* Moves form to SelectableCard and add tests

* Add jsdoc props to SelectableCard and fix placeholder

* Move back SelectableCard

* Covert to typescript and finish up tests

* Dont use try catch for hasConfig

* Add overview card test

* More overview card tests

* Address feedback!
jayant07-yb pushed a commit to jayant07-yb/hashicorp-vault-integrations that referenced this pull request Mar 15, 2023
* Inital pki overview page code setup

* Add more properties to pki-overview

* Remove previous selectable card component and update template

* Add capability check for roles and issuers

* Add acceptance tests for overview page

* Update SelectableCardForm component

* Code refactor!

* Add selectable-card-form test

* More code cleanup and move function to test helper file

* Address most feedback. Pending refactor of issue certificate card!

* Add integration test

* Moves form to SelectableCard and add tests

* Add jsdoc props to SelectableCard and fix placeholder

* Move back SelectableCard

* Covert to typescript and finish up tests

* Dont use try catch for hasConfig

* Add overview card test

* More overview card tests

* Address feedback!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants