sighphyre
8410a8e3ac
feat: enabled environments override now also moves projects and toggles to new environments
2022-03-11 15:52:13 +02:00
Thomas Heartman
27a74ecf0d
docs: create initial outline for how to schedule feature releases
2022-03-11 13:58:41 +01:00
Fredrik Oseberg
5646d0cd96
fix: update header
2022-03-11 13:49:37 +01:00
Fredrik Strand Oseberg
472acecdad
Fix/constraints UI ( #779 )
...
* fix: add fixed height to summary
* fix: change wording to negated
* fix: change header margin
* fix: label click length for negated property
* fix: cut values that exceed allow length while leaving others alone
* fix: set edit bg color
* fix: add enter to add values
* fix: expand if constraint changes
* fix: add string truncator to param names
* fix: add validation tests
* fix: string truncator
* fix: accordion margins on expanded
* fix: accordion expansion
* fix: update e2e
* fix: update parseISO
* fix: review comments
* fix: update spec
* fix: add negated visual indicator
2022-03-11 13:46:00 +01:00
sighphyre
c3b064adfc
feat: Add environment variable to set override enabled environments
2022-03-11 11:16:58 +02:00
Renovate Bot
bc9ae58c20
chore(deps): update dependency @types/react to v17.0.40
2022-03-10 15:23:30 +00:00
Fredrik Strand Oseberg
55469801cf
feat: validate strategies ( #1429 )
...
* feat: validate strategies
* fix: optional coalescing on constraints
* fix: update test
2022-03-10 14:43:53 +01:00
Thomas Heartman
3de044ff97
Merge pull request #1430 from Unleash/docs/passord-is-not-password
...
docs: add a note saying passord is Norwegian for password
2022-03-10 14:38:11 +01:00
Thomas Heartman
451fa64018
docs: add a note saying passord is password for Norwegian
2022-03-10 14:22:03 +01:00
Thomas Heartman
d28c046e51
Merge pull request #1428 from Unleash/docs/document-semver-gte-lte
...
docs: document how to get SEMVER_GTE/LTE functionality
2022-03-10 11:45:01 +01:00
Thomas Heartman
9f292465eb
docs: document how to get SEMVER_GTE/LTE functionality
2022-03-10 10:56:59 +01:00
olav
419f655ef5
refactor: improve feature not found page ( #774 )
...
* refactor: improve feature not found page
* refactor: fix feature cache mutation mismatch
2022-03-10 10:52:50 +01:00
olav
4066382b8f
refactor: fix strategy modal issues ( #778 )
...
* refactor: wait for contexts before rendering constraints
* refactor: fix constraints list index
* refactor: move add constraint button for improved focus
2022-03-10 10:40:40 +01:00
Thomas Heartman
b94f7bdb48
Merge pull request #1401 from Unleash/docs/add-feedback-component
...
feat: add feedback component
2022-03-10 10:26:00 +01:00
Thomas Heartman
18c16b3040
fix: make sure customer type is included in the payload.
...
Because it previously set it via a reducer and submitted the form in
the same step, the customer type wouldn't be set correctly before the
form was submitted, causing it to show up as "undefined".
We're doing double the work now, but I think that's an acceptable
trade-off for now.
2022-03-10 10:12:10 +01:00
Thomas Heartman
027eac47ac
feat: add data: "was the form opened manually" and "current page"
2022-03-10 09:48:58 +01:00
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