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 error message styling #153

Merged
merged 2 commits into from
Aug 21, 2023
Merged

Conversation

KevSlashNull
Copy link
Collaborator

This fixes the error message types (following #147) and improves their styling, so error messages stand out more and are visibly errors.

cc @xhayper

Screenshots

Theme Before After
Light image image
Dark image image

@vercel
Copy link

vercel bot commented Aug 21, 2023

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

Name Status Preview Updated (UTC)
bsky-furry-feed-admin ✅ Ready (Inspect) Visit Preview Aug 21, 2023 8:20am
1 Ignored Deployment
Name Status Preview Updated (UTC)
bsky-furry-feed-info ⬜️ Ignored (Inspect) Aug 21, 2023 8:20am

@xhayper
Copy link
Contributor

xhayper commented Aug 21, 2023

Looks great! don't forget about the main page where you have to login though.

app.vue

@KevSlashNull
Copy link
Collaborator Author

@xhayper good call! i’ll take that in a follow up, so i can make the login site a bit more beautiful by e.g. adding the logo and showing an error if you don’t have access.

Copy link
Owner

@strideynet strideynet left a comment

Choose a reason for hiding this comment

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

LGTM - As a seperate thing, I do think we should look into Tanstack Query again so we can make sure we're forced to handle errors where they happen.

@KevSlashNull KevSlashNull merged commit c624382 into main Aug 21, 2023
4 checks passed
@KevSlashNull KevSlashNull deleted the kevslashnull/admin-error-styling branch August 21, 2023 10:56
@KevSlashNull
Copy link
Collaborator Author

@strideynet, yeah for sure! Some errors are also still unhandled, like queue actions, which would be easier with TanStack Query. I’ve had it on my todo list for a while now but now there also is #154.

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

Successfully merging this pull request may close these issues.

3 participants