1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-27 11:02:16 +01:00
unleash.unleash/frontend/src/utils
Thomas Heartman e2853acf15
Remove uses of one of / use operator checks instead (#10328)
Updates a few remaining places where we check constraint operators with
the new constraint operator checks. Additionally, because there was only
one remaining place where we used the `oneOf` function, I replaced it
with a normal `includes` check and deleted the `oneOf` util. From what I
can tell, there's no need to have that utility function; it doesn't
provide much benefit over using the language built-ins 🤷🏼
2025-07-08 11:10:45 +02:00
..
api-payload-constraint-replacer.test.ts chore(1-3842): don't reorder constraint properties / make id's non-optional (#10160) 2025-06-19 10:09:38 +02:00
api-payload-constraint-replacer.ts chore(1-3842): don't reorder constraint properties / make id's non-optional (#10160) 2025-06-19 10:09:38 +02:00
apiUtils.ts
arraysHaveSameItems.test.ts
arraysHaveSameItems.ts
calculatePercentage.ts
capitalizeFirst.ts
cleanConstraint.test.ts
cleanConstraint.ts Remove uses of one of / use operator checks instead (#10328) 2025-07-08 11:10:45 +02:00
createEmptyConstraint.ts chore(1-3842): don't reorder constraint properties / make id's non-optional (#10160) 2025-06-19 10:09:38 +02:00
createFeatureStrategy.test.ts
createFeatureStrategy.ts
createLocalStorage.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
cyclicIterator.test.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
cyclicIterator.ts
deepOmit.test.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
deepOmit.ts
env.test.ts
env.ts
format-tag.ts Feat/tag type frontend display (#9630) 2025-03-31 11:55:49 +02:00
formatAccessText.test.ts
formatAccessText.ts feat: command menu items can have description as tooltip now (#7455) 2024-06-26 12:39:53 +03:00
formatConstraintValue.ts Constraint values list (#9592) 2025-03-24 14:26:58 +01:00
formatDate.ts chore: implement event grouping in the event timeline (#8254) 2024-09-26 14:48:52 +01:00
formatOperatorDescription.ts delete legacy constraint accordion (#10110) 2025-06-11 12:22:55 +02:00
formatPath.test.ts
formatPath.ts
formatUnknownError.test.ts
formatUnknownError.ts
getFeatureMetrics.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
getFeatureTypeIcons.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
getTechnicalDebtColor.ts feat: rename health to technical debt (#10063) 2025-06-04 11:01:17 +02:00
instanceTrial.test.ts
instanceTrial.ts
nonEmptyArray.ts
objectId.test.ts
objectId.ts
operatorsForContext.ts Remove uses of one of / use operator checks instead (#10328) 2025-07-08 11:10:45 +02:00
paginate.test.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
paginate.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
parseParameter.test.ts
parseParameter.ts
permissions.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
projectFilterGenerator.ts
removeEmptyStringFields.test.ts
removeEmptyStringFields.ts
reorderObject.test.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
reorderObject.ts
resizeScreen.ts test: onboarding test with existing key (#8116) 2024-09-06 11:50:52 +02:00
routePathHelpers.ts chore: remove create feature component (#7959) 2024-08-22 11:30:41 +03:00
search.ts
serializeQueryParams.ts
sortStrategyParameters.test.ts
sortStrategyParameters.ts
sortTypes.test.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
sortTypes.ts
storage.test.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
storage.ts feat: redirect logic refactor (#9734) 2025-04-17 12:07:08 +02:00
strategyNames.tsx chore!: removing userId strategy for new installations of Unleash (#9800) 2025-06-04 09:30:13 +02:00
testIds.ts
testRenderer.tsx feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
testServer.ts test: reduce noise from test warnings (#8251) 2024-09-25 12:56:09 +02:00
traffic-calculations.test.ts feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
traffic-calculations.ts fix: Data usage graphs don't work in UTC-n time zones (#9530) 2025-03-13 15:44:10 +01:00
unique-change-request-id.ts
unique.ts
unknownify.ts
validateParameterValue.test.ts
validateParameterValue.ts
variants.ts
withTableState.test.tsx feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
withTableState.ts