Skip to content

Editing AML source can disrupt table layout #345

@hgylfason

Description

@hgylfason

Problem

When editing the AML source in Azimutt, the positions of tables in the active layout can shift unexpectedly—especially if a table name is changed or briefly removed.

We store our AML files in a repository to track schema versions. When we want to view the schema in Azimutt, we copy the file contents from our repo into Azimutt’s source editor. Usually, if we simply overwrite the existing text, the layout remains unchanged. However, once I removed all text before pasting the new content, and that action caused the layout to break, losing every table’s position.

Expected Behavior

Ideally, editing the AML source should not risk disrupting the existing layout. One possible solution is to treat source changes as drafts until explicitly confirmed with a button press, allowing us to discard accidental changes and preserve our layout. Of course, this is just a suggestion—there may be technical constraints that make it impractical, but I wanted to put the idea out there.

Edit: It didn't occur to me that by refreshing the browser the layout is restored to the last save point. That is definitely helpful in some cases.

Final Note

Despite this issue, I just want to say that Azimutt is an incredibly useful tool. It has made visualizing and understanding our schema so much easier, and we really appreciate all the effort that has gone into it. Thanks for building such a great product! 🚀

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions