Skip to content

Add more instructions for creating dashboards #60

Closed

Description

@Mossop

Every time I'm in a new Claude session and want to add something to a dashboard it has to learn all over again how to add new widgets. It normally tries without an id, fails, then with id: null, fails, then it runs python and or ruby to validate the yaml (because apparently the server responds with "invalid yaml"), then it finally figures out that you have to set id: 0 for new widgets.

Activity

  1. Mossop commented on Oct 7, 2026

    @Mossop
    MemberAuthor

    An alternative, if we have a schema for these yaml files maybe stmo-cli should validate them before submission and give better instructions to Claude on what to fix.

  2. JohanLorenzo commented on Oct 9, 2026

    @JohanLorenzo
    Collaborator

    Hey @Mossop! Thank you for sharing this pain point. stmo-cli already validates schemas and already rejects id: null or missing id. However, it just raises a generic error. #70 improves this by adding

    widgets[0].id: missing or null id (use \id: 0` for a new widget).
    

    to the error message. The implementation is not the most generic but it should fix the immediate problem.

  3. JohanLorenzo commented on Oct 12, 2026

    @JohanLorenzo
    Collaborator

    Released as 0.12.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions