1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
Commit Graph

6361 Commits

Author SHA1 Message Date
olav
a202b81344 refactor: improve constraint date formatting (#789)
* refactor: fix add constraint button text

* refactor: improve constraint date formatting

* refactor: the value, it must be
2022-03-15 13:30:45 +01:00
olav
75ca8077e3 refactor: improve strategy card focus styles (#787) 2022-03-15 10:03:05 +01:00
Renovate Bot
6f0ad78aa2 chore(deps): update dependency cypress to v9.5.2 2022-03-15 00:07:36 +00:00
Renovate Bot
9c3683cf13 chore(deps): update typescript-eslint monorepo to v5.15.0 2022-03-14 23:03:04 +00:00
Renovate Bot
e9cfc17b39 chore(deps): update dependency @babel/core to v7.17.7 2022-03-14 20:15:21 +00:00
Thomas Heartman
8c5657911f docs: add more placeholder / structural content. 2022-03-14 18:36:01 +01:00
Renovate Bot
1bc7b6be03 fix(deps): update dependency unleash-frontend to v4.9.0-beta.2 2022-03-14 13:35:52 +00:00
Fredrik Strand Oseberg
228a72d637 Feat/change form order (#784)
* 4.9.0-beta.1

* 4.9.0-beta.2

* fix: mobile guidance WIP

* fix: add autofocus

* feat: update forms

* refactor: mobile guidance

* fix: add relative as common class

* fix: add max height to codebox
2022-03-14 13:14:26 +01:00
Fredrik Oseberg
e7b2ab3a68 4.9.0-beta.2 2022-03-14 10:53:58 +01:00
Fredrik Oseberg
b85c9f0826 4.9.0-beta.1 2022-03-14 10:53:30 +01:00
olav
bc9ae12683 refactor: fix form submission avoidance on add constraint (#783) 2022-03-14 10:24:39 +01:00
sighphyre
91fa0ed296 fix: update config tests for enabled environments 2022-03-14 10:01:05 +02:00
sighphyre
bf95a40527 docs: describe details of enabled_environments in unleash config docs 2022-03-14 09:48:54 +02:00
Renovate Bot
22f538562d chore(deps): update dependency http-proxy-middleware to v2.0.4 2022-03-13 19:54:03 +00:00
Renovate Bot
3514191cf0 fix(deps): update dependency knex to v1.0.4 2022-03-13 18:06:42 +00:00
Renovate Bot
05887d2ee3 chore(deps): update dependency eslint to v8.11.0 2022-03-12 02:57:51 +00:00
Renovate Bot
e78aee1bcc fix(deps): update dependency unleash-frontend to v4.9.0-beta.1 2022-03-11 22:37:51 +00:00
Renovate Bot
20c0c67c1c chore(deps): update dependency tsc-watch to v4.6.2 2022-03-11 20:13:16 +00:00
olav
f0aa764d3e refactor: wait for UI config for CO flag (#781) 2022-03-11 16:18:38 +01:00
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