Skip to content

Merge latest dev changes into main#29

Merged
DanteCpp merged 5 commits into
mainfrom
dev
Jun 11, 2026
Merged

Merge latest dev changes into main#29
DanteCpp merged 5 commits into
mainfrom
dev

Conversation

@DanteCpp

@DanteCpp DanteCpp commented Jun 11, 2026

Copy link
Copy Markdown
Owner

Summary

This PR brings the remaining latest dev branch changes into main so main can be the integration branch going forward.

Included changes:

  • Add Community Libraries to the Help menu and point it to the FidoCadJ libraries location.
  • Add interactive clipboard paste placement with a ghost preview.
  • Make Escape abort paste placement instead of committing it.
  • Add Copy all as primitives support in the Edit menu.
  • Add regression coverage for paste placement and primitive-copy behavior.

Validation

  • npm run verify
    • tsc --noEmit
    • vitest run: 46 test files passed, 688 tests passed

Notes

Local-only files were not included in this PR: ignored AGENTS.md and untracked MINIMAL-FIDOSPECS.md.

Remote comparison reports dev is 5 commits ahead of main and 6 commits behind main; GitHub may require updating the branch before merge depending on repository settings.

DanteCpp added 5 commits June 4, 2026 09:25
Opens the FidoCadJ community libraries repository (DarwinNE/FCDlib)
in a new tab. Adds the CommunityLibraries_menu string across all
locales.
Use the correct community libraries location
(FidoCadJ/FidoCadJ gh-pages/libs).
Pasting (Ctrl+V / menu Paste) now arms a placement mode: a green ghost of
the clipboard content follows the cursor and a left click drops it where
the user wants. Esc/Enter drop it at the current cursor; right click cancels.

Duplicate (Ctrl+D) keeps the immediate fixed-offset behavior. The commit
reuses the existing addString + moveAllSelected paste path so undo still
reverts the whole paste in one step.
Enter still drops the pasted content at the current cursor; Escape now
cancels the paste outright (matching the right-click cancel).
Copies the entire drawing to the clipboard with every macro recursively
flattened into its constituent primitives, without modifying the drawing.

MacroVectorizer gains a reusable static expandMacro() helper (shared with
the existing single-macro vectorize) and a non-destructive
vectorizeAllToString() that flattens a scratch copy of the drawing.
ClipboardController.copyText() exposes clipboard writes for callers that
build their own payload.
@DanteCpp DanteCpp changed the title Integrate dev branch changes into main Merge latest dev changes into main Jun 11, 2026
@DanteCpp
DanteCpp marked this pull request as ready for review June 11, 2026 17:33
@DanteCpp
DanteCpp merged commit f491330 into main Jun 11, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant