1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-06 00:07:44 +01:00
unleash.unleash/frontend/src/hooks/api/actions
andreas-unleash 933455e308
feat: use api instead of localStorage (#3305)
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->
This PR replaces localStorage with api calls for getting/setting project
scoped stickiness
## About the changes
<!-- Describe the changes introduced. What are they and why are they
being introduced? Feel free to also add screenshots or steps to view the
changes if they're visual. -->

<!-- Does it close an issue? Multiple? -->
Closes #

<!-- (For internal contributors): Does it relate to an issue on public
roadmap? -->
<!--
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#
-->

### Important files
<!-- PRs can contain a lot of changes, but not all changes are equally
important. Where should a reviewer start looking to get an overview of
the changes? Are any files particularly important? -->


## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-03-15 16:06:25 +02:00
..
useAddonsApi Feat/new addons table (#1021) 2022-05-25 15:37:32 +02:00
useAdminUsersApi refactor: misc type improvements (#945) 2022-05-04 08:14:49 +02:00
useApi Persistent table query (#999) 2022-05-25 08:14:22 +00:00
useApiTokensApi feat: multi-project api access tokens (#857) 2022-04-08 12:26:44 +02:00
useApplicationsApi fix: url encode application name in links (#2121) 2022-09-30 15:53:02 +02:00
useAuthApi refactor: use camel case for files and dirs (#817) 2022-03-25 12:34:20 +01:00
useAuthFeedbackApi feat: add FeedbackCES component (#826) 2022-03-31 09:23:46 +02:00
useAuthResetPasswordApi Feat/invite user (#2061) 2022-09-30 13:01:32 +02:00
useAuthSettingsApi refactor: format files (#719) 2022-02-18 09:51:10 +01:00
useChangeRequestApi feat: adds CR to variants per env UI (#2989) 2023-01-25 14:10:35 +00:00
useContextsApi refactor: expect existing TS errors (#767) 2022-03-03 10:01:04 +01:00
useEnvironmentApi Feat clone environment modal (#2245) 2022-10-28 09:15:46 +01:00
useExportApi feat: export/import plausible tracking (#3145) 2023-02-17 16:02:07 +02:00
useFavoriteFeaturesApi feat: favorite feature and project (#2582) 2022-12-02 09:16:03 +02:00
useFavoriteProjectsApi feat: favorite feature and project (#2582) 2022-12-02 09:16:03 +02:00
useFeatureApi feat: Generate new OAS types, tags component upgrade (#3269) 2023-03-15 11:35:24 +02:00
useFeatureArchiveApi Delete archived toggles from the front end (#1150) 2022-07-27 07:46:12 +00:00
useFeatureStrategyApi Feature toggle page update (#1140) 2022-07-27 10:00:15 +00:00
useGroupApi feat: add SSO mappings to groups (#2175) 2022-10-13 11:34:47 +01:00
useImportApi feat: drop full- for import/validate (#3168) 2023-02-21 10:15:57 +01:00
useInstanceStatusApi feat: add billing page to admin (#993) 2022-05-25 23:26:05 +02:00
useInviteTokenApi Feat/invite user (#2061) 2022-09-30 13:01:32 +02:00
useLoginHistoryApi refactor: rename sign-on log to login history (#3245) 2023-03-02 13:49:50 +00:00
useMaintenanceApi Maintenance mode for users (#2716) 2022-12-21 13:23:44 +02:00
useNotificationsApi feat: notifications ui polish (#3232) 2023-03-01 14:28:05 +01:00
usePasswordApi feat: new profile page and PATs front-end (#2109) 2022-10-03 10:49:52 +01:00
usePersonalAPITokensApi feat: manage SA tokens through UI (#2840) 2023-01-06 12:56:54 +00:00
usePlayground Orval generator POC (#2724) 2023-01-05 11:57:53 +01:00
useProjectApi feat: use api instead of localStorage (#3305) 2023-03-15 16:06:25 +02:00
useProjectApiTokensApi fix incorrect path (#3146) 2023-02-17 13:46:18 +00:00
useProjectRolesApi chore: update paths 🧼 (#820) 2022-03-28 09:49:59 +01:00
useSegmentsApi feat: add segments (#780) 2022-03-29 09:30:57 +02:00
useServiceAccountsApi feat: service accounts (hooks) (#2732) 2023-01-04 14:05:40 +00:00
useServiceAccountTokensApi fix: limit creation of other users PATs (adapting) (#3019) 2023-01-31 08:40:23 +00:00
useSplashApi
useStrategiesApi feat: Align switches in table actions (#1082) 2022-06-14 12:32:16 +00:00
useTagApi Add multiple tags (#3032) 2023-02-03 12:28:06 +02:00
useTagTypesApi chore: update paths 🧼 (#820) 2022-03-28 09:49:59 +01:00
useUiConfigApi fix: remove duplicate formatApiPath in userUiConfigApi hook (#2318) 2022-11-03 08:47:16 +01:00
useValidateImportApi feat: drop full- for import/validate (#3168) 2023-02-21 10:15:57 +01:00