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

Revisit styling of the Gateway list items and create a reusable component #1182

Open
timng-bcgov opened this issue Sep 20, 2024 · 1 comment
Labels
jira ux User experience

Comments

@timng-bcgov
Copy link

I have two observations on the styling of the list items.

  1. I'm wondering if we're able to style the Gateway display name with an underline based on the state of the parent to better match the styling of cards in the Gateways manager:

Current:
image

Comparison (expected from Gateway details):
image

Quick mockup to illustrate:
image

  1. Should we think about focus states for the list items? They seem to be absent on a few links throughout the Services portal. Is it possible to use a Chakra Link component (which composes <Box /> and has the desired focus state) instead of a <Flex /> with an onClick event? Might be worth discussing the composition here if we are planning on making a reusable component.

Originally posted by @timng-bcgov in #1179 (review)

@timng-bcgov timng-bcgov added jira ux User experience labels Sep 20, 2024
@timng-bcgov
Copy link
Author

Some more examples of expected styling from the Portal:

Actions:
image

Buttons:
image

Directory cards:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jira ux User experience
Projects
None yet
Development

No branches or pull requests

1 participant