Ashley Harrison
47f8717149
React: Use new JSX transform ( #88802 )
...
* update eslint, tsconfig + esbuild to handle new jsx transform
* remove thing that breaks the new jsx transform
* remove react imports
* adjust grafana-icons build
* is this the correct syntax?
* try this
* well this was much easier than expected...
* change grafana-plugin-configs webpack config
* fixes
* fix lockfile
* fix 2 more violations
* use path.resolve instead of require.resolve
* remove react import
* fix react imports
* more fixes
* remove React import
* remove import React from docs
* remove another react import
2024-06-25 12:43:47 +01:00
Josh Hunt
15c81b2a8b
Move RecentlyDeleted into browse-dashboards ( #89214 )
...
* Move RecentlyDeleted into browse-dashboards
* refactor: change path
---------
Co-authored-by: Laura Benz <laura.benz@grafana.com >
2024-06-14 17:25:19 +03:00
Laura Benz
d44ddba996
RestoreDashboards: Fix counting bug ( #89201 )
...
Fix restore modal showing incorrect counts
Co-authored-by: joshhunt <josh@trtr.co >
2024-06-14 14:30:05 +02:00
Laura Benz
ca2df58ab0
RestoreDashboards: Implement restore workflow ( #88753 )
...
* feat: create interactable elements
* feat: add i18n
* feat: add restoment process
* refactor: move restore endpoint
* refactor: adjust some API things
* refactor: adjust i18n
* Run i18n abstraction
* refactor: clean up
* refactor: update comment
* refactor: update text in modal
* refactor: correct translation keys
* refactor: add changes from code review
* refactor: add styling
* Update go.work.sum
2024-06-13 09:12:10 +02:00
Josh Hunt
994ddf7e6f
RecentlyDeleted: Remove search box ( #89043 )
...
* RecentlyDeleted: Remove search box
* i18n
2024-06-11 17:45:10 +03:00
Ashley Harrison
55dfc76b23
Chore: replace General with Dashboards ( #89017 )
...
replace General with Dashboards
2024-06-11 13:10:25 +01:00
Ryan McKinley
41e0430f83
K8s/Dashboards: Add frontend api to switch between implementations ( #88632 )
2024-06-05 17:34:23 +03:00
Laura Benz
adbb005d38
RestoreDashboards: Populate page ( #88555 )
...
* feat: add search input and filters
* feat: add state management v0
* feat: update search view and add to trash page
* refactor: fix some errors
* feat: page population
* feat: fix error
* Run betterer checks locally
* Run i18n abstraction
* refactor: clean up after merging main
* refactor: clean up after merging main
* Run i18n abstraction
* refactor: remove browse view
2024-06-04 12:08:18 +02:00
Laura Benz
b6bd9e5352
Laura/refactor/rename trash section ( #88617 )
...
* refactor: move and rename page component
* refactor: change codeowners
* refactor: change naming in backend
* refactor: change wording of subtitle
2024-06-04 10:03:33 +03:00
Ashley Harrison
1d6d5cc2cd
Chore: improve typings ( #87306 )
...
* some fixes
* some more fixes
* some canvas fixes
* use removeProperty instead
* few more
* fixy fix
* undo changes to ticks for now
2024-05-03 17:21:37 +01:00
Ashley Harrison
fc45b56d9d
EmptyState: Apply call-to-action variant in core ( #86448 )
...
* apply empty state in a bunch of places
* fix unit tests
* put alert back on top
* add data-testids so e2e tests keep working
* remove info boxes
* fix annotations empty state alignment with new maxWidth
2024-04-22 17:01:24 +01:00
Tom Ratcliffe
a5c75c5ffb
Remove explicit imports of whatwg-fetch from individual test files
2024-04-18 12:23:38 +01:00
Alex Khomenko
9bd84b30e9
Chore: Remove deprecated components from dashboard import pages ( #83747 )
...
* Add Form component to core
* Chore: Replace deprecated components in DashboardImportPage.tsx
* Chore: Replace deprecated components in ImportDashboardForm.tsx
* Chore: Replace deprecated components in ImportDashboardOverview.tsx
2024-03-04 17:22:13 +02:00
Ashley Harrison
cf65d91ee9
Chore: upgrade to msw v2 ( #82270 )
...
* Update dependency msw to v2
* close
* minor fixes
* fetch import changes
* fix some alerting tests
* fix another alerting test
* fix systemjs tests
* don't return undefined in json mocks
* don't return undefined in json response
* add type
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-14 13:16:44 +00:00
Ashley Harrison
e2c2704296
Browse Dashboards: Imported dashboards now display immediately in the dashboard list ( #81819 )
...
* create importDashboard method in rtk query
* fix unit tests
* Revert "fix unit tests"
This reverts commit 72cd81c803 .
* fix unit test
2024-02-06 10:46:24 +00:00
Ashley Harrison
dcf58555e8
Chore: Some test type fixes ( #81812 )
...
some test type fixes
2024-02-05 09:47:30 +00:00
Lucy Chen
49af992661
Task: Add i18n support for public dashboards ( #79659 )
...
* feat(public-dashboards): add i18n support
* fix(public-dashboard): correct name convention for i18n
* fix(public-dashboard): correct i18n key convention + extraction
* feat(public-dashboard): mark up i18n for remaining cfg modal
* fix(public-dashboard): de-dynamicize ack comps for i18n + markup i18n for missing parts
* feat(public-dashboard): mark up i18n for DeletePubDashModal
* feat(public-dashboard): mark up i18n for ShareModal public dashboard
* chore(i18n): run yarn i18n:extract
* update naming cconvention
* add mark up phrases
* update json file
* fix import
* fix title
* fix url
* Copy button translation
* Update user admin page
* escape char
* interpolation
* fix escape
* prettier space
* update naming
* update setting keys
* standardize key naming convention
* fix radiobutton
* Fix naming convention as recommended by frontend team
* Prettier and fix naming
* fix variables that cannot be translated
* prettier check
---------
Co-authored-by: hainenber <dotronghai96@gmail.com >
2024-01-08 13:30:01 -05:00
Lucy Chen
a29e1ee6a6
Task: Improve public dashboard config url formatting ( #79424 )
...
* Update publicdashboard config url
* add slug to sessiondashboard
* swagger doc update
2023-12-14 14:35:17 -05:00
Ashley Harrison
ffda25f4a3
Skeleton: Abstract out attach/animation logic ( #79309 )
...
* apply styles globally to skeleton
* use abstraction everywhere
* just use withSkeleton
* add comment
* update docs
* use it in News as well
* rename withSkeleton to attachSkeleton
* move to @grafana/ui/src/unstable
* rename skeletonProps to rootProps
2023-12-12 11:05:36 +00:00
Ashley Harrison
4a0c89a8fd
Snapshots: Add loading skeleton ( #79134 )
...
* add snapshot skeleton
* add some unit tests
2023-12-07 10:48:06 +00:00
Ashley Harrison
4290ed3d86
Chore: Remove newBrowseDashboards feature toggle ( #78190 )
...
* remove all the things
* fix OldFolderPicker tests
* i18n
* remove more unused code
* remove mutation of error object since it's now frozen in the redux state
* fix error handling
2023-11-22 15:22:00 +00:00
Ryan McKinley
dc4aa3e0f6
Snapshots: Hide the share button ( #77763 )
2023-11-08 11:23:50 -08:00
Ryan McKinley
5e7f6e8699
Snapshots: Do not return internal database ids ( #77672 )
2023-11-06 06:53:52 -08:00
Ashley Harrison
5f2fd8935d
Spinner: Fix so that the size property is correctly applied ( #77135 )
...
* correctly apply spinner sizes, refactor to have standard sizes
* better prop definitions so constant values show in IDEs
* 12 is xs, not sm
2023-10-25 15:39:32 +01:00
otilor
55620066e6
i18n: dashboard import page ( #75664 )
...
* add translation for filezone primary and secondary text
* add translation for Grafana.com field label
* update translation keys
* add translation for load button
* update required translation
* Format utils for invalid-dashboard
* add extracted translations
* add pseudo translations
* add translation for json validation
* json field label translation
* add translation for required json field
* add translation for cancel key
* add extracted translations
* Add pseudo locale translation
* Update public/app/features/manage-dashboards/utils/validation.ts
Co-authored-by: Ashley Harrison <ashharrison90@gmail.com >
* Update public/app/features/manage-dashboards/utils/validation.ts
Co-authored-by: Ashley Harrison <ashharrison90@gmail.com >
* Update public/app/features/manage-dashboards/utils/validation.ts
Co-authored-by: Ashley Harrison <ashharrison90@gmail.com >
* Update public/app/features/manage-dashboards/utils/validation.ts
Co-authored-by: Ashley Harrison <ashharrison90@gmail.com >
* Update public/app/features/manage-dashboards/DashboardImportPage.tsx
Co-authored-by: Ashley Harrison <ashharrison90@gmail.com >
* Update public/app/features/manage-dashboards/DashboardImportPage.tsx
Co-authored-by: Ashley Harrison <ashharrison90@gmail.com >
* Update public/app/features/manage-dashboards/DashboardImportPage.tsx
Co-authored-by: Ashley Harrison <ashharrison90@gmail.com >
* Update public/app/features/manage-dashboards/DashboardImportPage.tsx
Co-authored-by: Ashley Harrison <ashharrison90@gmail.com >
* Update public/app/features/manage-dashboards/DashboardImportPage.tsx
Co-authored-by: Ashley Harrison <ashharrison90@gmail.com >
* Update public/app/features/manage-dashboards/DashboardImportPage.tsx
Co-authored-by: Ashley Harrison <ashharrison90@gmail.com >
* update translations
* Update public/app/features/manage-dashboards/DashboardImportPage.tsx
Co-authored-by: Ashley Harrison <ashharrison90@gmail.com >
* Update public/app/features/manage-dashboards/DashboardImportPage.tsx
Co-authored-by: Ashley Harrison <ashharrison90@gmail.com >
* Update public/app/features/manage-dashboards/DashboardImportPage.tsx
Co-authored-by: Ashley Harrison <ashharrison90@gmail.com >
* update link component
* add new translations
---------
Co-authored-by: Ashley Harrison <ashharrison90@gmail.com >
2023-09-29 18:38:45 +03:00
Krishna Dhakal
5ba37068c2
i18n: Mark up SnapshotListTable for translations ( #75621 )
...
* markup snapshot list table
* final revision changes
2023-09-29 15:39:55 +01:00
Ashley Harrison
ff0642bf6e
Chore: Type improvements 🧹 ( #75271 )
...
* fix some e2e flows types
* some type fixes
* must... fix... more...
* MOAR
* MOREMOREMORE
* 1 more
2023-09-22 15:06:49 +01:00
Ezequiel Victorero
67bf27d4ed
Snapshots: Use appUrl on snapshot list page ( #74944 )
2023-09-21 15:39:32 -03:00
Ivan Ortega Alba
4f329e9fa6
Import:Enhance clarity through improved copy and streamlined links ( #74383 )
...
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com >
2023-09-12 11:13:00 +02:00
Ieva
d46208b28a
Chore: remove legacy AC fallback from frontend access control checks ( #74385 )
...
* don't use legacy AC fallback for frontend access control checks
* extend tests
* more test fixes
* more test fixes
* more test fixes
* final test fix
* team test fix
* finally fix tests
2023-09-06 16:07:49 +01:00
Ashley Harrison
963fffeef1
Chore: fix some more types ( #72726 )
...
fix some more types
2023-08-14 16:04:04 +01:00
Juan Cabanas
427714f8d0
Export: Remove DS input when dashboard is imported with a lib panel that already exists ( #69412 )
2023-07-27 13:11:15 -03:00
Ivan Ortega Alba
8415dd40d7
DSPicker: Use new DS picker everywhere in Grafana ( #70609 )
2023-07-26 18:40:51 +02:00
Josh Hunt
f3235ba959
NestedFolders: Rename FolderPicker to OldFolderPicker ( #72098 )
...
* Rename FolderPicker to OldFolderPicker
* fix jest mock
* fix jest mock
2023-07-21 13:24:43 +00:00
Josh Hunt
e50cf55649
Dashboards: Allow dashboards with same name in different folders ( #70378 )
...
* Dashboards: Allow dashboards with same name in different folders
Co-authored-by: Tobias Skarhed <tobias.skarhed@gmail.com >
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
Co-authored-by: joshhunt <josh@trtr.co >
* fix
---------
Co-authored-by: Tobias Skarhed <tobias.skarhed@gmail.com >
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2023-06-26 11:49:50 +00:00
Juan Cabanas
ee73d41d24
PublicDashboards: Audit table pagination ( #69823 )
2023-06-21 10:48:09 -03:00
Juan Cabanas
82c770115e
PublicDashboards: Audit table trashcan icon ( #69287 )
2023-05-30 23:59:02 +03:00
Juan Cabanas
9890ff7c92
PublicDashboards: Audit table redesign ( #68137 )
2023-05-29 12:59:29 -03:00
Juan Cabanas
24668137f8
NavBar: app chrome state wrongly overwritten when ds modal is opened ( #67952 )
2023-05-08 16:51:42 -03:00
Ashley Harrison
37378c4dd8
Navigation: more nav interface cleanup ( #67708 )
...
more nav interface cleanup
2023-05-04 14:17:44 +01:00
Juan Cabanas
fc3737bf4f
PublicDashboards: Email sharing users page ( #67124 )
2023-04-27 14:20:03 -03:00
Ieva
5d7433d820
RBAC: Make access control metadata for folders work with nested folders ( #66464 )
...
* remove metadata for single folder listing
* extendTests
* remove ac metadata from dash and folder search results
* remove test
* remove one more test
* put ac metadata back for single folder API responses
* extend tests
* remove ac metadata from folder frontend object
* undo unneeded change
* PR feedback
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
---------
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
2023-04-21 15:05:11 +01:00
Josh Hunt
9f4ab1b6dd
NestedFolders: Support moving folders into other folders ( #65519 )
...
* wip for move folders
* hello
* Polish up move dashboard results messages
* tests
* fix other test
* tweak messages when things can't be moved
* tweak messages when things can't be moved
* fix tests
* remove comment
* restore failOnConsole
* .
* Fix move modal not opening due to dodgy rebase
2023-03-31 12:31:06 +01:00
Ryan McKinley
d710507bc5
Chore: Avoid explicit React.FC<Props> when possible ( #64722 )
2023-03-14 16:38:21 +02:00
juanicabanas
bceb1bb96d
PublicDashboards: Change disabled label in Audit Table ( #64260 )
2023-03-06 19:06:34 -03:00
juanicabanas
4e74768530
PublicDashboards: Email sharing ( #63762 )
...
Feature for sharing a public dashboard by email
2023-02-28 09:02:23 -03:00
juanicabanas
9df4a39195
PublicDashboards: Configuration modal redesign ( #63211 )
...
Configuration modal redesign
---------
Co-authored-by: kay delaney <kay@grafana.com >
2023-02-24 12:36:29 -03:00
Ashley Harrison
f8d89eff56
Chore: fix type errors in tests ( #63270 )
...
* fix any's in tests
* fix more any's in tests
* more test type fixes
* fixing any's in tests part 3
* more test type fixes
* fixing test any's p5
* some tidy up
* fix template_srv
2023-02-14 16:46:42 +01:00
Ryan McKinley
0d2a786816
Schema: Add schema for library panels ( #62169 )
2023-01-30 04:14:12 +00:00
Sonia Aguilar
f2d4e24710
Alerting: improve FolderPicker and Evaluation Group Select for Huge lists ( #61221 )
...
* Add AsyncVirtualizedSelect component in grafana-ui
* Slice FolderPicker results to 1k and virtualize list using AsyncVirtualizedSelect
* Group list in alert form: Use AsyncSelect and slice results to 1000
* Virtualize and slice always in FolderPicker: set default sliceResults value and let consumers change this value
* Always slice results in FolderPicker
* Limit folder results setting the limit in the api call instead slicing in the FE
* Remove warning about the limit in the Select label
2023-01-12 11:45:03 +01:00