GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(notes): preserve selected note for ambiguous internal links by antonreshetov · Pull Request #957 · massCodeIO/massCode

Conversation

@antonreshetov

@antonreshetov antonreshetov commented Sep 26, 2026

Copy link
Copy Markdown
Member

Selecting a note in the internal-link picker could open a same-named code snippet because the inserted title-only link resolves to snippets first.

Use a typed note ID with a readable label when a note name collides with another entity type, including case-insensitive matches. Keep ordinary title and folder-path links for other selections.

Validation: 106 scoped tests passed; staged-file formatting and ESLint passed. UI QA confirmed distinct note/snippet targets and persistence after reopening and renderer reload. Native Cmd-click navigation was not exercised because the UI automation tool lacks modifier-click support; navigation handlers are covered by tests.

Closes #947

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@antonreshetov
fix(notes): preserve selected note for ambiguous internal links
4e42296
@antonreshetov antonreshetov self-assigned this Sep 26, 2026
@antonreshetov
antonreshetov merged commit 0534c9d into main Sep 26, 2026
@antonreshetov
antonreshetov deleted the fix/internal-link-target-947 branch September 26, 2026 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@antonreshetov antonreshetov

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[Bug]: internal link referencing code and not note

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@antonreshetov
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.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.