Thomas Heartman
22c4752c53
fix: remove empty ruleset
2022-03-10 09:40:28 +01:00
Renovate Bot
139e723362
chore(deps): update dependency @testing-library/react to v12.1.4
2022-03-09 18:32:21 +00: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
Thomas Heartman
32922152e0
Merge pull request #1422 from Unleash/docs/new-constraint-operators
...
docs: update for new strategy constraint operators
2022-03-09 14:27:23 +01:00
Thomas Heartman
ad9709f235
Tell the user what was available prior to 4.9
2022-03-09 13:44:25 +01:00
Youssef Khedher
092755f7c0
fix: remove link color in strategies list ( #773 )
...
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2022-03-09 12:52:15 +01:00
Youssef Khedher
cd59d7d84b
Merge pull request #730 from Unleash/feat/redirect
...
feat: add redirect params to /login
2022-03-09 12:38:57 +01:00
Youssef Khedher
536bbb2bd2
Merge branch 'main' into feat/redirect
2022-03-09 12:01:16 +01:00
Thomas Heartman
613ee550bc
docs: merge currentTime
with "advanced constraints" row
2022-03-09 11:55:21 +01:00
Thomas Heartman
aafa2005e0
Merge branch 'main' into docs/new-constraint-operators
2022-03-09 11:32:42 +01:00
Thomas Heartman
52281512ac
Apply suggestions from code review
...
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2022-03-09 10:56:48 +01:00
Thomas Heartman
fd042f9b1a
docs: update semver format after discussion and alignment
2022-03-09 10:51:24 +01:00
olav
ab4efe0837
refactor: remove unused tooltip prop ( #769 )
...
* refactor: remove unused tooltip prop
* refactor: fix PermissionButton base props
* refactor: sync yarn.lock
* refactor: fix unused ts-expect-error
2022-03-09 10:13:50 +01:00
sighphyre
3910e23d2d
Merge pull request #1408 from Unleash/feat/init-client-tokens
...
Load Client Tokens From Environment on Startup
2022-03-09 09:53:47 +02:00
Thomas Heartman
db9a0e2c54
chore: merge main -> this branch
2022-03-08 13:58:16 +01:00
Thomas Heartman
fee4caf2f9
docs: Add note about how invalid context field values are handled
2022-03-08 13:44:02 +01:00
Thomas Heartman
c0eac49313
fix: delete empty table row
2022-03-08 13:34:11 +01:00
Thomas Heartman
419dda09a0
docs: Update description of currentTime
in the Unleash context.
2022-03-08 13:31:55 +01:00
Thomas Heartman
2f6b067eb5
docs: Update SemVer section: clarify what requirements we have
2022-03-08 13:27:19 +01:00
Thomas Heartman
39d01f46ec
docs: move string operator case sensitivity note to table
2022-03-08 12:57:09 +01:00
Thomas Heartman
774bed5bee
fix: mark .NET sdk as not having currentTime
context field
2022-03-08 12:53:56 +01:00
Thomas Heartman
4ce4a9c2d6
docs: remove 'introduced in' column in Unleash Context table.
2022-03-08 11:22:24 +01:00
Thomas Heartman
05187ce6a9
fix: remove placeholder comment
2022-03-08 11:20:06 +01:00
Thomas Heartman
94f13075ac
docs: add unleash context and compat table updates
2022-03-08 11:14:55 +01:00
Thomas Heartman
decdc083d0
docs: finish first draft of new strat constraints doc.
2022-03-08 11:02:24 +01:00
olav
3ed8564758
fix: move unsaved label below refresh popup ( #772 )
2022-03-08 09:13:48 +01:00
Renovate Bot
5a19f1b878
chore(deps): update typescript-eslint monorepo to v5.14.0
2022-03-07 23:30:00 +00:00
Thomas Heartman
3f5e8524d3
docs: add availability note, finish first draft of constraint ops
2022-03-07 18:25:41 +01:00
Thomas Heartman
731d1374e1
docs: update "constraint structure" section
2022-03-07 17:21:25 +01:00
Thomas Heartman
1b19cac3fa
docs: add description of each of the strat constraint operators.
2022-03-07 17:00:45 +01:00
Thomas Heartman
0b5b74ebab
docs: start scaffolding out new constraint operator info
2022-03-07 15:39:32 +01:00
Youssef Khedher
15bd0fbc84
feat: validate json ( #764 )
...
* feat: add isJSON function
* feat: validate JSON input
* feat: add JSON code editor
* feat: add error message for JSON payload
* feat: validate JSON input
* fix: merge conflict
* fix: conflict in AddFeatureVariant
* refactor: remove code editor for JSON input
* fix: update PR based on feedback
* fix: revert yarn.lock
* fix: revert yarn.lock
* fix: update PR based on feedback
* fix: styles
* fix: json input error message
* fix: remove ts-expect-error
* refactor: change inputProps type
* fix: import InputProps
2022-03-07 13:44:46 +01:00
Thomas Heartman
983fb948d0
Merge pull request #1379 from Unleash/docs/php-compatibility-matrix
...
docs: update php compatibility matrix table
2022-03-07 12:51:56 +01:00
Dominik Chrastecky
2623fb17c4
Mark custom headers - function as supported in PHP SDK
2022-03-07 12:44:37 +01:00
Dominik Chrastecky
29c8f1ec72
Merge remote-tracking branch 'origin/main' into docs/php-compatibility-matrix
2022-03-07 12:42:16 +01:00
Thomas Heartman
c63c9b6fab
docs: minor rewording and clarification around strategy impl/eval
2022-03-07 11:11:51 +01:00
Youssef Khedher
ea401f3ec5
feat: add changeRole ( #768 )
...
* feat: add changeRole in project
* fix: update PR based on feedback
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2022-03-07 09:26:31 +01:00
Renovate Bot
1f854a79ed
chore(deps): update dependency ts-node to v10.7.0
2022-03-06 10:02:47 +00:00
Renovate Bot
e28aacccad
chore(deps): update dependency lint-staged to v12.3.5
2022-03-05 11:01:09 +00:00
Youssef Khedher
ee730e0708
Feat/custom strategy screen ( #722 )
...
* feat: setup new screen structure
* refactor: strategyParameter
* feat: add strategy input errors for required fields
* feat: add create strategy to routes
* feat: add EditStrategy component
* feat: edit strategy view and EditStrategy component
* feat: update EditStrategy component
* test: update snapshots
* fix: styles
* test: update snapshots
* refactor: rename StrategyForm and fix ts errors
* test: update snapshots
* fix: remove test route
* fix: update PR based on feedback
* fix: update PR based on feedback
* refactor: restore feature settings (#712 )
* refactor: resotre feature settings
* fix: update PR based on feedback
* feat: add feature information in Metadata container
* fix: update PR based on feedback
* fix: update PR based on feedback
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
* chore(deps): update dependency @types/react-dom to v17.0.13
* refactor: expect existing TS errors (#767 )
* refactor: expect existing TS errors
* refactor: fail build on new TS errors
* fix: styles
* refactor: rename StrategyForm and fix ts errors
* fix: update PR based on feedback
* fix: cleaning up
* fix: remove errors and warnings
* fix: remove ts-expect-error and fix errors
* fix: ts errors
* Update src/component/strategies/StrategyView/StrategyView.tsx
* Update src/component/strategies/StrategyView/StrategyView.tsx
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: olav <mail@olav.io>
2022-03-04 23:39:41 +01:00
Fredrik Oseberg
084752baf8
4.9.0-beta.0
2022-03-04 17:35:23 +01:00
Fredrik Oseberg
0daf65d064
chore: update frontend
2022-03-04 17:35:02 +01:00
Fredrik Oseberg
fa33bd3ddd
4.9.0-beta.0
2022-03-04 17:30:32 +01:00
Fredrik Strand Oseberg
2c1353d0ea
Feat/new constraints ( #718 )
...
* fix: add initial interface
* feat: create separate components
* feat: implement constraints for existing strategies
* feat: add searchfield
* fix: reset values on context change
* fix: key issue with duplicate values
* fix: increase auto hide duration of errors
* fix: types
* feat: resolve inputs
* fix: add date input
* fix: add filter
* fix: create strategy
* fix: remove unused deps
* feat: validation
* fix: type setError
* feat: handle currentTime based on client spec
* fix: date field
* feat: api validation
* fix: refactor
* fix: refactor
* feat: add compact
* fix: remove unused code
* feat: mobile optimisations
* fix: remove coalescing operator for constraint
* fix: clone deep
* fix: move parseDate
* fix: lift state up for value setting on dates
* fix: rename values
* fix: change type to interface
* fix: lazy initialise values
* fix: create operator type
* fix: update naming
* fix: naming
* fix: aria hidden
* fix: remove optional operator
* fix: rename new constraints
* fix: setup flag
* fix: refactor date check to date-fns
* fix: use date-fns for validation
* fix: detach validators from state
* refactor: move resolve input to it's own component
* fix: remove unused imports
* fix: change values container to overflow auto
* fix: update placeholder
* fix: update import
* fix: backwards compatability
* fix: hide paragraphs if not active
* fix: update path
* fix: update strategy text
2022-03-04 17:29:51 +01:00
Fredrik Strand Oseberg
6f075e4d1c
Feat/new constraint operators ( #1397 )
...
* feat: add migration for currentTime context field
* feat: add tests for number validator
* feat: add validation fields for constraint
* feat: add validation for semver, date and legalvalues
* fix: import paths
* fix: only allow specified operators
* fix: add operator test
* fix: reset db
* fix: remove unused import
* fix: set semver as dependency
2022-03-04 17:29:42 +01:00
Thomas Heartman
300c6abd74
fix: fix broken link in SDK list
2022-03-04 13:52:19 +01:00
Thomas Heartman
c88da63888
Merge pull request #1417 from Unleash/docs/add-offline-info-to-sdks
...
docs: describe how sdks work in offline modes
2022-03-04 13:50:49 +01:00
Thomas Heartman
c0985ad08d
docs: be explicit about what happens if an SDK doesn't have toggles.
2022-03-04 13:43:02 +01:00
Thomas Heartman
304e95f9d7
docs: add working offline section to the SDKs doc
2022-03-04 13:37:59 +01:00
Thomas Heartman
db7848680a
Merge pull request #1416 from Unleash/docs/clarify-activation-evaluation
...
docs: reword and add additional deets re: activation strategy impl
2022-03-04 13:10:03 +01:00