1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-06-27 01:19:00 +02:00
Commit Graph

13975 Commits

Author SHA1 Message Date
renovate[bot]
2e069daf41
chore(deps): update dependency @types/cors to v2.8.19 (#10143)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/cors](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cors)
([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/cors))
| [`2.8.18` ->
`2.8.19`](https://renovatebot.com/diffs/npm/@types%2fcors/2.8.18/2.8.19)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fcors/2.8.19?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fcors/2.8.19?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fcors/2.8.18/2.8.19?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fcors/2.8.18/2.8.19?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" 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:eyJjcmVhdGVkSW5WZXIiOiI0MC41MC4wIiwidXBkYXRlZEluVmVyIjoiNDAuNTAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-17 07:38:08 +00:00
Serhii Sydoruk
369280ae85
fix: correct upgrade link (#10138)
Description:

| State | URL |
| ------------- | ------------- |
| Not working (404) | https://www.getunleash.io/upgrade_unleash |
| Working (200) | https://www.getunleash.io/upgrade-unleash |

Co-authored-by: Сидорук Сергій Віталійович <ssydoruk@alliancedigital.tech>
2025-06-17 09:30:35 +02:00
Christopher Kolstad
f0a2c335fb
task: added flag for CR approver emails (#10144) 2025-06-16 14:08:54 +02:00
renovate[bot]
5bb1656eee
chore(deps): update dependency @swc/core to v1.11.31 (#10142)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@swc/core](https://swc.rs)
([source](https://redirect.github.com/swc-project/swc)) | [`1.11.29` ->
`1.11.31`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.11.29/1.11.31)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@swc%2fcore/1.11.31?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@swc%2fcore/1.11.31?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@swc%2fcore/1.11.29/1.11.31?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@swc%2fcore/1.11.29/1.11.31?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>swc-project/swc (@&#8203;swc/core)</summary>

###
[`v1.11.31`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#11131---2025-06-05)

[Compare
Source](https://redirect.github.com/swc-project/swc/compare/v1.11.29...v1.11.31)

##### Bug Fixes

- **(es/codegen)** Improve comments handling
([#&#8203;10534](https://redirect.github.com/swc-project/swc/issues/10534))
([d9ba838](d9ba838df9))

- **(es/codegen)** Exclude `constructor` from source map names
([#&#8203;10551](https://redirect.github.com/swc-project/swc/issues/10551))
([ef85640](ef85640251))

- **(es/fixer)** Fix a bug with awaited arrow fn expression
([#&#8203;10555](https://redirect.github.com/swc-project/swc/issues/10555))
([9dfdfa6](9dfdfa62d3))

- **(es/minifier)** Fix missing variable
([#&#8203;10478](https://redirect.github.com/swc-project/swc/issues/10478))
([6de3ef6](6de3ef65bc))

- **(es/minifier)** Inline object of member if prop is an ident
([#&#8203;10548](https://redirect.github.com/swc-project/swc/issues/10548))
([e554381](e554381bff))

- **(es/minifier)** Add side effect check for test expr when compressing
IfStmt
([#&#8203;10550](https://redirect.github.com/swc-project/swc/issues/10550))
([3e9728e](3e9728e70c))

- **(es/minifier)** Fix typo in an option name
([#&#8203;10554](https://redirect.github.com/swc-project/swc/issues/10554))
([a303941](a303941a36))

- **(es/parser)** Emit syntax errors for strict mode in non-module or
scripts
([#&#8203;10545](https://redirect.github.com/swc-project/swc/issues/10545))
([1291b4a](1291b4a78c))

- **(es/react-compiler)** Fix usefulness detection
([#&#8203;10506](https://redirect.github.com/swc-project/swc/issues/10506))
([41075a1](41075a1c87))

- **(es/utils)** Fix `extract_var_ids`
([#&#8203;10511](https://redirect.github.com/swc-project/swc/issues/10511))
([5644372](56443727dd))

- **(react-compiler)** Fix fast check
([#&#8203;10538](https://redirect.github.com/swc-project/swc/issues/10538))
([9403ce2](9403ce2e73))

- **(swc_common)** Fix build
([#&#8203;10544](https://redirect.github.com/swc-project/swc/issues/10544))
([2ed934d](2ed934d4a1))

- **(swc_common)** Fix skip condition for sourcemap
([#&#8203;10562](https://redirect.github.com/swc-project/swc/issues/10562))
([cbee0df](cbee0dfa2b))

- **(swc_common)** Fix skip condition for sourcemap, really
([#&#8203;10563](https://redirect.github.com/swc-project/swc/issues/10563))
([14feedb](14feedb552))

- **(swc_common)** Revert skip condition patch
([#&#8203;10564](https://redirect.github.com/swc-project/swc/issues/10564))
([2a2b284](2a2b284f25))

- **(ts/fast-dts)** Correctly emit Symbol-keyed accessors in
declarations
([#&#8203;10508](https://redirect.github.com/swc-project/swc/issues/10508))
([1298e76](1298e767e7))

- **(ts/fast-dts)** Ensure correct emission of template literals and
symbol-keyed properties
([#&#8203;10530](https://redirect.github.com/swc-project/swc/issues/10530))
([8dbdbef](8dbdbef266))

##### Features

- **(es/regexp)** Add crates for RegExp
([#&#8203;10525](https://redirect.github.com/swc-project/swc/issues/10525))
([4b3f924](4b3f924edf))

- **(swc_common)** Add `Globals::clone_data`
([#&#8203;10543](https://redirect.github.com/swc-project/swc/issues/10543))
([39f30b0](39f30b066f))

- **(swc_common)** Add `map_raw_pos` to `Files`
([#&#8203;10560](https://redirect.github.com/swc-project/swc/issues/10560))
([71224c3](71224c3653))

##### Miscellaneous Tasks

- **(bindings)** Use published versions of crates
([#&#8203;10513](https://redirect.github.com/swc-project/swc/issues/10513))
([f65f028](f65f02831c))

- **(ecosystem-ci)** Exclude `ts-node`
([2b284e1](2b284e1930))

##### Performance

- **(es/minifier)** Merge `PropertyCollector` into usage analyzer
([#&#8203;10514](https://redirect.github.com/swc-project/swc/issues/10514))
([505bf54](505bf542cd))

- **(es/minifier)** Remove needless clone
([#&#8203;10523](https://redirect.github.com/swc-project/swc/issues/10523))
([1c02ef6](1c02ef63aa))

- **(es/parser)** Reduce comparison while reading logical
([#&#8203;10526](https://redirect.github.com/swc-project/swc/issues/10526))
([2bc551c](2bc551cb39))

- **(es/renamer)** Merge analyze/collect
([#&#8203;10509](https://redirect.github.com/swc-project/swc/issues/10509))
([7b47f66](7b47f661dd))

- **(swc_common)** Remove `char_indices` calls
([#&#8203;10541](https://redirect.github.com/swc-project/swc/issues/10541))
([51507bc](51507bcfa2))

##### Refactor

- **(es/codegen)** Migrate to `ryu-js` for numeric literal codegen
([#&#8203;10503](https://redirect.github.com/swc-project/swc/issues/10503))
([4bc4244](4bc4244c19))

- **(es/lexer)** Cleanup code for reading tokens
([#&#8203;10533](https://redirect.github.com/swc-project/swc/issues/10533))
([a72092c](a72092c131))

- **(es/lexer)** Share `skip_block_comment`
([#&#8203;10549](https://redirect.github.com/swc-project/swc/issues/10549))
([b101a87](b101a87771))

- **(es/parser)** Share code for parsing strings
([#&#8203;10522](https://redirect.github.com/swc-project/swc/issues/10522))
([931a2d6](931a2d6761))

- **(es/parser)** Cleanup
([#&#8203;10559](https://redirect.github.com/swc-project/swc/issues/10559))
([963ac9e](963ac9efb2))

- **(ts/fast-dts)** Derive computed flags from source code
([#&#8203;10510](https://redirect.github.com/swc-project/swc/issues/10510))
([a2d5664](a2d56645cb))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am
every weekday" 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:eyJjcmVhdGVkSW5WZXIiOiI0MC41MC4wIiwidXBkYXRlZEluVmVyIjoiNDAuNTAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-13 19:49:22 +00:00
Gastón Fournier
6afb9f8796
refactor: migrate from make-fetch-happen to ky and use ky natively (#10134)
Migrate from make-fetch-happen to ky

## Summary:

- Replaced all usages of make-fetch-happen with
[ky](https://github.com/sindresorhus/ky) for HTTP requests.
- Upgraded nock to v14 so it's capable of mocking native fetch
implementation
- Removed the make-fetch-happen dependency
- Ensured all fetch logic is compatible with ky API.

## Why:

- ky provides a modern, lightweight, and promise-based HTTP client with
a simpler API.
- Reduces dependencies and simplifies codebase.

## Testing:

We'll do testing in sandbox environment of the modified functionality
(which is not much) and we also rely on automated testing.

---------

Co-authored-by: Simon Hornby <simon@getunleash.io>
2025-06-13 15:30:47 +02:00
Christopher Kolstad
c13ab85b1c
feat: report hostedBy and licenseType (#10141)
Added two new fields to FeatureInfo (what gets reported as telemetry)
reporting license type and hostedBy. Will be overriden in Enterprise.
2025-06-13 12:44:21 +00:00
Nuno Góis
dbc34a10bd
chore: remove flag enterprise-payg (#10139)
https://linear.app/unleash/issue/2-3602/clean-up-flag-enterprise-payg

Removes
[enterprise-payg](https://app.unleash-hosted.com/hosted/projects/eg/features/enterprise-payg)

Doesn't seem like this is being used anywhere.
2025-06-13 12:05:48 +01:00
Thomas Heartman
366915bf71
chore(1-3832): clean up flag overview redesign (#10140)
Addresses and removes all leftover comments related to the flag overview
redesign flag.

There's four changes here:

1. Remove release plan milestone strategy and environment footer.
Dangling files, no references.
2. Delete old code without references in theme.ts
3. Delete legacy playground result chip. Replace all references to it
with references to the new chip. The API is the exact same and the
legacy chip was just passing through everything to the new chip anyway,
so nothing should change.
4. Remove a now-redundant way to supply a default
2025-06-13 10:41:08 +00:00
Thomas Heartman
b66cff9af5
Chore(1-3825)/remove legacy strategy separator (#10137)
Deletes the legacy strategy separator and removes all references to it.
Luckily, all references to the separator were in dangling files that
could themselves be deleted directly.
2025-06-13 10:06:48 +00:00
Thomas Heartman
74ae35298d
Chore(1-3831)/add edit strategy cleanup pt iv (#10135)
This PR addresses and removes the last comment related to the
addEditStrategy flag. In doing so, I have also removed the remaining
dangling files from the new constraint accordion directory. I believe
that everything that's left in there now is currently in use.
2025-06-13 10:02:12 +00:00
Thomas Heartman
d7c32d688a
Chore(1 3829)/cleanup pt 3 (#10133)
This PR removes more constraint inputs and validators that are not in
use anymore. Additionally, the old constraint components that are still
being used by the project action filter item, have been moved to that
directory. This also goes for ResolveInput which has been simplified to
only the inputs and operators used by actions filter item.

I've done a manual side-by-side comparison of the old and newly
refactored filter item, and it appears to be working the exact same.
2025-06-13 11:48:50 +02:00
Github Actions Bot
3db1eedb4a 7.0.1 2025-06-13 09:38:54 +00:00
Github Actions Bot
d9d3958620 docs: Update CHANGELOG.md 2025-06-13 09:38:44 +00:00
Nuno Góis
3467dfbdb8
chore: remove flag newGettingStartedEmail (#10136)
https://linear.app/unleash/issue/2-3601/clean-up-flag-newgettingstartedemail

Removes
[newGettingStartedEmail](https://app.unleash-hosted.com/hosted/projects/eg/features/newGettingStartedEmail)

Related: 
 - https://github.com/Unleash/unleash/pull/9980
 - https://github.com/Unleash/unleash/pull/9997
 - https://github.com/Unleash/unleash/pull/9998
 - https://github.com/Unleash/unleash/pull/10029
2025-06-13 10:24:13 +01:00
Tymoteusz Czech
d34acb6999
fix: health to debt with ui-flag (#10131)
useFlag is only connected to unleash-frontend project - it's easier to
switch to `useUiFlag` then moving a flag to this project
2025-06-13 11:12:02 +02:00
Christopher Kolstad
b70f862f93
fix: md5 is deprecated and fails FEDRAMP. Replace with sha256 (#10125)
#10121 points out that we're using md5 functions still. This PR updates
our migrations to no longer use md5 at all (so if you haven't run the
migrations, you won't get email hashes until you get to the included
migration with this PR). If you've already run the migrations, we'll
drop the existing `email_hash varchar(32)` column and replace it with a
`email_hash TEXT` column.

We're also replacing the md5 function with `encode(sha256(email),
'hex')`. encode has been supported since PG10, sha256 came with PG11.

Do we want an index on the email_hash? I wasn't sure, but if we want to
do lookup we probably should have an index on it (though not a unique
one)
2025-06-13 09:41:40 +02:00
Gastón Fournier
37a125f0b5
feat: ability to query users with pagination (#10130)
Made a few QoL improvements:
- Don't use default export for class
- Move users store to a feature package (didn't move the interface as it
might be referenced elsewhere)
- Add types for query builders (and ts-expect-error when needed)
2025-06-12 17:43:22 +02:00
Tymoteusz Czech
4e48d90ed8
fix: use technicalDebt property from backend (#10111)
Frontend should load `technicaDebt` from backend instead of
re-calculating it.
2025-06-12 16:50:29 +02:00
Thomas Heartman
d7da5fe6a4
chore(ux): If there's only a single available filter, always show that filter (don't hide it beneath a filters button) (#10127)
This PR offers a little QoL upgrade in cases where you have only a
single available filter: Instead of having to first click "filters" and
then select the only option, we'll now always show the available filter,
whether it's marked as persistent or not.

The filter still gets a 'delete filter' button that clears the filter
(which is more convenient than having to deselect every one of the
options one by one), but the filter won't disappear when you clear it.

Additionally, because the `state` of the filter item will be undefined
if it has no value, I've added a `preventAutoOpen` prop to the
underlying Filter component.

~~I don't understand why we want to auto-open the filter, but it was
added by @kwasniew in https://github.com/Unleash/unleash/pull/5611, so
it appears to be deliberate.~~ The fact that we auto-open the filter
when state is undefined makes this a little tricky. I realized during
this that the reason we do it is that we want the filter to auto-open
when you select it from the dropdown. Maybe there's a better way to do
that than useEffect, but maybe not 🤷🏼

Further, the filter handling logic is quite complex (what filters to
show, ordering, etc), so I've moved as much of that into the multifilter
component, leaving the singlefilter as simple as possible.

I'm ... not particularly proud of the code here, so I'm happy to take
any suggestions for improvements. Happy to throw it all away if you have
a better way to achieve this goal.

## Rendered

The lifecycle insights use the persistent, single filter, the
performance insights do not:

<img width="1629" alt="image"
src="https://github.com/user-attachments/assets/b8599883-97dc-428e-a98f-ad59ad1c74ab"
/>

<img width="1556" alt="image"
src="https://github.com/user-attachments/assets/eacdc4bf-bc60-4e26-a88c-8be7dc5e31be"
/>
2025-06-12 12:25:58 +00:00
Thomas Heartman
e010f31a15
chore(1-3811): use real data for lifecycle trends (#10117)
Connects the lifecycle trends UI to the API and adds a functioning
projects filter. This PR also includes the generated orval models.

<img width="1534" alt="image"
src="https://github.com/user-attachments/assets/6da748d1-3625-4e36-86ee-295ab79e7ccb"
/>
2025-06-12 13:52:10 +02:00
Nuno Góis
75a8b49609
chore: update Slack App URL (#10129)
https://linear.app/unleash/issue/2-3600/update-slack-app-url-to-slack-appgetunleashio

Updates the Slack App URL to: https://slack-app.getunleash.io
2025-06-12 12:04:08 +01:00
Thomas Heartman
3034e94b20
Make headers smaller (#10128)
Makes headers a little smaller. the default h2 size is not the same as
in the theme, but Typography handles it for you.
2025-06-12 12:12:46 +02:00
Christopher Kolstad
bf67dea2f7
chore: Bumped Yarn to 4.9.2 (#10126) 2025-06-12 12:01:43 +02:00
Gastón Fournier
e4af0ae15d
fix(2-3599): docker compose file should use default command from the image (#10124)
Also remove the version which is deprecated

Fixes #10122
2025-06-12 07:33:16 +00:00
dependabot[bot]
907455fbff
chore(deps): bump brace-expansion from 1.1.11 to 1.1.12 in /website (#10123)
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion)
from 1.1.11 to 1.1.12.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/juliangruber/brace-expansion/releases">brace-expansion's
releases</a>.</em></p>
<blockquote>
<h2>v1.1.12</h2>
<ul>
<li>pkg: publish on tag 1.x  c460dbd</li>
<li>fmt  ccb8ac6</li>
<li>Fix potential ReDoS Vulnerability or Inefficient Regular Expression
(<a
href="https://redirect.github.com/juliangruber/brace-expansion/issues/65">#65</a>)
c3c73c8</li>
</ul>
<hr />
<p><a
href="https://github.com/juliangruber/brace-expansion/compare/v1.1.11...v1.1.12">https://github.com/juliangruber/brace-expansion/compare/v1.1.11...v1.1.12</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="c85b8ad3f5"><code>c85b8ad</code></a>
4.0.1</li>
<li><a
href="5a5cc176c0"><code>5a5cc17</code></a>
fmt</li>
<li><a
href="0b6a9781e1"><code>0b6a978</code></a>
Fix potential ReDoS Vulnerability or Inefficient Regular Expression (<a
href="https://redirect.github.com/juliangruber/brace-expansion/issues/65">#65</a>)</li>
<li><a
href="6a39bdddcf"><code>6a39bdd</code></a>
4.0.0</li>
<li><a
href="dd72a59047"><code>dd72a59</code></a>
fmt</li>
<li><a
href="278132b187"><code>278132b</code></a>
feat: use string replaces instead of splits (<a
href="https://redirect.github.com/juliangruber/brace-expansion/issues/64">#64</a>)</li>
<li><a
href="70e4c1baf9"><code>70e4c1b</code></a>
add <code>tea.yaml</code></li>
<li><a
href="b01a637b05"><code>b01a637</code></a>
3.0.0</li>
<li><a
href="9e781e913f"><code>9e781e9</code></a>
node 16 is EOL</li>
<li><a
href="6dad2093f8"><code>6dad209</code></a>
docs</li>
<li>Additional commits viewable in <a
href="https://github.com/juliangruber/brace-expansion/compare/1.1.11...v1.1.12">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=brace-expansion&package-manager=npm_and_yarn&previous-version=1.1.11&new-version=1.1.12)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/Unleash/unleash/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-12 09:11:49 +02:00
Gastón Fournier
d68f17bb1c
docs: Unleash v7 upgrade docs (#10097)
This contains updates to the docs based on the changes done for V7

---------

Co-authored-by: melindafekete <melinda.fekete@getunleash.io>
2025-06-11 16:36:55 +02:00
Gastón Fournier
07998e5588
feat: ability to run npm release from branch (#10120)
This is to be able to release 7.0.0 from the branch 7.0, due to this
failed job
https://github.com/Unleash/unleash/actions/runs/15586992840/job/43895801674

Failure was because package.json already had 7.0.0 and I don't want to
use --force
2025-06-11 16:22:09 +02:00
Github Actions Bot
26791cbd66 7.0.0 2025-06-11 14:01:37 +00:00
Github Actions Bot
9131ab45f9 docs: Update CHANGELOG.md 2025-06-11 14:01:28 +00:00
Gastón Fournier
c658867fab
chore: change package version 2025-06-11 15:59:24 +02:00
Mateusz Kwasniewski
8ee43be6ca
feat: adjust feedback columns (#10119) 2025-06-11 15:50:26 +02:00
Gastón Fournier
4b459d3268
chore: ability to override NODE_ENV in dev (#10118)
Accidentally removed here:
ddb5ffb955 (diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519L43)
2025-06-11 13:26:41 +00:00
Thomas Heartman
0e818c54ad
chore: fix weird button styling (#10113) 2025-06-11 14:07:24 +02:00
Gastón Fournier
ddb5ffb955
chore: add brace-expansion to resolutions (#10116)
Should fix https://github.com/Unleash/unleash/security/dependabot/257
2025-06-11 14:05:10 +02:00
Thomas Heartman
c3dda01d53
delete legacy constraint accordion (#10110)
This PR continues the cleanup after removing the addEditStrategy flag
(part 2 of ???). The primary purpose of this PR is to delete and remove
all references to the LegacyConstraintAccordion.

I've gone and updated all references to the legacy files in external
components and verified manually that they still work.

Most of the files in this PR are changing references. I've extracted two
bits into more general constants/utils:
1. Constraint IDs are a symbol. it was exported as a const from the
previous createEmptyConstraint file. I've moved it into constants.
2. formatOperatorDescription was similarly used all over the place, so
I've placed it in the shared utils directory.

In reviewing this, you can ignore any changes in the legacy constraint
accordion folder, because that's all been deleted. Instead, focus on the
changes in the other files. It's primarily just import updates, but
would be good to get a second set of eyes, anyway.
2025-06-11 12:22:55 +02:00
Thomas Heartman
fa28ee2d6a
Fix invalid dom nesting error and remove redundant braces (#10115)
Fixes a console log about invalid dom nesting:

<img width="1256" alt="image"
src="https://github.com/user-attachments/assets/0849103c-6901-4b64-a124-00eaf8cc7dde"
/>

I've changed the offending div to a span. We set `display: flex` on it,
anyway, so it shouldn't make a difference.

I've also removed some redundant functions and braces that we don't
need.
2025-06-11 12:21:11 +02:00
Mateusz Kwasniewski
4e283dc579
feat: feedback score N/A (#10114) 2025-06-11 12:15:40 +02:00
Thomas Heartman
d2233bc71d
Remove margin right for cleanup box (#10112)
It was misaligned with the rest of the content with this margin. The
original author doesn't remember why it was there, so it's probably safe
to remove.

Before:

![image](https://github.com/user-attachments/assets/444a46c0-1f95-48c0-97a2-b3077a49dfb3)

After:

![image](https://github.com/user-attachments/assets/9d0f085d-437d-46bb-a167-4f9019589c8c)
2025-06-11 09:26:15 +00:00
Thomas Heartman
f299c2b652
chore: fix skeleton loading indicator colors for lifecycle trend tiles (#10109)
Updates the skeleton loading colors for the lifecycle trend tiles
because the previous color was invisible on the median stats section in
light mode. You also wouldn't see any movement in the total number of
flags.

I have not touched the original skeleton color assignment because that
might have unintended consequences throughout the app. Also, I'm not
aware of a way (at the moment) that would do this automatically when
necessary. As such, I have only touched the loading indicators in the
lifecycle tile.

## Before:

Light mode:

![image](https://github.com/user-attachments/assets/3731eb0b-4d63-4622-8b20-0518e6266611)

Dark mode:

![image](https://github.com/user-attachments/assets/6df0197f-7283-4709-b369-38025011c879)


## After:

Light mode:

![image](https://github.com/user-attachments/assets/09f33fa8-322c-4a55-a6e8-4ef384104d74)

Dark mode:

![image](https://github.com/user-attachments/assets/60499b46-c9c7-49cc-a210-50d330682075)
2025-06-11 10:15:59 +02:00
Thomas Heartman
7e61e0dd09
Chore(1-3807)/remove flag add edit strategy take2 (#10108)
Removes all usages of flag addEditStrategy and refactors code where
necessary.

This is only the first step of the cleanup. After this, there's still
lots of code to be removed. I've got a different PR that removes ~5k
lines of code (https://github.com/Unleash/unleash/pull/10105) that I
want to reach in pieces to make sure that everythnig works on the way
there.
2025-06-11 06:03:34 +00:00
Gastón Fournier
2d228eea76
chore: openapi-diff on PRs (#10100) 2025-06-10 16:51:12 +02:00
David Leek
7b0cae2b3e
chore!: remove project health report frontend (#10101) 2025-06-10 14:56:41 +02:00
Tymoteusz Czech
d5acbea711
chore: update frontend schema - technicalDebt (#10098)
generated with `api:gen`
2025-06-10 14:15:09 +02:00
Tymoteusz Czech
1e7d022b5a
chore: remove flag sideMenuCleanup (#10093)
- remove flag
- remove unused components
- adjust e2e test snapshots
2025-06-10 12:23:47 +02:00
David Leek
ffe40cab59
chore: hide/disallow new instances of deprecated integrations (#10104) 2025-06-10 12:19:37 +02:00
Thomas Heartman
45d48d12a9
Chore: add skeleton loaders for lifecycle trend numbers (#10103)
Adds skeleton loading indicators for the lifecycle trend tile numbers:
- total flag count
- median stats

In doing so, I have added the `data-loading` attribute to the
PrettifyLargeNumber component (to avoid having to wrap it in a separate
element for that alone), and have added refs to the InsightsSection
component.

The loading indicators look better in dark mode than in light mode,
because they use the same background color as the text box in light
mode, so only the big number is visible. There is a task in Linear to
look into fixing this.


<img width="1548" alt="image"
src="https://github.com/user-attachments/assets/9e58d681-724e-45cb-baa1-b824dda48008"
/>

<img width="1554" alt="image"
src="https://github.com/user-attachments/assets/7738fac0-5660-464f-8d10-1bf2eacc9ca0"
/>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-10 09:35:32 +00:00
Thomas Heartman
6d7a344ca3
chore: replace flags per user with total number of flags (#10102)
Switches the "flags per user" box with a "total number of flags" label
for the number in the box and an additional description available via
the help icon.

To accurately label the help text and link it to the figure, I've added
a tooltipId prop to the HelpIcon component.

<img width="551" alt="image"
src="https://github.com/user-attachments/assets/f3227e74-5976-454e-9b7d-db0d05927261"
/>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-10 10:02:50 +02:00
Thomas Heartman
f0c19af5a9
chore: rename insights -> analytics (#10095)
Update the title of the insights / analytics page when the menu item
changes

While the side menu item has already changed, this change also updates
the page header and title.

Also fixes an error with a prop that shouldn't have been forwarded.
2025-06-10 08:11:35 +02:00
Mateusz Kwasniewski
444d3ef705
feat: improve feedback UX (#10099) 2025-06-09 13:30:43 +02:00
Tymoteusz Czech
c8933cc8e6
feat: rename health insights to technical debt insights on dashboard (#10082) 2025-06-09 13:00:17 +02:00