Skip to content

[WIP] Add ability to hide lookup IDs on link lines#78

Merged
allandecastro merged 6 commits into
mainfrom
copilot/add-hide-lookup-ids-control
May 25, 2026
Merged

[WIP] Add ability to hide lookup IDs on link lines#78
allandecastro merged 6 commits into
mainfrom
copilot/add-hide-lookup-ids-control

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 19, 2026

Summary

This PR adds a new setting to hide lookup IDs on relationship link labels and ensures the option is preserved across Draw.io export and shared URLs.

What changed

  • Added showRelationshipLookupIds support in src/types/erdTypes.ts
  • Added Draw.io export behavior to omit lookup IDs when disabled in src/utils/drawioExport.ts
  • Extended URL share state encoding/decoding in src/utils/urlStateCodec.ts
  • Restored the setting from shared URLs in src/App.tsx
  • Parsed the new checkbox setting correctly in src/types/erdTypes.ts
  • Updated the sidebar setting documentation in README.md
  • Added regression tests for Draw.io export and URL state handling

Verification

  • `npm run test:run -- src/utils/tests/urlStateCodec.test.ts src/utils/tests/drawioExport.test.ts`
  • Result: `110 passed`

Copilot AI linked an issue May 19, 2026 that may be closed by this pull request
2 tasks
@allandecastro allandecastro merged commit 3472d45 into main May 25, 2026
2 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.

[Feature]: Ability to hide lookup IDs on link lines

2 participants