60 Commits

Author SHA1 Message Date
186cd96447 Canvas: Fix exit panel edit mode issue (#69315)
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2023-06-01 01:31:10 +03:00
f49b9b89cf chore: high level restructure of canvas panel files (#69004) 2023-05-24 18:32:36 +02:00
854d497f94 Schema: Fix dimension schemas (#67935) 2023-05-05 12:16:31 -07:00
12e5101b91 Canvas: Connection properties based on data (#64360)
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2023-04-25 10:31:45 -07:00
21ede347cb Canvas: Remove deleted connections from source (#65321) 2023-03-27 19:51:56 +03:00
58c9618160 Canvas: Update connection info on element rename (#62532) 2023-01-30 22:36:57 -06:00
a92c081a33 Canvas: Connections positioning ux improvements (#62516) 2023-01-30 15:50:10 -06:00
6c9174a766 Canvas: Fix connection anchors for svg elements (#61895) 2023-01-25 16:32:04 -08:00
cef15873d6 Canvas: Add tooltip for data links (#61648) 2023-01-20 16:26:51 +00:00
b1a24232e4 Canvas: Add support for basic arrows (#57561)
Co-authored-by: Ryan McKinley <ryan.mckinley@grafana.com>
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
Co-authored-by: Drew Slobodnjak <drew.slobodnjak@grafana.com>
2023-01-13 02:38:00 +00:00
a2bd85963c Canvas: Update element(s) selection after action (#61204) 2023-01-10 09:26:53 -06:00
88a8cba6b0 Canvas: Save element placement (#61007) 2023-01-04 18:29:01 -05:00
fd6edbf8c5 Canvas: Improve disabled inline editing UX (#58610) 2022-11-10 13:04:42 -08:00
9c7b6b1ce8 Canvas: Extend root context menu (#58097) 2022-11-03 17:30:12 +00:00
ff7225745a Canvas: Add metric value element type (#55205) 2022-09-22 10:21:45 -07:00
89d94eeab2 Canvas: Refine element duplication (#55050) 2022-09-12 14:33:08 -05:00
37a0207463 Canvas: Phantom mouse down fix (#54673) 2022-09-02 12:58:49 -07:00
acbbdccba9 Canvas: Fix minor duplication bug #54462 2022-08-30 08:27:00 -07:00
6c58ea66a9 Canvas: Fix inconsistent border behavior (#53262) 2022-08-03 16:23:08 -05:00
5797fbc0b2 Canvas: Cleanup default elements (#52958) 2022-08-01 15:34:05 -05:00
7b249d19b2 Canvas: Inline element settings (#52771) 2022-08-01 12:22:13 -05:00
e2044cde13 Canvas: Enable ability to instantly select and drag an element (#52861)
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2022-07-28 16:55:31 -07:00
bf8bb26f63 Canvas: Set element cursor to grab (#52503)
* Only display grab cursor when editing enabled

* Apply grabbing cursor while dragging an element
2022-07-21 13:17:25 -07:00
813f18b990 Canvas: Fix selecto box offset placement #52489 2022-07-20 04:28:02 -07:00
57249aa408 Canvas: Overlapping elements bugfix (#52343) 2022-07-15 17:03:03 -05:00
074bcf8599 Canvas: Avoid refreshing elements while dragging (#52120) 2022-07-13 11:44:43 -04:00
48e757ff87 Canvas: Show constraints on element drag #52074 2022-07-12 07:22:16 -07:00
c73d78eaac Canvas: Tree View Navigation (#51855)
* tree navigation using rc-tree library
2022-07-12 08:31:02 -05:00
dec3c3a5b1 Canvas: Position inline editor default via panel dimensions and add context menu option (#51471)
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2022-07-07 19:16:22 -04:00
66c911f263 Canvas: Stop selecto box from triggering when programmatically selecting elements (#51579)
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-06-29 13:19:48 -04:00
5d9ffe54ee Canvas: Enable multi-select via shift key 2022-06-29 10:00:58 -07:00
5d74701848 Canvas: Address center constraint on drag glitch (#51270) 2022-06-22 20:30:24 -07:00
097583e952 Canvas: Fix element placement UX (#49665) 2022-05-26 09:50:35 -07:00
2449f62dbe Canvas: Improve changing element options UX (#49555) 2022-05-25 10:21:51 -07:00
bb4a834ee3 Canvas: Fix resize breaking certain constraints (#49551) 2022-05-24 20:19:08 -07:00
5eb20739c2 Canvas: Fix inconsistent element resizing UX (#49450) 2022-05-23 20:13:58 -07:00
b3b650be1f Canvas: Context menu (#48909)
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2022-05-20 12:30:29 -07:00
646dcfccf9 Canvas: Implement minimum element size + center constraint UX (#49294) 2022-05-20 00:04:34 -07:00
35ea67c210 47853 canvas constraint visualizations (#49206)
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2022-05-18 18:49:57 -07:00
5df91bdcf1 Canvas: Inline edit (#48222)
Canvas inline edit panel

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-05-04 14:15:07 -05:00
ff38f24044 Canvas: Refactor group to frame (#48671) 2022-05-03 22:58:00 -07:00
66d7105b34 Canvas: Group constraint support (#48563) 2022-05-03 19:51:01 -07:00
86971b1b30 Fix layer action / constraint change adhering to inline editing state (#48390) 2022-04-27 21:09:27 -07:00
fb25cf11e7 Address crash by properly updating currentLayer and refreshing selection to force update instance state (#48373) 2022-04-27 13:33:07 -07:00
2b2f275a08 Canvas: Support scale + center constraints (#48085) 2022-04-22 14:02:36 -07:00
3c6e0e8ef8 Chore: ESlint import order (#44959)
* Add and configure eslint-plugin-import

* Fix the lint:ts npm command

* Autofix + prettier all the files

* Manually fix remaining files

* Move jquery code in jest-setup to external file to safely reorder imports

* Resolve issue caused by circular dependencies within Prometheus

* Update .betterer.results

* Fix missing // @ts-ignore

* ignore iconBundle.ts

* Fix missing // @ts-ignore
2022-04-22 14:33:13 +01:00
d442608eb9 Canvas: Implement new constraint system (#47911)
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-04-20 09:59:49 -07:00
f530775e45 Chore: Remove several 'as' type assertions (#45913) 2022-03-02 14:02:09 +00:00
56921b205d Canvas add drone elements (#43122) 2021-12-16 11:05:58 -08:00
2af5ad4764 Canvas: use name as UID (#42696) 2021-12-06 21:04:58 -08:00