1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00
unleash.unleash/frontend/src/utils
andreas-unleash 3193423d2d
feat: Project scoped stickiness (#3289)
Project scoped stickiness 
<!-- 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! ❤️ -->

Adds `projectScopedStickiness` flag to experimental.ts
Refactor Stickiness select for reusability
Modify FlexibleStrategy to respect the setting.
Modify EnvironmentVariantModal to respect the setting

## 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-10 12:28:02 +02:00
..
apiUtils.ts
arraysHaveSameItems.test.ts
arraysHaveSameItems.ts
calculatePercentage.ts
cleanConstraint.test.ts
cleanConstraint.ts
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
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
env.ts
formatAccessText.test.ts
formatAccessText.ts
formatConstraintValue.ts
formatDate.ts
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
formatUnknownError.ts
getFeatureMetrics.ts
getFeatureTypeIcons.ts
instanceTrial.test.ts
instanceTrial.ts
nonEmptyArray.ts
objectId.test.ts
objectId.ts
oneOf.ts
operatorsForContext.ts
paginate.test.ts
paginate.ts
parseParameter.test.ts
parseParameter.ts
projectFilterGenerator.ts
removeEmptyStringFields.test.ts
removeEmptyStringFields.ts
routePathHelpers.ts UI Flags cleanup (#2778) 2023-01-02 15:41:43 +02:00
search.ts
sortStrategyParameters.test.ts
sortStrategyParameters.ts
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 Feat/notifications cypress (#3244) 2023-03-08 12:47:42 +02:00
testRenderer.tsx
testServer.ts
unknownify.ts perf: Simplify queries to prometheus (#2706) 2022-12-19 17:06:59 +01:00
validateParameterValue.test.ts
validateParameterValue.ts