<feed xmlns='http://www.w3.org/2005/Atom'>
<title>design-it/source/app/app_ui.cpp, branch v0.3.0</title>
<subtitle>handmade, ultra-fast software architecture &amp; UML diagram maker for Wayland (Vulkan SDF renderer, vim motions, hot reload)</subtitle>
<id>https://git.nsrddyn.com/design-it/atom/source/app/app_ui.cpp?h=v0.3.0</id>
<link rel='self' href='https://git.nsrddyn.com/design-it/atom/source/app/app_ui.cpp?h=v0.3.0'/>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/design-it/'/>
<updated>2026-11-28T12:24:05Z</updated>
<entry>
<title>ux: safe quit + recovery, line editing, direct manipulation, wheel scrolls, tighter ports</title>
<updated>2026-11-28T12:24:05Z</updated>
<author>
<name>nasr</name>
<email>nsrddyn@gmail.com</email>
</author>
<published>2026-11-28T12:24:05Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/design-it/commit/?id=7c1077a10ae0ec1df33e176192f62deed8d8c72b'/>
<id>urn:sha1:7c1077a10ae0ec1df33e176192f62deed8d8c72b</id>
<content type='text'>
session
- status line and window title show the file, [+] while unsaved (PlatformWindowSetTitle on all backends)
- :q / q refuse with unsaved edits; :q!, :w, :wq / :x, Ctrl+S
- closing with unsaved edits keeps recovery.dit.txt, :recover brings it back
- a plain start reopens the last file
- :messages history; undo / redo say what changed (diffed from the snapshot)

editing
- command bar / search / inline edits get a cursor: arrows, words, home/end, del, ctrl+w/u/a/e
- double click empty canvas adds a node; empty diagram shows how to start
- context hints in the status line
- arrows move the selection (alt: one unit, taps undo as one step), HJKL move the selection
- ctrl+a select all, ctrl+d duplicate with edges
- drag a selected edge's end onto another node to reconnect it; hovered edges thicken

canvas motion
- wheel / two finger swipe scrolls (vertical vertically, sideways or shift horizontally)
- ctrl+wheel and touchpad pinch (wayland pointer-gestures) zoom at the cursor; :set wheel zooms=on for the old way
- port dots only take a press on the visible dot (not deep inside the node, not zoomed out),
  and show when the mouse is next to a node

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>canvas: drag threshold, snapping guides, shift+marquee adds; :e/:e!/:revert and auto revert</title>
<updated>2026-11-28T11:26:01Z</updated>
<author>
<name>nasr</name>
<email>nsrddyn@gmail.com</email>
</author>
<published>2026-11-28T11:26:01Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/design-it/commit/?id=b1fbdcf2df34d5fcc683ad574b79f0e2027652e8'/>
<id>urn:sha1:b1fbdcf2df34d5fcc683ad574b79f0e2027652e8</id>
<content type='text'>
- node drags start past 4px, a click never nudges, snaps or leaves an undo step
- a click into a multi selection narrows it on release
- smart guides snap left/center/right (alt drags freely), grid snap keeps guided axes
- shift+marquee adds to the selection, shift+click toggles edges
- resize keeps the handle offset and snaps to the grid
- command bar clips and scrolls long input
- :e / :e! / :revert reload the open file (undoable, camera stays)
- auto revert: a clean diagram follows the file on disk (:set auto revert=false)

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>docs, source links, copy/paste, png export, mermaid/plantuml, sequence diagrams, bends</title>
<updated>2026-11-28T00:07:59Z</updated>
<author>
<name>nasr</name>
<email>nsrddyn@gmail.com</email>
</author>
<published>2026-11-28T00:07:59Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/design-it/commit/?id=2c452c37a6b2a28fd5243b82554d8f0b5502d585'/>
<id>urn:sha1:2c452c37a6b2a28fd5243b82554d8f0b5502d585</id>
<content type='text'>
- documentation on nodes, edges and the diagram: multi-line doc editor (:doc,
  inspector, card, header mark), docs view, doc """ blocks in .dit.txt, docs in
  search, svg hover text
- source links: link="path:line" per node, repo/ref/root on the diagram,
  gx opens online (github/gitlab/gitea/bitbucket/templates), gf opens the file
  (DESIGN_IT_EDITOR for the line), :repo detect reads .git, the scanner links
  every type to its file:line
- copy / paste: yy p P x, Ctrl+C/V/X, dd yanks; the clipboard is .dit.txt text,
  system clipboard on wayland, x11, windows and macos; pasting mermaid or
  plantuml converts it
- png export: :export x.png [scale], any size in window sized tiles, own png
  encoder; --export=&lt;file&gt; for headless svg/mmd/md/puml/dit exports
- mermaid (class, flowchart, sequence, state, er) and plantuml (class style,
  sequence) import via :open / :import / paste, export via :export
- sequence diagrams: lifeline and actor nodes, -&gt;&gt; / --&gt;&gt; messages, drag along
  a lifeline to add, drag a message to reorder, :seq, :tpl sequence
- edge bends: drag segment dots to add, squares to move, double click to
  remove, orthogonal routing through bends, via= in .dit.txt, :straighten
- .dit binary v2 (v1 still loads), escaped strings in .dit.txt
</content>
</entry>
<entry>
<title>floating inspector: the inspector as a card next to the selection</title>
<updated>2026-11-27T22:14:18Z</updated>
<author>
<name>nasr</name>
<email>nsrddyn@gmail.com</email>
</author>
<published>2026-11-27T22:14:18Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/design-it/commit/?id=96d3b8e10f5055954569d1fc26a8e4dc9758562b'/>
<id>urn:sha1:96d3b8e10f5055954569d1fc26a8e4dc9758562b</id>
<content type='text'>
a small card anchored beside the selected node (or an edge's label) on the
canvas, so editing doesn't send the eyes and the keyboard focus to the other
side of the window. it reuses the Inspector's rows, cells, activate and
adjust, minus the panel only fields (border, geometry, collapsed, pinned,
ports), and edits inline in the row.

- mouse: one click edits a value, &lt; &gt; step a choice, + on a section adds a
  member, x on a member deletes it, the corner x closes it until the node is
  clicked again, clicking elsewhere keeps the typed text
- keys: enter on the canvas steps in (i still renames), j/k h/l enter a/A
  dd, esc / tab back, I toggles; setting "floating inspector"
- hides only once a drag really moves, and is placed again after the
  canvas handled input: the app redraws on input only, so a decision taken
  before the release stuck until the next mouse move
- no allocations, rows on the scratch arena

canvas fixes found while testing it:
- a click on a port without dragging made a self loop
- a port press now selects its node like a normal click
</content>
</entry>
<entry>
<title>checkpoint: ports</title>
<updated>2026-11-27T19:31:35Z</updated>
<author>
<name>nasr</name>
<email>nsrddyn@gmail.com</email>
</author>
<published>2026-11-27T19:03:52Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/design-it/commit/?id=4851ef1a55e277d856e2081ced50d882d397723c'/>
<id>urn:sha1:4851ef1a55e277d856e2081ced50d882d397723c</id>
<content type='text'>
final work
</content>
</entry>
<entry>
<title>initial commit</title>
<updated>2026-11-27T19:31:35Z</updated>
<author>
<name>nasr</name>
<email>nsrddyn@gmail.com</email>
</author>
<published>2026-11-27T17:17:07Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/design-it/commit/?id=0a00bbf7bb37c3e831fca50d73c870ba0b387b27'/>
<id>urn:sha1:0a00bbf7bb37c3e831fca50d73c870ba0b387b27</id>
<content type='text'>
</content>
</entry>
</feed>
