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

Bug: Creating category that already exists ends in blank screen #1595

Open
ahatzz11 opened this issue Jan 6, 2025 · 0 comments
Open

Bug: Creating category that already exists ends in blank screen #1595

ahatzz11 opened this issue Jan 6, 2025 · 0 comments
Labels
🐛 Bug Something isn't working

Comments

@ahatzz11
Copy link
Contributor

ahatzz11 commented Jan 6, 2025

Describe the bug
When making a category with a name that already exists the app doesn't tell you the error until after you make it, and then leaves you on a completely blank page which requires a manual refresh. This should probably be handled and displayed to the user in a nicer way - perhaps validation before hitting "Create Category". There's also no error if you try to re-make the failed category resulting in the blank screen again.

Note: This is basically a duplicate of #1576 which was sort of fixed in #1577, but I think there's still lots of room for improvement.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Categories
  2. Create new category with existing name
  3. Page reloads and gives you error with blank page behind it.
  4. There are three options now:
    a. Happy path - new category name
    b. Click the X to close the modal, but you are now left on the blank page
    c. Click "Create category" again, nothing happens and you're left on the same blank page

Expected behavior
Ideally there would be input validation once you are done typing to show if it's a valid category name or not. If this isn't possible, then I'd expect a few things:

  1. Not to be left on a completely blank screen
  2. Re-clicking "Create category" should once again result in the same error instead of being put on a blank screen

What version of Maybe are you using?
Hosted

What operating system and browser are you using?
MacOS, Chrome

Screenshots / Recordings
image
CleanShot-001049 2025-01-05 at 20 39 00@2x

CleanShot-001048.2025-01-05.at.20.36.59.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant