Christopher Kolstad
|
53354224fc
|
chore: Bump biome and configure husky (#6589)
Upgrades biome to 1.6.1, and updates husky pre-commit hook.
Most changes here are making type imports explicit.
|
2024-03-18 13:58:05 +01:00 |
|
Nuno Góis
|
4167a60588
|
feat: biome lint frontend (#4903)
Follows up on https://github.com/Unleash/unleash/pull/4853 to add Biome
to the frontend as well.
![image](https://github.com/Unleash/unleash/assets/14320932/1906faf1-fc29-4172-a4d4-b2716d72cd65)
Added a few `biome-ignore` to speed up the process but we may want to
check and fix them in the future.
|
2023-10-02 13:25:46 +01:00 |
|
olav
|
4d283f953d
|
refactor: rename Strategies to Strategy types on the frontend (#1990)
|
2022-08-30 09:21:31 +02:00 |
|
Youssef Khedher
|
85950f104a
|
chore: update paths 🧼 (#820)
|
2022-03-28 09:49:59 +01:00 |
|
olav
|
cfc2338e78
|
refactor: use camel case for files and dirs (#817)
|
2022-03-25 12:34:20 +01:00 |
|
olav
|
baae88c7a5
|
feat: add new feature strategy create/edit pages (#739)
* refactor: add param helper hooks
* refactor: remove first add strategy link
* refactor: add more types to useStrategies
* refactor: port strategy utils to TS
* refactor: replace rollout strategy icon
* refactor: use a named export for useFeature
* refactor: add more types to useFeature
* refactor: adjust code box styles
* refactor: add missing PermissionButton variant prop
* refactor: add missing button icon label
* refactor: move common feature components
* refactor: fix StrategyConstraints error prop types
* refactor: fix GeneralStrategy prop types
* feat: add new feature strategy create/edit pages
* refactor: remove feature strategies page
* refactor: fix types in GeneralStrategy
* refactor: use ConstraintAccordion on the new pages
* refactor: use ConditionallyRender for remove button
* refactor: rename FeatureStrategyForm component
* refactor: use the Edit icon for feature strategies
* refactor: fix initial edit mode for new constraints
* refactor: add FeatureStrategyMenu to closed accordions
* refactor: allow editing multiple constraints
* refactor: show single-valued constraint value
* refactor: increase feature overview strategy width
* refactor: add remove button to feature overview strategies
* refactor: move createEmptyConstraint to own file
* refactor: disable submit button for invalid constraints
* refactor: fix nested paragraphs on the metrics page
* refactor: move create/edit feature strategy to modal
* refactor: always open new constraints in edit mode
* refactor: use a PermissionButton for the save button
* refactor: remvoe unsaved constraints on cancel
* refactor: clarify useConstraintsValidation logic
* refactor: remove unused strategy descriptions
* refactor: restore Rollout icon
* refactor: remove sidebar modal slide animation
* refactor: avoid constraint accordion toggle on edit/delete
* refactor: truncate long strategy names
* refactor: find the correct remove button
|
2022-03-09 14:59:24 +01:00 |
|
Youssef Khedher
|
c2842c81e6
|
Refactor/strategies (#668)
* feat: add useStrategiesApi hook
* refactor: remove redux from strategies component
* refactor: CreateStrategy Component
* fix: remove ts errors
* refactor: change strategy-detail to functional component
* refactor: get strategy name from params
* refactor: use features hook and refactor toggle list link
* refactor: StrategiesList
* refactor: fix delete strategy function
* fix: ts errors
* refactor: CreateStrategy to StrategyForm
* feat: add toast for StrategyForm
* refactor: add StrategyView and delete old component
* refactor: StrategyDetails and clean unused files
* fix: cleanup unused code
* fix: add await
* fix: remove unused stores
Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
|
2022-02-11 00:08:55 +01:00 |
|
Fredrik Strand Oseberg
|
57928d50c6
|
Fix/environment list sorting (#447)
* fix: wait for api call before refetching
* fix: set active environment from feature instead of cache
* fix: remove console logs
* fix: add permission icon button to project card
* fix: remove project button
* fix: empty tooltip if it is not passed
* fix: add refresh interval
* fix: permission buttons
* fix: project permission buttons
* fix: remove unused imports
* fix: add projectId
|
2021-10-20 12:05:44 +02:00 |
|
Christopher Kolstad
|
6d42502792
|
Add default strategy type to strategy hook
- Fixes the missing sidebar while loading the strategy types
Trello:
https://trello.com/c/WJk8bI8l/490-feature-strategies-loading-state
|
2021-10-15 11:43:11 +02:00 |
|
Christopher Kolstad
|
166c6fef0e
|
Write a generic http thrower for status > 299 (#405)
* Write a generic http thrower for status > 299
* Perform location reload if user is no longer authorized, i.e if status === 401
|
2021-10-15 09:21:38 +02:00 |
|
Fredrik Strand Oseberg
|
27988e4b30
|
Feat/environment strategies (#339)
* feat: strategies list
* feat: dnd
* fix: resolve reference issues
* feat: configure strategy wip
* feat: rearrange list
* feat: add debounce and execution plan
* feat: add separator
* feat: update strategy
* fix: feature strategy accordion key
* fix: localize parameter update logic
* feat: ts conversion
* fix: perf issues
* feat: production guard
* fix: clean up environment list
* fix: implement markup hooks for environment list
* feat: wip constraints
* fix: handle nested data structure reference issue
* fix: clone deep on child props
* fix: remove constraints check
* fix: revert to strategies length
* fix: refactor useFeature
* feat: cache revalidation
* fix: set correct starting tab
* fix: reset params on adding new strategy
* fix: refactor to use useSWR instead of local cache
* fix: check dirty directly from new params
* fix: dialogue ts
* fix: Clean-up typescript warnings
* fix: some more typescript nits
* feat: strategy execution
* feat: strategy execution for environment
* fix: refactor execution separator
* fix: remove unused property
* fix: add header
* fix: 0 value for rollout
* fix: update snapshots
* fix: remove empty deps
* fix: use constant for env type
* fix: use default for useFeatureStrategy
* fix: update snapshot
* Update src/component/feature/FeatureView2/FeatureStrategies/FeatureStrategiesEnvironments/FeatureStrategiesEnvironmentList/useDeleteStrategyMarkup.tsx
Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
* Update src/component/feature/FeatureView2/FeatureStrategies/FeatureStrategyExecution/FeatureStrategyExecution.tsx
Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
* Update src/component/feature/strategy/EditStrategyModal/general-strategy.jsx
Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
Co-authored-by: UnleashTeam <79193084+UnleashTeam@users.noreply.github.com>
|
2021-09-27 13:35:32 +02:00 |
|