0.4.0: grafli diagnose + live-reload, minimap, launch fixes#40
Open
MisterGC wants to merge 17 commits into
Open
0.4.0: grafli diagnose + live-reload, minimap, launch fixes#40MisterGC wants to merge 17 commits into
MisterGC wants to merge 17 commits into
Conversation
External edits (e.g. AI-driven Write/Edit on a .grafli file) were silently discarded for box positions because _on_file_changed unconditionally restored the in-memory positions over the new disk ones. Notes/images/arrows worked fine — only boxes had this override, intended to preserve in-app drags. Now we 3-way merge: in-memory position survives only when the disk position itself didn't change.
…to-keep-gra Quantize coordinates on save (#20)
Skill: install/check/uninstall subcommands (#37)
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.
First batch of changes targeting 0.4.0: a new
grafli diagnosestatic-layout checker plus a few unrelated reliability fixes uncovered while testing it.grafli diagnose <file>subcommand with checks for child-outside-parent, sibling overlap (incl. notes via real Qt font metrics), cramped containers, label-truncated heuristic, and missing@path/ image refs. Human-readable output by default,--jsonfor agents. SKILL.md gains a step 10 with "one fix-pass, then stop" guidance so agents don't loop on heuristic findings._on_file_changed. Replaced with a 3-way merge — in-app drags survive only when the disk position itself didn't change..graflistyle) painted on top of the children, hiding them. Now ordered by parent-chain depth.~width=N.Test plan
grafli diagnose examples/showcase.grafliruns cleanly.grafliexternally with grafli open → box positions update live