feat(dashboard): project-only diagrams, create/remove from UI, fullscreen editor#523
Merged
Conversation
…reen editor - Remove system diagrams (agents, plugins) from grid — only project diagrams - New Diagram form: name + type + description, creates .mmd + .meta.json - Diagram cards with Edit, Download .mmd, Remove buttons - Fullscreen toggle on split editor (fixed position, full viewport) - POST /api/diagrams/:name accepts type and description for metadata - DELETE /api/diagrams/:name removes both .mmd and .meta.json
rlagowski
previously approved these changes
Apr 1, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the AutoPM dashboard’s Diagrams tab to focus on project-owned diagrams and adds common diagram lifecycle actions directly in the UI (create/download/remove) along with a fullscreen split editor mode.
Changes:
- Remove system-generated diagrams (agents/plugins/epic-flow) from the Diagrams grid, showing only project diagrams.
- Add “+ New Diagram” UI flow plus per-card actions (Edit / download
.mmd/ Remove). - Add a fullscreen toggle for the diagram editor and extend the diagrams API to persist metadata (
type,description) and support DELETE.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Remove role="button" from grid items (nested buttons inside) - Guard onkeydown to skip events from .card-actions buttons - Lower fullscreen z-index to 998 (below toast at 999) - Validate type/description as strings with max length on server - Remove duplicate toast in catch blocks (api() already toasts)
rlagowski
approved these changes
Apr 1, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
type/descriptionfor metadata, DELETE removes filesTest plan
npm testpasses (158/158)