-
Notifications
You must be signed in to change notification settings - Fork 209
Chore: Add key status indicator & responsive adjustments in mobile layout #251
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
Conversation
@buneeIsSlo is attempting to deploy a commit to the zola Team on Vercel. A member of the Team first needs to authorize it. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
selectedProvider === provider.id | ||
? "border-primary ring-primary/30 ring-2" | ||
: "border-border" | ||
)} | ||
> | ||
{userKeyStatus[provider.id] && ( | ||
<span className="absolute top-1 right-1 rounded-sm bg-green-200 p-1"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you use something differents than green
?
maybe a variable from global.css
so it looks nice in dark mode too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ibelick Got it. I used the secondary colors, and this is the best I could do:
Let me know if you need me to make any further changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ibelick Hi, sorry I hadn't committed the changes yet. What do I do now 😭
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@buneeIsSlo can you reopen a PR with the colors updated please?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ibelick on it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Outline
Quick quality-of-life update: A key icon now appears on provider model tiles when a model has a saved key.
This provides a quick visual cue. Let me know if you'd like me to change anything.
Screenshot of key status:
Also, improved the responsiveness of these tiles in mobile layout
Preview before changes:
responsive_before.mp4
Preview after changes:
responsive_after.mp4