1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-22 11:18:20 +02:00
unleash.unleash/frontend/src/component/feature/FeatureStrategy/FeatureStrategyConstraints
Thomas Heartman 257b8d1f40
test/refactor: useEditableConstraint hook (#9970)
Adds a test suite for the useEditableConstraint hook, attempting to test
all the parts of it that we can't test in isolation.

Plus: a few, small refactorings:
- Renames `onAutoSave` on `onUpdate` to better match `onDelete` (and
because autosave doesn't really mean anything anymore).
- Simplifies and collapses some types
2025-05-13 11:30:07 +02:00
..
FeatureStrategyConstraintAccordionList chore: fix setConstraints being undefined/null (#9972) 2025-05-13 12:20:15 +03:00
RecentlyUsedConstraints chore: align recently used constraints to designs (#9904) 2025-05-06 15:42:38 +03:00
useEditableConstraint test/refactor: useEditableConstraint hook (#9970) 2025-05-13 11:30:07 +02:00
AddSingleValueWidget.tsx chore(1-3639): constraint validation (#9909) 2025-05-06 15:21:33 +02:00
AddValuesPopover.tsx chore(1-3679): use numeric input mode for numbers. (#9875) 2025-05-05 11:30:52 +02:00
AddValuesWidget.tsx chore(1-3639): constraint validation (#9909) 2025-05-06 15:21:33 +02:00
ConstraintDateInput.tsx chore(1-3639): constraint validation (#9909) 2025-05-06 15:21:33 +02:00
ConstraintOperatorSelect.tsx chore: second design pass for editable constraints (#9843) 2025-04-25 10:37:04 +00:00
ConstraintValueSearch.tsx feat: 1-3652/legal value selector visual update (#9829) 2025-04-24 12:17:05 +02:00
EditableConstraint.tsx test/refactor: useEditableConstraint hook (#9970) 2025-05-13 11:30:07 +02:00
FeatureStrategyConstraints.tsx fix: strategy targeting numeric also check value field (#6774) 2024-04-04 11:48:51 +02:00
LegalValuesSelector.tsx chore: clarify deleted legal values warning (#9969) 2025-05-13 10:19:11 +03:00
resolve-legal-values.ts 1-3687/input mode separation (#9882) 2025-05-02 12:30:38 +02:00
ValueList.tsx Refactor: get rid of editable constraint wrapper (#9921) 2025-05-09 11:47:22 +02:00