json-joy
json-joy copied to clipboard
Minimap
- [ ] Minimap rendering
- [ ] Create a React component which can render the minimap anywhere.
- [ ] Render blocks as rectangles of various kinds according to their text content size.
- [ ] and/or, render heading blocks.
- [ ] and/or, render scaled down fragment.
- [ ] and/or, use ability to render content to image. https://github.com/streamich/json-joy/issues/760
- [ ] Minimap state
- [ ] Each minimap instance has its own state management.
- [ ] Scroll position.
- [ ] Viewport size.
- [ ] Each minimap instance has its own state management.
- [ ] Interaction
- [ ] Hover animation over blocks.
- [ ] Ability to click to scroll to postiion.
- [ ] Ability to scrub the minimap.