kay delaney
64bbb7a7ce
Chore: Update and enforce usage of typed react-redux hooks ( #55349 )
...
* Chore: Update and enforce usage of typed react-redux hooks
2022-09-19 10:49:35 +01:00
George Robinson
4a1ca7e32f
Alerting: Change default alert state to Error on execution error or timeout ( #55345 )
2022-09-19 10:42:04 +01:00
Gábor Farkas
1ee6a1f7c2
Logs: move logs-components from grafana-ui to grafana-main ( #55041 )
...
* logs: added a copy of the grafana-ui logs-files
* fix: added the ansicolor package to the main grafana package
* logs-components: import things from grafana-ui
* import from local files
* logs-components: other fixes
* add betterer-exceptions
* apply updates from grafana-ui package
2022-09-19 10:51:46 +02:00
Ryan McKinley
17b2fb04e8
DashboardQuery: Expand query options ( #53998 )
2022-09-16 13:28:47 -04:00
Ryan McKinley
0c4d181d1e
SupportSnapshots: Rename to "Get help" ( #55206 )
2022-09-16 08:51:14 -07:00
Piotr Jamróz
9b4cdfe652
Correlations: Hide Correlations Page behind a feature toggle ( #55224 )
...
* Hide Correlations Page behind a toggle
* Remove redundant defaults
* Ensure top nav is rendered when correlations are disabled
This is for the case when:
[feature_toggles]
topnav = true
2022-09-16 15:14:27 +02:00
Leo
e7ae71a5cc
Navigation: use pagenav and subtitle to the new team page ( #55200 )
...
* added pageNav to new team page
* improve copies
* improve copies
* improve test
2022-09-16 09:32:08 +02:00
Leo
896d684065
Browse: Hide dashboard actions if user does not have enough permission ( #55218 )
...
* hide dashboard actions if user does not have enough permission
* improve test description
2022-09-16 09:19:19 +02:00
Leo
3f413f6f94
Navigation: Use navId and pageNav for Create User page ( #55201 )
...
* added pageNav subttitle and used navid for usercreatepage
* improve subtitle copy and redirected to user page after creation
* improve title copy
* improve copies
* breadcrumbs redirect to users page instead of org
2022-09-16 09:16:26 +02:00
Leo
26e444c194
Navigation: Use navid and pagenav for new org page ( #55203 )
...
* use navid and pagenav for new org page
* Minor tweak
* improve copies
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2022-09-16 08:56:50 +02:00
Ryan McKinley
6947e276d6
Inspect: Hide Actions tab when it is empty ( #55272 )
2022-09-15 22:17:12 -07:00
Jo
3e2e9f93b9
Auth: Allow admins to manually change oauth user role if oauth_skip_org_role_update_sync is enabled ( #55182 )
...
* Auth: Allow admins to change oauth user info it it's not synced.
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
* Update public/app/features/admin/UserAdminPage.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
* Add missing import
* Simplify init
Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com >
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
* SAML: Add option to skip org role sync (#55230 )
* SAML: Add option to skip org role sync
* Modify frontend accordingly
* Remove update from config option name
Co-authored-by: Jguer <joao.guerreiro@grafana.com >
* Remove update from config option name
Co-authored-by: Jguer <joao.guerreiro@grafana.com >
* Fix typo
Co-authored-by: Jguer <joao.guerreiro@grafana.com >
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
Co-authored-by: gamab <gabi.mabs@gmail.com >
Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com >
2022-09-15 12:06:09 -04:00
owensmallwood
5121e32722
When generating the pubdash url, use the base url from the Grafana config. This allows the url generation to work in the case that Grafana is hosted on a subpath. ( #55204 )
...
Support subpaths when generating public dashboard url
2022-09-15 09:46:11 -06:00
Sven Grossmann
f1e8a528d1
ElasticSearch: Fix lucene formatted variables being wrongly escaped ( #54981 )
...
* fixed negative numbers are encoded
* Chore: move variableModel to TypedVariableModel
* add tests
2022-09-15 17:18:57 +02:00
Joao Silva
13014dc0df
Search: Fixes folder section not displaying dashboards ( #55231 )
2022-09-15 14:00:05 +01:00
Torkel Ödegaard
b8e72d6173
TopNav: KioskMode rewrite move to AppChrome responsibility and make it a global feature ( #55149 )
...
* Initial progress
* Moving keybindingSrv to context
* Simplfy KioskMode
* Removed unused logic
* Make kiosk=tv behave as before but when topnav is enabled
* Minor fix
* Fixing tests
* Fixing bug with notice when entering kiosk mode
* Fixed test
2022-09-15 14:04:58 +02:00
Ryan McKinley
7700b529f9
SupportSnapshots: improved iframe support ( #55059 )
...
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2022-09-14 12:54:09 -07:00
Torkel Ödegaard
d639b5a7f8
Datasources: New data source page should work with new nav ( #55094 )
2022-09-14 21:12:09 +02:00
Guilherme Caulada
82708df287
PublicDashboards: Add link to public dashboards docs to sharing modal ( #55186 )
2022-09-14 15:05:15 -03:00
Joao Silva
ca2139e9ce
Search: Avoid requesting all dashboards when in Folder View
2022-09-14 18:51:55 +01:00
juanicabanas
1e06b0170b
PublicDashboards: UI improvements ( #55130 )
...
* Public dashboard modal UI modifications
2022-09-14 14:35:46 -03:00
Ivan Ortega Alba
bed531f5fb
Panel: Disable legends when showLegend is false prior to schema v37 ( #55126 )
2022-09-14 14:33:03 +02:00
Sonia Aguilar
7a6f452f13
Alerting/fix folder creation dropdown ( #54687 )
...
*Refactor FolderPicker to be functional component.
* Add customAdd optional property to FolderPicker so we can add new values in the alert view but keeping the same behaviour in the rest of the ui.
* Add test for being able to add folder when no folders found.
2022-09-14 14:04:36 +02:00
Ryan McKinley
927d97f1ab
SupportSnapshots: Show type icons in table ( #55119 )
2022-09-13 13:42:19 -07:00
Ashley Harrison
bd19a06fa9
Update create/edit playlist pages to work with topnav ( #55104 )
2022-09-13 16:18:50 +01:00
Ivana Huckova
e70395f07a
Query editor: Allow query editors to create new query ( #55028 )
...
* Query editor: Allow query editors to create new query
* Update
* Revert "Update"
This reverts commit d5b79d60dd .
2022-09-13 13:09:31 +02:00
Torkel Ödegaard
da001b01f1
TopNav: Section navigation UX ( #55012 )
...
* Design tweaks
* Updated
* Fixing unit tests
* Review fixes
* Text primary on active sections, and change home icon to text
* spacing fix
* More fix
* Fixes
* Updates
2022-09-13 12:24:23 +02:00
Ashley Harrison
031c186617
convert AlertRuleList test to RTL ( #55045 )
2022-09-13 09:29:29 +01:00
Torkel Ödegaard
ab045184e4
PanelMenu: Remove hide legend action as it was showing on all panel types ( #54876 )
...
* PanelMenu: Remove hide legend action
* Fix test
* Updated
2022-09-13 10:19:59 +02:00
Artur Wierzbicki
e19f36649f
Storage: Content root storage ( #54929 )
...
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2022-09-12 18:34:46 -04:00
Adela Almasan
89d94eeab2
Canvas: Refine element duplication ( #55050 )
2022-09-12 14:33:08 -05:00
Torkel Ödegaard
d59bb1e4c2
IconName: Move to grafana/data and use type on NavModelItem ( #55013 )
...
* IconName: Allow strings
* Moving to grafana/data and adding type to NavModelItem
* Removed any type
* ts fix
2022-09-12 20:09:33 +02:00
Torkel Ödegaard
49bc70c812
TopNav: Panel edit changes ( #54746 )
...
* Progress
* Progress
* Things are working
* More tweaks
* Fixing unit test
* Tweaks and fixing e2e tests
* Remove ... in Save as
* Fixing unit test
* Fixing e2e test
* Fixes
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2022-09-12 15:45:14 +02:00
Ashley Harrison
4c3e08db91
Chore: Convert ShareLink tests to RTL ( #55026 )
...
* Convert ShareLink tests to RTL
* use findByRole instead of findByLabelText to be more robust
2022-09-12 14:34:06 +01:00
kay delaney
f578adfede
PluginLoader: Alias slate-react as @grafana/slate-react ( #55027 )
2022-09-12 09:22:01 -04:00
Ryan McKinley
4125dd57ee
Panels: Add panel debug support helper ( #54678 )
2022-09-09 14:35:52 -07:00
Ryan McKinley
c49c238974
Snapshots: Use the grafana datasource to render snapshot ( #54870 )
2022-09-09 13:16:24 -07:00
Leon Sorokin
dbb33eaba9
DataFrameJSON: add string enums inflation of field values ( #54938 )
...
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2022-09-09 13:59:29 -06:00
kay delaney
4c7732ad17
Chore: Upgrade Typescript to 4.8.2 ( #54901 )
...
* Chore: Upgrade typescript to 4.8.2
2022-09-09 16:17:58 +01:00
Virginia Cepeda
d3a70de962
Alerting: Use original query time range when duplicating a query ( #54805 )
...
* Use original query time range when duplicating it
If there's no time range, then assign a default one
* Add tests
* Import default relative time range from common lib
2022-09-09 08:34:38 -03:00
Seyaji
096fc76e23
Chore: Convert TimelineHeaderRow to RTL ( #51390 )
...
* update data-testids
* update data-testids
* Convert TimelineHeaderRow test to RTL
* update data-testids
* Convert TimelineHeaderRow test to RTL
* Convert TimelineHeaderRow test to RTL
* modify TraceView test
* revert test
* Update packages/jaeger-ui-components/src/TraceTimelineViewer/TimelineRow.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
* Ran yarn betterer
* update selector
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
Co-authored-by: Hamas Shafiq <hamas.shafiq@grafana.com >
2022-09-09 06:44:05 -04:00
Ashley Harrison
a861c10f1b
Navigation: Integrate search into topnav ( #54925 )
...
* behaviour mostly there
* slight performance improvement
* slightly nicer...
* refactor search and add it to the store
* add comments about removing old component
* remove unneeded logic
* small design tweak
* More small tweaks
* Restore top margin
* add onCloseSearch/onSelectSearchItem to useSearchQuery
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2022-09-09 11:01:31 +01:00
Gabriel MABILLE
101349fe49
RBAC: Add permissions to install and configure plugins ( #51829 )
...
* RBAC: Allow app plugins restriction
Co-authored-by: Kalle Persson <kalle.persson@grafana.com >
* Moving declaration to HttpServer
Co-Authored-By: marefr <marcus.efraimsson@gmail.com >
* Picking changes from the other branch
Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com >
* Rename plugins.settings to plugins
Co-authored-by: Kalle Persson <kalle.persson@grafana.com >
* Account for PluginAdminExternalManageEnabled
Co-authored-by: Will Browne <will.browne@grafana.com >
* Set metadata on instantiation
Co-authored-by: Jguer <joao.guerreiro@grafana.com >
Co-authored-by: Kalle Persson <kalle.persson@grafana.com >
Co-authored-by: marefr <marcus.efraimsson@gmail.com >
Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com >
Co-authored-by: Will Browne <will.browne@grafana.com >
Co-authored-by: Jguer <joao.guerreiro@grafana.com >
2022-09-09 09:44:50 +02:00
Torkel Ödegaard
f5fd9029ea
DebugSnapshot: Change to use exisiting localstorage prop and open in new tab ( #54877 )
...
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2022-09-08 11:20:56 -07:00
Konrad Lalik
933ec4817f
Alerting: Change the rule yaml data to reflect Prom-based rule format ( #54520 )
2022-09-08 12:52:36 +02:00
Ezequiel Victorero
bcab0194f1
PublicDashboards: disable form if user does not has permissions ( #54853 )
2022-09-07 18:29:01 -03:00
Ashley Harrison
66ce33bc5b
make Browse the root item of Dashboards when topnav is enabled ( #54782 )
2022-09-07 09:24:10 +01:00
Torkel Ödegaard
e5c32c8cc9
Dashboard: Unsaved changes warning fixes ( #54706 )
...
* Quick test of alternative method
* change order of if condition again for better readability
* Think I have something that is working
* Update
2022-09-06 13:00:32 -04:00
Laura Fernández
066710a7bc
Navigation: use navId and pageNav on Alerting - Contact Points page ( #54451 )
2022-09-06 16:25:07 +02:00
kay delaney
a70aba1384
Chore: Update slate and related packages ( #54566 )
...
* Chore: Update slate and related packages
2022-09-06 15:23:48 +01:00