grafana/docs/sources
Drew Slobodnjak 2502fe4d19
Canvas: Add Pan and Zoom (#76705)
* Canvas: Add Zoom

* Scale selecto components based on zoom state

* Fix pan by reverting to 3.1.0 for zoom-pan

* Update to latest library that fixes pan regression

* Add mini map to canvas pan zoom

* Fix selecto and anchors on hover

* Update naming to be more clear

* Switch back to contentComponent

* Apply transformScale to drag and resize

* Update connection source and target scaling

* Add option to display mini map

* Update yarn lock

* Revert "Update yarn lock"

This reverts commit 3d1dd65d57.

* Set yarn lock to main

* Revert "Set yarn lock to main"

This reverts commit 64bc50557e.

* Update to Yarn 4

* Add react-zoom-pan-pinch

* Update react-zoom-pan checksum

* Revert changes to json files

* Remove last line of api merged

* Remove last lines of all impacted jsons

* Update home json

* Update coordinate calc function to include scale

* Fix types in coordinate calc function

* Fix util calculation for transform

* Fix arrow anchor shift behavior

* Fix scale offset when adding elements during zoom

* Fix drag of selected group during zoom

* Add feature flag for canvas pan zoom

* Revert "Add feature flag for canvas pan zoom"

This reverts commit b026e31d8d.

* Regenerate feature flag after merge

* Apply feature flag to enable pan zoom wrappers

* Add mini map toggle behind feature flag

* Simplify minimap behavior

* Update feature flag registry

* Set minimap to false by default

* fix gen-cue

* Set toggles gen to main

Add blank line to toggle gen csv

* Add canvas pan zoom to csv

* Remove old comment

* Change ref parameter to be more descriptive

* Rename visibleFun to be more descriptive

* Consolidate transformScale transformRef in util

* Remove non-null assertion on connection parentRect

* Consolidate parentRect null coalescing into object

* Remove minimap and change toggle

* Add controls inline help for pan and zoom

* Clean up mouse events

* Pull scale out of ref and isolate transform

* Remove transform ref from scene div

* Fix context menu visible behavior

* Fix connections and update util functions

* Move transform component instance to util

* fix backend test

* minor updates

* Clean up connections / fix minor bug where offset of arrow wasn't being calculated correctly

* missed connection code cleanup

* cleanup scene code a bit more

* actually fix backend test

* move eslint disable line closer to actual issue

---------

Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2024-01-02 11:52:21 -08:00
..
administration Docs: style and wording fixes (#79711) 2023-12-19 12:54:00 -05:00
alerting Update _index.md (#79237) 2023-12-27 09:21:55 +00:00
breaking-changes Docs: add/update frontmatter descriptions for What's new, upgrade guide, breaking changes pages (#79425) 2023-12-14 14:14:03 -05:00
dashboards PublicDashboards: Add setting to disable the feature (#78894) 2023-12-19 11:43:54 +01:00
datasources Docs: Add InfluxDB SQL query language docs (#79591) 2023-12-19 13:27:16 +01:00
developers Canvas: Add Pan and Zoom (#76705) 2024-01-02 11:52:21 -08:00
explore Log Context: Add cacheFilters property (#79784) 2023-12-21 17:02:29 +01:00
fundamentals Docs: Remove old plugin docs, fix URLs to go to new dev portal (#75325) 2023-09-29 07:43:48 +01:00
getting-started Docs: add dashgpt information (#77177) 2023-10-27 13:55:52 -04:00
introduction Docs: Update list of open source projects (#79432) 2023-12-13 09:49:12 -05:00
old-alerting Update all use of docs/shared in Grafana to use keyword arguments (#74167) 2023-08-31 11:00:04 +01:00
panels-visualizations Units: Add scalable unit option (#79411) 2024-01-02 18:40:57 +01:00
release-notes Fix developer links and newly discovered spelling errors (#75875) 2023-10-03 13:49:27 +01:00
search Explicitly set all front matter labels in the source files (#71548) 2023-07-18 09:10:12 +01:00
setup-grafana Canvas: Add Pan and Zoom (#76705) 2024-01-02 11:52:21 -08:00
shared Docs: add missing alt text (1/3) (#79274) 2023-12-08 11:24:35 -05:00
troubleshooting Docs: fix broken links (#71911) 2023-07-20 12:39:59 -04:00
tutorials grafana fundamentals: update (#78292) 2023-12-26 11:10:26 +02:00
upgrade-guide Docs: add/update frontmatter descriptions for What's new, upgrade guide, breaking changes pages (#79425) 2023-12-14 14:14:03 -05:00
whatsnew Docs: add/update frontmatter descriptions for What's new, upgrade guide, breaking changes pages (#79425) 2023-12-14 14:14:03 -05:00
_index.md Set TEMPO_VERSION as "latest" across all pages (#78822) 2023-11-29 15:55:28 +00:00
cli.md Explicitly set all front matter labels in the source files (#71548) 2023-07-18 09:10:12 +01:00
menu.yaml Docs: library panel (#35272) 2021-06-04 20:13:56 +02:00