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

fix: Prevent empty titles for Areas to be saved #2562

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

Conversation

ajoensson
Copy link
Collaborator

Description

This PR updates areas with the default "Untitled area" title if a user tries to save an area with an empty title. Also provides a fallback presentation in case the area has previously been updated with an empty title.

Screenshots

Old behaviour: (it does not seem to be possible to even correct this mistake)
Screenshot 2025-02-15 at 14 42 34

Fixed behaviour:
Entering an empty string as title
Screenshot 2025-02-15 at 14 42 41

Falling back to "Untitled area"
Screenshot 2025-02-15 at 14 42 45

Changes

  • Submits the "Untitle area" title in case a user enters an empty title
  • Provides a fallback title presentation for areas with missing title

Notes to reviewer

Related issues

This was an untracked bug, as far as I could tell

Also provides a fallback presentation in case the area has previously been
updated with an empty title.
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