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

Add token component #7

Open
Syndesi opened this issue Sep 10, 2023 · 1 comment
Open

Add token component #7

Syndesi opened this issue Sep 10, 2023 · 1 comment
Milestone

Comments

@Syndesi
Copy link
Member

Syndesi commented Sep 10, 2023

Should be able to display tokens and associated meta data (creation, update, last used, ...).

The "active" icon is the key icon from the MDI library. The "expired" icon is a combination of the same and the circle-small icon. The dot is horizontally centered and touches the bottom line, the key is moved 2px to the top. The dot should help increase accessibility, as the colors red and green are not good enough differentiators alone.

Internal properties

Todo

Component details

Icon

Inline Text

Inline Pill

Thumbnail

It might be benefitial to display the token's owner as a pill in the lower right corner of the thumbnail. Likely configurable.

Card

Card might get redesigned at a later date.

"Name of the user" is a sub component; it displays the owner as an inline text.

Frameless

"Name of the user" is a sub component; it displays the owner as an inline text.

Sketch

Image

Icon

Image

@Syndesi Syndesi added this to the 0.1.0 milestone Sep 10, 2023
@Syndesi Syndesi moved this to Research in Frontend Feature Progress Sep 10, 2023
@Syndesi Syndesi moved this from Research to Todo in Frontend Feature Progress Sep 10, 2023
@Syndesi
Copy link
Member Author

Syndesi commented Sep 12, 2023

Maybe in the bigger views an "x" should be used instead of a big dot.

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

No branches or pull requests

1 participant