Skip to content

Unsaved changes warning shown for documents with white space in the title #15

@thebiglabasky

Description

@thebiglabasky

Describe the bug
metaboat.slack.com/archives/C0641E4PB9B/p1759750615270679

To Reproduce
Create a document with a whitespace at the end of its title
Save it
Try to close tab
❌ unsaved changes warning is shown

Information about your Metabase installation
master, metabase/metabase@573b3c6

Severity
P3

Proposed fix
Either (or both):

do not use trim() when comparing changes
trim whitespace from document title on save

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions