Tymoteusz Czech
a1a7f8e43c
enable login spec
2025-04-18 15:28:54 +02:00
Tymoteusz Czech
3ad83ad8e6
Merge branch 'main' into fix/login-e2e-ci-test
2025-04-18 14:20:42 +02:00
Mateusz Kwasniewski
e436cf72e6
feat: revert to production ( #9802 )
2025-04-18 11:42:43 +02:00
Mateusz Kwasniewski
78f0d02a84
feat: snooze reminder tracking ( #9798 )
2025-04-18 10:10:13 +02:00
Tymoteusz Czech
6403ae7f9b
feat: futureproofing last viewed page redirect ( #9794 )
...
You should not be able to break initial page redirect even if you set
'/' as target. It is not strictly needed in the current code path. This
will create a redirect loop only if you manually modify local storage.
It just makes this part safer if it is ever modified.
2025-04-17 17:40:04 +02:00
Gastón Fournier
02d9143ed1
Revert "Add all specs without matrix"
...
This reverts commit a1ec9f48b0
.
2025-04-17 16:58:20 +02:00
Nuno Góis
ee9b0a0193
chore: demo misc improvements ( #9796 )
...
https://linear.app/unleash/issue/2-2577/transition-screen-between-the-guides
https://linear.app/unleash/issue/2-2582/page-scrolls-in-back
Includes what should be the last batch of demo improvements at this
stage:
- Visually aligns the Back button for consistent layout
- Replaces “Start” with “Start tutorial” for new topics
- Updates topic titles for clarity and consistency
- Applies bold styling to all step titles
- Prevents page scroll when the step target is set to body
2025-04-17 15:56:59 +01:00
Gastón Fournier
bbff88fcfb
Revert a few changes from tests
2025-04-17 16:55:25 +02:00
Gastón Fournier
a1ec9f48b0
Add all specs without matrix
2025-04-17 16:51:46 +02:00
Gastón Fournier
ee43d5cc78
Fix rewrite test
2025-04-17 16:49:30 +02:00
Gastón Fournier
ef481d5821
Ignore login spec
2025-04-17 16:44:28 +02:00
Gastón Fournier
edfc8cb253
Merge remote-tracking branch 'origin/main' into cypress-against-current-ui-nginx
2025-04-17 16:40:45 +02:00
Gastón Fournier
8489d25f1e
Use depends on
2025-04-17 16:34:47 +02:00
Gastón Fournier
c889e5a4f5
Use node http-server with proxy tto unleash
2025-04-17 16:29:50 +02:00
Gastón Fournier
be193b31eb
Use nginx to serve static
2025-04-17 15:33:46 +02:00
Gastón Fournier
38293cd691
Use same cdn prefix as styles and scripts
2025-04-17 15:30:31 +02:00
Nuno Góis
e6813a4910
chore: set new demo step titles ( #9795 )
...
https://linear.app/unleash/issue/2-3517/change-titles-on-various-steps-in-flow
Updates the titles of our demo flow steps as per the designs.
Took some liberties, as always, as e.g. some optional steps were not
covered by the designs.
2025-04-17 13:52:54 +01:00
Gastón Fournier
175bd02ce6
Use a dockerfile to build a frontend image
2025-04-17 14:47:22 +02:00
Gastón Fournier
4623d1a8b6
Make a copy of everything to work on a clean sheet
2025-04-17 14:30:02 +02:00
Mateusz Kwasniewski
7285607cad
feat: remind me later about cleanup ( #9790 )
2025-04-17 14:06:26 +02:00
Gastón Fournier
5e380e24c1
Try install
2025-04-17 13:09:05 +02:00
Gastón Fournier
900bf6c1b9
Install frontend before building docker so we can reuse in cypress test actions
2025-04-17 13:05:38 +02:00
Gastón Fournier
c1c19e307f
Add health check to frontend
2025-04-17 12:47:32 +02:00
Gastón Fournier
3b7cedb82b
feat: run cypress against current branch
2025-04-17 12:28:33 +02:00
Tymoteusz Czech
d60ea1acd4
feat: redirect logic refactor ( #9734 )
2025-04-17 12:07:08 +02:00
David Leek
d406420223
chore: menu cleanups ( #9792 )
2025-04-17 11:59:35 +02:00
Tymoteusz Czech
5ef33b56d6
fix: import path for formatOperatorDescription ( #9791 )
...
Fixing build on main
2025-04-17 09:43:45 +00:00
Tymoteusz Czech
9d2174534f
refactor: deprecate old ConstraintAccordion and point to new version ( #9613 )
...
Code for constraint accordion was copy-pasted before previous
improvement. Old version is still in use for Segments. When we get to
improving constraint editing we should rebuild segments editing, without
use of this code.
2025-04-17 11:16:32 +02:00
Jaanus Sellin
923578c9ea
feat: add values chip styling ( #9789 )
...
Made chips coloring and paddings correct.

2025-04-17 11:54:19 +03:00
Jaanus Sellin
9678054116
feat: styling of new add values ( #9788 )
...
1. Moved add values to the left.
2. Popover has new styling, as in designs

2025-04-17 11:30:36 +03:00
Nuno Góis
d988b61764
chore: update demo final steps content ( #9782 )
...
https://linear.app/unleash/issue/2-2580/change-text-on-last-steps-of-guides-environment-toggle
Updates the demo final steps content as per the designs.
Took some liberties for the third topic, as it was always about gradual
rollout, not variants.
2025-04-17 09:01:11 +01:00
Gastón Fournier
331de07e39
fix: double token initialization ( #9783 )
...
## About the changes
Initially at Unleash we started using `process.nextTick` inside
constructors to delay initialization of services.
Later we stared using a pattern where we instantiate services multiple
times.
The problem is the first pattern implies we have singleton services,
while the second pattern breaks the singleton.
There are reasons for both patterns, but we've decided that
`process.nextTick` inside constructors is not something we want to keep
as it creates side effects from creating objects. Instead this PR
proposes a more explicit approach.
Fixes #9775
2025-04-17 09:22:35 +02:00
renovate[bot]
61c98a9994
chore(deps): update dependency http-proxy-middleware to v2.0.8 [security] ( #9787 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[http-proxy-middleware](https://redirect.github.com/chimurai/http-proxy-middleware )
| [`2.0.7` ->
`2.0.8`](https://renovatebot.com/diffs/npm/http-proxy-middleware/2.0.7/2.0.8 )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
### GitHub Vulnerability Alerts
#### [CVE-2025-32996](https://nvd.nist.gov/vuln/detail/CVE-2025-32996 )
In http-proxy-middleware before 2.0.8 and 3.x before 3.0.4, writeBody
can be called twice because "else if" is not used.
---
### Release Notes
<details>
<summary>chimurai/http-proxy-middleware
(http-proxy-middleware)</summary>
###
[`v2.0.8`](https://redirect.github.com/chimurai/http-proxy-middleware/releases/tag/v2.0.8 )
[Compare
Source](https://redirect.github.com/chimurai/http-proxy-middleware/compare/v2.0.7...v2.0.8 )
#### What's Changed
- fix(fixRequestBody): prevent multiple .write() calls by
[@​chimurai](https://redirect.github.com/chimurai ) in
[https://github.com/chimurai/http-proxy-middleware/pull/1090 ](https://redirect.github.com/chimurai/http-proxy-middleware/pull/1090 )
- fix(fixRequestBody): handle invalid request by
[@​chimurai](https://redirect.github.com/chimurai ) in
[https://github.com/chimurai/http-proxy-middleware/pull/1091 ](https://redirect.github.com/chimurai/http-proxy-middleware/pull/1091 )
- chore(package): v2.0.8 by
[@​chimurai](https://redirect.github.com/chimurai ) in
[https://github.com/chimurai/http-proxy-middleware/pull/1094 ](https://redirect.github.com/chimurai/http-proxy-middleware/pull/1094 )
**Full Changelog**:
https://github.com/chimurai/http-proxy-middleware/compare/v2.0.7...v2.0.8
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "" in timezone Europe/Madrid,
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-16 20:10:43 +00:00
renovate[bot]
4454656713
chore(deps): update dependency http-proxy-middleware to v3.0.5 [security] ( #9785 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[http-proxy-middleware](https://redirect.github.com/chimurai/http-proxy-middleware )
| [`3.0.3` ->
`3.0.5`](https://renovatebot.com/diffs/npm/http-proxy-middleware/3.0.3/3.0.5 )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
### GitHub Vulnerability Alerts
#### [CVE-2025-32997](https://nvd.nist.gov/vuln/detail/CVE-2025-32997 )
In http-proxy-middleware before 2.0.9 and 3.x before 3.0.5,
fixRequestBody proceeds even if bodyParser has failed.
#### [CVE-2025-32996](https://nvd.nist.gov/vuln/detail/CVE-2025-32996 )
In http-proxy-middleware before 2.0.8 and 3.x before 3.0.4, writeBody
can be called twice because "else if" is not used.
---
### Release Notes
<details>
<summary>chimurai/http-proxy-middleware
(http-proxy-middleware)</summary>
###
[`v3.0.5`](https://redirect.github.com/chimurai/http-proxy-middleware/blob/HEAD/CHANGELOG.md#v305 )
[Compare
Source](https://redirect.github.com/chimurai/http-proxy-middleware/compare/v3.0.4...v3.0.5 )
- fix(fixRequestBody): check readableLength
([#​1096](https://redirect.github.com/chimurai/http-proxy-middleware/pull/1096 ))
###
[`v3.0.4`](https://redirect.github.com/chimurai/http-proxy-middleware/blob/HEAD/CHANGELOG.md#v304 )
[Compare
Source](https://redirect.github.com/chimurai/http-proxy-middleware/compare/v3.0.3...v3.0.4 )
- fix(fixRequestBody): handle invalid request
([#​1092](https://redirect.github.com/chimurai/http-proxy-middleware/pull/1092 ))
- fix(fixRequestBody): prevent multiple .write() calls
([#​1089](https://redirect.github.com/chimurai/http-proxy-middleware/pull/1089 ))
- fix(websocket): handle errors in handleUpgrade
([#​823](https://redirect.github.com/chimurai/http-proxy-middleware/pull/823 ))
- ci(package): patch http-proxy
([#​1084](https://redirect.github.com/chimurai/http-proxy-middleware/pull/1084 ))
- fix(fixRequestBody): support multipart/form-data
([#​896](https://redirect.github.com/chimurai/http-proxy-middleware/pull/896 ))
- feat(types): export Plugin type
([#​1071](https://redirect.github.com/chimurai/http-proxy-middleware/pull/1071 ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "" in timezone Europe/Madrid,
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/Unleash/unleash ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-16 20:04:17 +00:00
Melinda Fekete
97ae82c134
docs: hosting options - apply suggestions for latency and client-side context ( #9777 )
2025-04-16 16:07:49 +02:00
Mateusz Kwasniewski
b31845b63c
feat: archive reminder icon ( #9781 )
2025-04-16 16:07:33 +02:00
Nuno Góis
176e9d3187
chore: improve demo auth screen ( #9780 )
...
https://linear.app/unleash/issue/2-2575/adjust-text-login-screen
Adjusts the text for the demo auth screen.
Also took some liberties to improve the visual design of this page (at
least, IMO).
### Before

### After

2025-04-16 15:07:22 +01:00
Nuno Góis
f3a1da9d7e
chore: make demo back button variant text ( #9772 )
...
https://linear.app/unleash/issue/2-2576/make-back-button-less-dominant
Make demo "Back" button `variant='text'` so it's less predominant
visually.
### Before

### After

2025-04-16 14:52:54 +01:00
Nuno Góis
d3d618c9ad
chore: improve demo finish CTA ( #9773 )
...
https://linear.app/unleash/issue/2-2578/change-cta-text-finished-screen
Improves the demo finished dialog CTA.
2025-04-16 14:48:12 +01:00
Mateusz Kwasniewski
a2a8c06003
feat: archive reminder ( #9779 )
2025-04-16 15:47:35 +02:00
Mateusz Kwasniewski
bf8a9b31b3
feat: cleanup reminder ( #9776 )
2025-04-16 15:01:07 +02:00
David Leek
ab594f5c29
feat: move admin menu into nav sidebar ( #9774 )
2025-04-16 14:58:37 +02:00
Nuno Góis
86cfb2f651
fix: demo flow step 4 is too eager on add strategy ( #9771 )
...
https://linear.app/unleash/issue/2-3512/bug-flow-2-enable-for-a-specific-user-doesnt-work
https://linear.app/unleash/issue/2-3513/bug-flow-4-adjust-variants-doesnt-work
Follow-up to #9770
This "add strategy" step of `demoApp.step4` was a bit too eager and did
not properly wait for the accordion to be fully expanded. This change
makes it consistent with the same step in `demoApp.step2`, also
improving its "back" behavior.
2025-04-16 13:14:31 +01:00
Melinda Fekete
aabb364415
docs: Update hosting strategies page ( #9729 )
2025-04-16 12:42:39 +02:00
Nuno Góis
fa4b09ffe5
fix: demo flow consistency with new flag page ( #9770 )
...
https://linear.app/unleash/issue/2-3512/bug-flow-2-enable-for-a-specific-user-doesnt-work
https://linear.app/unleash/issue/2-3513/bug-flow-4-adjust-variants-doesnt-work
Follow-up to #9765
This should make the demo flow a bit more consistent with the new page
design.
The page seems a bit slower in general, so we're being a bit more
aggressive on the cleaning up of demo data to make it faster as well as
adding some delays in key steps of the flow.
2025-04-16 11:35:02 +01:00
Mateusz Kwasniewski
695c50b7d6
chore: cleanup reminder flag ( #9769 )
2025-04-16 11:25:50 +02:00
Jaanus Sellin
187f265680
feat: add values button now actually adds value ( #9768 )
2025-04-16 11:52:36 +03:00
Jaanus Sellin
e9c50a551f
feat: remove add values for legal values ( #9767 )
...
This removes the add values nicely.

2025-04-16 11:06:46 +03:00
Thomas Heartman
c1bb905146
Fix type issues ( #9745 )
2025-04-16 10:36:29 +03:00
dependabot[bot]
4d100e3237
chore(deps): bump estree-util-value-to-estree from 3.2.1 to 3.3.3 in /website ( #9711 )
2025-04-15 19:37:42 +02:00