grafana/pkg/api/dtos
Ashley Harrison 8984507291
Navigation: show breadcrumbs correctly when on the home page (#55759)
* show breadcrumbs correctly when on the home page

* adjust breadcrumb unit tests

* update betterer

* fix backend tests

* update getSectionRoot to look at the home nav id

* remove redundant setting of home dashboard

* construct a home navmodelitem in the backend

* fix cases when the feature toggle is off

* fix unit test

* fix more unit tests

* refactor how buildBreadcrumbs works

* use HOME_NAV_ID

* move homeNav useSelector into NavToolbar

* remove unnecesary cloneDeep

* don't need locationUtil here

* restore using getUrlForPartial in DashboardPage

* special case for the editview query param

* remove commented out code

* add comment to clarify splice behaviour

* slightly cleaner syntax
2022-10-03 15:05:19 +01:00
..
acl.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
alerting_test.go Fix misspell issues 2018-09-21 11:54:36 +02:00
alerting.go Chore: Remove dead code (#28664) 2020-11-05 11:00:00 +01:00
annotations.go Docs: update annotations API docs to include required field (#52644) 2022-08-03 08:01:25 +00:00
apikey.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
dashboard.go Navigation: show breadcrumbs correctly when on the home page (#55759) 2022-10-03 15:05:19 +01:00
datasource.go backend/datasources: move datasources models into the datasources service package (#51267) 2022-06-27 12:23:15 -04:00
folder.go Rename Acl to ACL (#52342) 2022-07-18 15:14:58 +02:00
index.go NavTree: Make it possible to configure where in nav tree plugins live (#55484) 2022-09-28 08:29:35 +02:00
invite.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
live.go Live: http publish, refactor live interfaces (#32317) 2021-03-30 13:23:29 +03:00
models_test.go fix: order of database (#55232) 2022-09-16 05:24:24 -04:00
models.go PublicDashboards: Log api layer errors and which datasources fail/succeed (#55056) 2022-09-14 13:19:21 -06:00
org.go feat(organization): added update org address to http api and to org details settings view, closes #2672 2015-09-08 14:22:44 +02:00
playlist.go Added playlist controls to new react DashNav 2019-02-04 21:08:30 +01:00
plugins.go Plugins: Add secure JSON fields to plugin setting DTO (#55313) 2022-09-21 12:20:11 +02:00
prefs.go I18n: Add locale to user preference (#49425) 2022-06-14 12:53:51 +01:00
short_url.go Dashboard: Allow shortlink generation (#27409) 2020-10-14 12:48:48 +02:00
user_token.go Feature: Parse user agent string in user auth token api response (#16… (#17504) 2019-06-11 14:12:52 +02:00
user.go Chore: Remove unused Go code (#28852) 2020-11-17 11:51:31 +01:00