unisonweb/ui-core

Add a “jump-to” modal for quick navigation with many opened definitions

hojberg opened this issue · 3 comments

If the user has a many open definitions we can remidy that by allowing a modal that appears on a specific keyboard shortcut that shows all the open definitions in a compact form allowing for quicker scroll and overview of them as well as selecting one directly from the modal to update the main content area.

An alternative to this could be a “mini-map” like feature that would show on the right hand side.

The mini-map approach has been explored in the design space and seems quite promising and very easy to implement:

Map

@hojberg
I'm thinking about working on this issue. Does this Minimap view component already exist in the codebase?

Nice. No, this would be a new module (or perhaps be collocated within another) in the Code section I think. It can use the WorkspaceItems type to get the current open items.