gosling.js icon indicating copy to clipboard operation
gosling.js copied to clipboard

[draft] feat: additional version of gosling component with a navigation header

Open sehilyi opened this issue 1 year ago • 0 comments

Fix # Toward #

Change List

  • Some decisions to make:
    • single header vs. multiple headers for individual views
    • Where to show the header?
    • How to enable intuitive navigation for selecting a track/view using a keyboard (e.g., circular tracks, nested navigation)
      • (1) Select by keyboard + enter, (2) click to select, and/or (3) rectangular selection using mouse click-and-drag
      • How to differentiate view and track selection?
      • e.g., single click for a view, like a 'group' in Keynote, and double click to select a track?:
Screenshot 2024-01-25 at 9 44 06 AM Screenshot 2024-01-25 at 9 44 09 AM

ToDo

  • Instead of <GoslingComponentWithHeader>, add <GoslingProvider> and <Header> and use them in <Editor/>
    • Refer to https://gist.github.com/manzt/836a20b85930cdc43d390ee14c3a25de, Thanks to @manzt !

Checklist

  • [ ] Ensure the PR works with all demos on the online editor
  • [ ] Unit tests added or updated
  • [ ] Examples added or updated
  • [ ] Documentation updated (e.g., added API functions)
  • [ ] Screenshots for visual changes (e.g., new encoding support or UI change on Editor)

sehilyi avatar Jan 18 '24 14:01 sehilyi