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

Layout problems with long error messages from modal form #4129

Open
seancolsen opened this issue Jan 14, 2025 · 0 comments
Open

Layout problems with long error messages from modal form #4129

seancolsen opened this issue Jan 14, 2025 · 0 comments
Labels
ready Ready for implementation restricted: maintainers Only maintainers can resolve this issue work: frontend Related to frontend code in the mathesar_ui directory
Milestone

Comments

@seancolsen
Copy link
Contributor

Steps to reproduce

  1. Set up a database with a table that uses a custom Mathesar PostgreSQL type such as Email.

  2. Try to disconnect the database and remove the mathesar_types schema.

  3. Observe this error. That's good.

    image

  4. But when the viewport gets short, things break down:

    image

Fixing this problem is tricky. I took a quick stab and came to the conclusion that we're going to need to be clever and handy to do this right. What exactly should happen here is not straightforward. Something needs to scroll or collapse, but what exactly? And how to fix it without breaking other things is also not trivial. Perhaps we need an altogether better way of displaying long error messages. I'm not sure.

@seancolsen seancolsen added ready Ready for implementation restricted: maintainers Only maintainers can resolve this issue type: bug work: frontend Related to frontend code in the mathesar_ui directory labels Jan 14, 2025
@seancolsen seancolsen added this to the Backlog milestone Jan 14, 2025
@kgodey kgodey removed the type: bug label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready Ready for implementation restricted: maintainers Only maintainers can resolve this issue work: frontend Related to frontend code in the mathesar_ui directory
Projects
None yet
Development

No branches or pull requests

2 participants