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

EES-5824 handle alt text length error when saving data blocks #5604

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

amyb-hiveit
Copy link
Collaborator

Currently editing data blocks that were created before the alt text character limit was added (#5497) can result in an unhandled error when the original alt text was longer than the new limit.

I've improved this by showing an error and telling users to check the Chart configuration:
Screenshot 2025-02-13 173030

As part of this I've removed the loading spinner that would show for at least 500ms after the form was submitted as I couldn't find a way to remove it when the form errors. This hopefully won't cause any problems as we have double-submit protection on forms now and don't seem to have performance issues creating / updating data blocks. If this is a problem we may need to reconsider how to handle this error.

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.

1 participant