grafana/public/app/core
Eric Leijonmarck 9d6ab92e39
Service accounts: Remove Add API keys buttons and remove one state of migrating for API keys tab (#63411)
* add: hide apikeys tab on start

* make use of store method

* added hiding of apikeys tab for new org creation

* missing err check

* removed unused files

* implemennted fake to make tests run

* move check for globalHideApikeys from org to admin

* refactor to remove the fake

* removed unused method calls for interface

* Update pkg/services/serviceaccounts/manager/service.go

Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com>

* Update pkg/services/serviceaccounts/manager/service.go

Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com>

* remove the checkglobal method

* removed duplicate global set const

* add count of apikeys for performance

* remove apikeys adding in UI

* added back deleted file

* added comment on component

* changed wording and copy for hiding and migrating service accounts

* refactor: remove migrationstatus in front/backend

This removes the migrationstatus state from the UI in favor of only
looking at the number of API keys to determine what to show to the user.
This simplifies the logic and makes less calls to the backend with each
page load. This was called both on the API keys page and the Service
accounts page.

- removes the state of migrationstatus from the UI
- removes the backend call
- removes the backend endpoint for migrationstatus

* Update pkg/services/apikey/apikeyimpl/xorm_store.go

Co-authored-by: Karl Persson <kalle.persson@grafana.com>

* changes the contet to also be primary

* change id of version for footer component

---------

Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com>
Co-authored-by: Karl Persson <kalle.persson@grafana.com>
2023-03-01 15:34:53 +00:00
..
actions TopNav: Plugin page layouts / information architecture (#53174) 2022-09-05 14:56:08 +02:00
components Service accounts: Remove Add API keys buttons and remove one state of migrating for API keys tab (#63411) 2023-03-01 15:34:53 +00:00
context TopNav: KioskMode rewrite move to AppChrome responsibility and make it a global feature (#55149) 2022-09-15 14:04:58 +02:00
copy Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
history Preferences: Add preferences kind and remove unused navbar settings (#59621) 2023-01-25 11:00:32 -08:00
hooks Navigation: Fix broken layout at 544px (#63793) 2023-03-01 15:31:32 +00:00
internationalization Navigation: Ensure command palette is correctly translated (#61103) 2023-02-08 13:15:37 +00:00
navigation Chore: fix type errors in tests (#63270) 2023-02-14 16:46:42 +01:00
reducers Chore: fix type errors in tests (#63270) 2023-02-14 16:46:42 +01:00
selectors PluginPage: Fix finding root section for standalone pages (#56554) 2022-10-07 16:33:36 +02:00
services CommandPalette: Remove topnav command palette feature flag (#63620) 2023-02-24 07:14:53 -05:00
specs Chore: fix type errors in tests (#63270) 2023-02-14 16:46:42 +01:00
utils Explore: Add transformations to correlation data links (#61799) 2023-02-22 06:53:03 -06:00
app_events.ts EventBus: Introduces new event bus with emitter backward compatible interface (#27564) 2020-11-03 13:08:54 +01:00
config.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
constants.ts PanelEditor: Present actionable suggestions when panel cannot visualize current data (#42083) 2021-11-25 09:41:03 +01:00
core.ts TopNav: KioskMode rewrite move to AppChrome responsibility and make it a global feature (#55149) 2022-09-15 14:04:58 +02:00
lodash_extended.ts Performance: Standardize lodash imports to use destructured members (#33040) 2021-04-21 09:38:00 +02:00
logsModel.test.ts LogsVolume: Make log volume work with chunking (#63181) 2023-02-10 14:43:41 +01:00
logsModel.ts LogsVolume: Make log volume work with chunking (#63181) 2023-02-10 14:43:41 +01:00
profiler.ts Angular: Isolate angular more (#41440) 2021-11-10 11:05:36 +01:00
store.ts any/type assertion fixes (#57009) 2022-10-17 10:10:10 +01:00
TableModel.ts Chore: more any/type assertion improvements (#57450) 2022-10-25 11:04:35 +02:00
time_series2.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00