grafana/public/app/types
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
..
jquery Minor progress on fixing no-implicit any issues 2019-03-19 18:24:47 +01:00
accessControl.ts Alerting: Add export button for exporting all alert rules in alert list view (#62416) 2023-01-30 11:13:08 +01:00
acl.ts Teams: Use generated TS types (#60618) 2023-01-04 14:08:03 +02:00
alerting.ts Alerting: Add Notification error feedback on contact points view (#56225) 2022-10-06 15:23:38 +02:00
apiKeys.ts 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
appEvent.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
appNotifications.ts Frontend: Add notification persistence behind feature flag (#47871) 2022-04-20 10:42:32 +01:00
config.ts Chore: Add type info for grafana boot data (#45322) 2022-03-30 10:48:58 +01:00
dashboard.ts Dashboard: remove unused submenuEnabled property (#63289) 2023-02-12 18:10:29 +01:00
datasources.ts Datasource Onboarding: Prevent flickering of onboarding page after first load (#63360) 2023-02-24 11:48:30 +00:00
events.ts AppChrome: Unify logic for chromeless pages that should not have NavBar, CommandPalette, Search etc (#62281) 2023-02-02 09:53:06 +01:00
explore.ts Chore: improve some types (#62363) 2023-02-01 10:50:34 +00:00
folders.ts Folder: Replace folderId with folderUid (#58393) 2022-11-17 09:22:57 +01:00
index.ts Preferences: Add preferences kind and remove unused navbar settings (#59621) 2023-01-25 11:00:32 -08:00
ldap.ts Chore: Fix more strict typescript errors (#35514) 2021-06-14 15:13:48 +01:00
location.ts FieldOverride: Support data links via field overrides (#23590) 2020-04-20 07:37:38 +02:00
lru-cache.d.ts Update dependency lru-cache to v7 (#45074) 2022-02-18 10:23:06 +01:00
organization.ts SelectOrgPage: migrate API function calls to Redux (#43133) 2021-12-16 09:57:18 +01:00
plugins.ts Chore: improve some types (#62363) 2023-02-01 10:50:34 +00:00
query.ts Query Caching: Add per-panel query caching TTL (#61968) 2023-02-02 23:39:54 -05:00
serviceaccount.ts 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
store.ts Chore: Update and enforce usage of typed react-redux hooks (#55349) 2022-09-19 10:49:35 +01:00
suggestions.ts VisualizationSuggestions: Support image & text instead of real previews. Adds suggestions for all non data panels when there are no data (#42074) 2021-11-25 10:52:01 +01:00
supportBundles.ts Support Bundles: Improve creating bundle UX (#61611) 2023-01-17 17:50:14 +01:00
svg.d.ts Transforms: Adds beta notice and updates transform descriptions (#24158) 2020-05-04 15:05:31 +02:00
teams.ts Teams: Use generated TS types (#60618) 2023-01-04 14:08:03 +02:00
templates.ts make variable type more slim 2019-01-07 11:26:06 +01:00
unified-alerting-dto.test.ts Alerting: Add a "Reason" to Alert Instances to show underlying cause of state. (#49259) 2022-05-23 16:49:49 +08:00
unified-alerting-dto.ts Alerting: Allow alert rule pausing from API (#62326) 2023-02-01 13:15:03 +01:00
unified-alerting.ts Alerting: Create alert link from dashboard alerting panel (#63648) 2023-02-27 15:24:58 +01:00
user.ts Auth: Refactoring of frontend skipOrgRoleSync logic to backend (#62921) 2023-02-08 20:11:46 +00:00
window.d.ts Type window.nonce (#51200) 2022-06-22 09:28:05 +01:00