1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-05-26 01:17:00 +02:00
unleash.unleash/frontend/src/utils
Nuno Góis 58607f7f48
refactor: address custom root roles PR comments (#3994)
https://linear.app/unleash/issue/2-1135/address-3975-pr-comments-by-refactoring-some-of-the-new-custom-root

This pull request addresses the majority of the comments raised in issue
#3975 and lays the groundwork for unifying roles. The idea is for
project roles to also be managed in the "Roles" tab, and several
components, such as `RoleForm` and the `useRoleForm` can potentially be
reused.

I'll leave the further investigation and implementation of unifying
roles to be addressed in a separate task.

As a mostly unrelated UI fix, this also adds an arrow to the tooltip in
the `RoleBadge` component.
2023-06-15 14:03:47 +01:00
..
apiUtils.ts refactor: simplify login redirect logic (#1987) 2022-08-30 09:54:52 +02:00
arraysHaveSameItems.test.ts fix: resolve issues around changing a toggle's project (#978) 2022-05-18 11:07:19 +02:00
arraysHaveSameItems.ts fix: resolve issues around changing a toggle's project (#978) 2022-05-18 11:07:19 +02:00
calculatePercentage.ts refactor: use camel case for files and dirs (#817) 2022-03-25 12:34:20 +01:00
capitalizeFirst.ts feat: Advanced playground table (#3978) 2023-06-15 09:29:31 +00:00
cleanConstraint.test.ts refactor: clean up strategy parameter types (#944) 2022-05-04 15:16:34 +02:00
cleanConstraint.ts refactor: clean up strategy parameter types (#944) 2022-05-04 15:16:34 +02:00
createFeatureStrategy.test.ts feat: Project scoped stickiness (#3289) 2023-03-10 12:28:02 +02:00
createFeatureStrategy.ts feat: Project scoped stickiness (#3289) 2023-03-10 12:28:02 +02:00
createLocalStorage.ts Improve table performance (#1061) 2022-06-09 11:34:55 +02:00
cyclicIterator.test.ts feat: first draft of chart for instance traffic in frontend (#2670) 2022-12-15 08:47:07 +00:00
cyclicIterator.ts feat: first draft of chart for instance traffic in frontend (#2670) 2022-12-15 08:47:07 +00:00
env.test.ts feat: add trial expiration warning banner (#985) 2022-05-19 14:06:18 +02:00
env.ts feat: add trial expiration warning banner (#985) 2022-05-19 14:06:18 +02:00
formatAccessText.test.ts refactor: improve icon labels and tooltips (#884) 2022-04-21 08:26:49 +02:00
formatAccessText.ts refactor: improve icon labels and tooltips (#884) 2022-04-21 08:26:49 +02:00
formatConstraintValue.ts refactor: remove unused code (#1036) 2022-05-27 13:28:58 +02:00
formatDate.ts linter fixes (#2561) 2022-11-30 10:52:13 +01:00
formatPath.test.ts Revert "formatApiPath / formatAssetPath - Implement smart functionality to detect double subpath" (#3001) 2023-01-26 15:34:42 +01:00
formatPath.ts Revert "formatApiPath / formatAssetPath - Implement smart functionality to detect double subpath" (#3001) 2023-01-26 15:34:42 +01:00
formatUnknownError.test.ts refactor: use camel case for files and dirs (#817) 2022-03-25 12:34:20 +01:00
formatUnknownError.ts refactor: use camel case for files and dirs (#817) 2022-03-25 12:34:20 +01:00
getFeatureMetrics.ts refactor: use camel case for files and dirs (#817) 2022-03-25 12:34:20 +01:00
getFeatureTypeIcons.ts Feature list table (#908) 2022-05-05 15:34:46 +02:00
instanceTrial.test.ts refactor: fix handling of expired/churned trial states (#1107) 2022-06-21 11:22:27 +02:00
instanceTrial.ts refactor: fix handling of expired/churned trial states (#1107) 2022-06-21 11:22:27 +02:00
nonEmptyArray.ts fix: ignore empty legal values arrays (#893) 2022-04-20 15:57:01 +02:00
objectId.test.ts refactor: use camel case for files and dirs (#817) 2022-03-25 12:34:20 +01:00
objectId.ts refactor: use camel case for files and dirs (#817) 2022-03-25 12:34:20 +01:00
oneOf.ts refactor: use camel case for files and dirs (#817) 2022-03-25 12:34:20 +01:00
operatorsForContext.ts feat: expand constraint operator descriptions (2) (#858) 2022-04-07 10:31:06 +02:00
paginate.test.ts Feat/group by projects (#308) 2021-07-07 11:04:36 +02:00
paginate.ts Feat/group by projects (#308) 2021-07-07 11:04:36 +02:00
parseParameter.test.ts refactor: clean up strategy parameter types (#944) 2022-05-04 15:16:34 +02:00
parseParameter.ts refactor: clean up strategy parameter types (#944) 2022-05-04 15:16:34 +02:00
permissions.ts refactor: address custom root roles PR comments (#3994) 2023-06-15 14:03:47 +01:00
projectFilterGenerator.ts fix: resolve issues around changing a toggle's project (#978) 2022-05-18 11:07:19 +02:00
removeEmptyStringFields.test.ts refactor: use camel case for files and dirs (#817) 2022-03-25 12:34:20 +01:00
removeEmptyStringFields.ts refactor: use camel case for files and dirs (#817) 2022-03-25 12:34:20 +01:00
routePathHelpers.ts UI Flags cleanup (#2778) 2023-01-02 15:41:43 +02:00
search.ts feat: improve group users select search (#1988) 2022-08-30 08:06:59 +01:00
sortStrategyParameters.test.ts fix: sort strategy parameters payload (#1218) 2022-08-12 14:49:26 +02:00
sortStrategyParameters.ts fix: sort strategy parameters payload (#1218) 2022-08-12 14:49:26 +02:00
sortTypes.test.ts feat: favorite feature table icons (#2525) 2022-11-30 12:44:38 +00:00
sortTypes.ts feat: favorite feature table icons (#2525) 2022-11-30 12:44:38 +00:00
storage.ts Allow hiding environments from the feature overview screen (#2727) 2023-01-03 15:41:34 +02:00
strategyNames.tsx refactor: styles batch 3 (#2821) 2023-01-11 17:44:21 +01:00
testIds.ts Fix/cr should activate disabled lag free (#3826) 2023-05-23 10:16:09 +03:00
testRenderer.tsx chore: update react-router to v6 (#946) 2022-05-05 13:42:18 +02:00
testServer.ts feat: change own password confirmation (#3894) 2023-06-05 11:58:25 +02:00
unknownify.ts perf: Simplify queries to prometheus (#2706) 2022-12-19 17:06:59 +01:00
validateParameterValue.test.ts fix: avoid validating boolean and undefined parameter values (#1244) 2022-08-24 10:38:08 +02:00
validateParameterValue.ts fix: avoid validating boolean and undefined parameter values (#1244) 2022-08-24 10:38:08 +02:00
variants.ts fix: properly handle flag resolver variants (#3808) 2023-05-18 17:04:55 +01:00