Skip to content

Integrate location suggestions in context menu#658

Open
kobemertens wants to merge 13 commits into
masterfrom
feature/integrate-location-suggestions
Open

Integrate location suggestions in context menu#658
kobemertens wants to merge 13 commits into
masterfrom
feature/integrate-location-suggestions

Conversation

@kobemertens
Copy link
Copy Markdown
Collaborator

@kobemertens kobemertens commented Jun 2, 2026

Overview

Integrates the location suggestions described in https://www.figma.com/design/PbSOBtGdYHBArIjVMEIApP/GN_location-plugin?node-id=46-3621

connected issues and PRs:

https://binnenland.atlassian.net/browse/GN-6164
https://binnenland.atlassian.net/browse/GN-6003

Setup

Needs lblod/ember-rdfa-editor#1377

How to test/reproduce

Add some locations to the document. The contextual actions when clicking on a location should now also suggest other locations in the document. Clicking a suggestion should change the content of the highlighted location node and move the selection forward by one position.

Checks PR readiness

  • changelog
  • npm lint

@kobemertens
Copy link
Copy Markdown
Collaborator Author

Needs this editor PR in order to be able to sticky the "other elements" group to the bottom of the menu.
lblod/ember-rdfa-editor#1377

Copy link
Copy Markdown
Member

@abeforgit abeforgit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems like they're out of order here?
image

@abeforgit
Copy link
Copy Markdown
Member

note: if I add priority 1 to the location suggestions, the sticky group moves to the bottom, but it seems there isn't really a limit at the moment to how big the suggestion menu gets

@kobemertens
Copy link
Copy Markdown
Collaborator Author

it seems there isn't really a limit at the moment to how big the suggestion menu gets

Do you mean in terms of size (height in pixels) or in amount of actions? Because the latter was limited in this commit:
c052a24

@kobemertens
Copy link
Copy Markdown
Collaborator Author

seems like they're out of order here?

Should be fixed here:
114734b

The sticky actions will always be last, regardless of priority.

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.

2 participants