Ashley Harrison
803473f479
Chore: Enable useUnknownInCatchVariables
for stricter type checking in catch blocks ( #50591 )
...
* wrap a bunch of errors
* wrap more things!
* fix up some unit tests
* wrap more errors
* tiny bit of tidy up
2022-06-15 08:59:29 +01:00
Adela Almasan
1af63ba5f9
OptionsUI: use NumberInput for number options ( #46046 )
...
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-06-14 22:42:26 +02:00
Ryan McKinley
58e7769158
OptionsUI: Move internal options editors out of @grafana/ui ( #50739 )
2022-06-14 08:05:11 -07:00
sam boyer
8876d56495
schema: Migrate from scuemata to thema ( #49805 )
...
* Remove crufty scuemata bits
Buhbye to: cue/ dir with old definitions, CI steps for checking unnecessary
things, and the original dashboard scuemata file.
* Remove grafana-cli cue subcommand
* Remove old testdata
* Don't swallow errors from codegen
* Small nits and tweaks to cuectx package
* WIP - refactor pluggen to use Thema
Also consolidate the embed.FS in the repo root.
* Finish halfway rename
* Convert all panel models.cue to thema
* Rewrite pluggen to use Thema
* Remove pkg/schema, and trim command
* Remove schemaloader service and usages
Will be replaced by coremodel-centric hydrate/dehydrate system Soon™.
* Remove schemaloader from wire
* Remove hangover field on histogram models.cue
* Fix lint errors, some vestiges of trim service
* Remove unused cuetsify cli command
2022-06-06 17:52:44 -07:00
Adela Almasan
e18e8002c4
Canvas: add feature flag for nesting elements ( #49958 )
2022-05-31 12:03:34 -07:00
Nathan Marrs
2449f62dbe
Canvas: Improve changing element options UX ( #49555 )
2022-05-25 10:21:51 -07:00
Nathan Marrs
5eb20739c2
Canvas: Fix inconsistent element resizing UX ( #49450 )
2022-05-23 20:13:58 -07:00
Adela Almasan
b1ba0bc7b0
Canvas: Quick positioning ( #48992 )
...
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2022-05-23 15:31:39 -07:00
Adela Almasan
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
Nathan Marrs
646dcfccf9
Canvas: Implement minimum element size + center constraint UX ( #49294 )
2022-05-20 00:04:34 -07:00
Nathan Marrs
35ea67c210
47853 canvas constraint visualizations ( #49206 )
...
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2022-05-18 18:49:57 -07:00
Ryan McKinley
30e4e9399b
Geomap: show delete button ( #49125 )
2022-05-17 23:39:54 -07:00
Nathan Marrs
3fbda0f35b
Canvas: Improve constraint selection ux ( #48837 )
2022-05-16 10:28:19 -07:00
sam boyer
ea96c42545
schemas: Update to cuetsy v0.0.1 ( #48753 )
...
* Add explicit cuetsy annotations to all models.cue
* Update to first cuetsy release
* Clean up cuetsify a bit; remove unification
* Update changes to news codegen output
2022-05-05 11:56:53 -04:00
Adela Almasan
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
Nathan Marrs
ff38f24044
Canvas: Refactor group to frame ( #48671 )
2022-05-03 22:58:00 -07:00
Nathan Marrs
66d7105b34
Canvas: Group constraint support ( #48563 )
2022-05-03 19:51:01 -07:00
Nathan Marrs
b990d3c9e3
Canvas: Fix selecto breaking on enter / exit panel edit mode ( #48387 )
2022-04-27 20:51:02 -07:00
Nathan Marrs
2b2f275a08
Canvas: Support scale + center constraints ( #48085 )
2022-04-22 14:02:36 -07:00
Josh Hunt
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
Nathan Marrs
d442608eb9
Canvas: Implement new constraint system ( #47911 )
...
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-04-20 09:59:49 -07:00
renovate[bot]
d87cd6f26c
Update dependency prettier to v2.5.1 ( #43473 )
...
* Update dependency prettier to v2.5.1
* prettier fixes
* chore(toolkit): bump prettier to 2.5.1
* style(eslint): bump grafana config to 2.5.2 in core and toolkit
* style(mssql-datasource): fix no-inferrable-types eslint errors
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2022-02-02 12:02:32 +00:00
Nathan Marrs
8be4182e49
Canvas: Add button element + basic onClick support ( #43252 )
2021-12-17 14:05:57 -08:00
Nathan Marrs
2af5ad4764
Canvas: use name as UID ( #42696 )
2021-12-06 21:04:58 -08:00
Nathan Marrs
e07abd76c0
Canvas: refactor layer editor ( #42562 )
...
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2021-12-02 15:54:45 -08:00
Ryan McKinley
fbd8dc59d9
Canvas: show layer elements above element details ( #41447 )
2021-11-16 10:10:09 -08:00
Nathan Marrs
defbd72bf2
Canvas: add multi layer functionality ( #41326 )
2021-11-08 11:05:16 -08:00
Nathan Marrs
268c20203b
Canvas: Improve Selection System ( #41065 )
2021-10-29 14:32:52 -07:00
Nathan Marrs
84d13c3f35
Canvas: add layer elements editor functionality ( #40968 )
2021-10-28 09:58:31 -07:00
Ryan McKinley
45e1765733
Geomap: support multiple layers ( #40906 )
2021-10-27 14:49:11 -07:00
Nathan Marrs
27ba6b37ab
Canvas: Add support to disable panel editing ( #40724 )
2021-10-20 14:52:53 -07:00
Nathan Marrs
7e59b92c8c
Canvas: Improve enter / exit editor UX ( #40591 )
2021-10-18 13:10:07 -07:00
Ryan McKinley
7a35a31929
Icon Panel: add new alpha panel to show an icon ( #40355 )
2021-10-14 09:30:21 -07:00
Nathan Marrs
8de30ccf9a
Canvas: Add basic responsive design and layer editor UX ( #40404 )
2021-10-13 13:12:16 -07:00
Nathan Marrs
f7576b3cdf
Canvas: Ability to move and resize elements freely ( #40179 )
2021-10-12 10:52:15 -07:00
Ryan McKinley
3db98f417d
Panel Options: support dynamic options editors ( #39491 )
2021-10-06 21:41:42 +02:00
sam boyer
f8d79d301c
Rename Family to Panel in models.cue ( #39111 )
2021-09-12 14:34:33 -04:00
ying-jeanne
c989f0fbbe
SQL: Migrate to use SDK contracts ( #36635 )
...
* convert SQLs to use sdk contracts
* make draft
* postgres
* intermedia
* get datasourceinfo filled at the beginning of the service
* move the interval into package because of cyclict import and fix all postgres tests
* fix mysql test
* fix mssql
* fix the test for pr https://github.com/grafana/grafana/issues/35839
* fix some issue about intervalv2 package
* update sql test
* wire migration for SQLs
* add sqls to the background process
* make it register instead of register and start
* revert formatting
* fix tests
* fix linter
* remove integration test
* Postgres test fix
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2021-09-07 09:35:37 +02:00
Ryan McKinley
9a0040c0ae
Canvas: add alpha canvas panel and initial interfaces ( #37279 )
2021-09-02 10:01:08 -07:00