1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-05 17:53:12 +02:00
Commit Graph

14211 Commits

Author SHA1 Message Date
FredrikOseberg
175f7b801e
feat: compact graphs 2025-08-15 16:12:14 +02:00
FredrikOseberg
b655291e85
fix: max-width inlining 2025-08-14 16:23:00 +02:00
FredrikOseberg
e13c79853f
fix: inline CSS after children 2025-08-14 16:13:31 +02:00
FredrikOseberg
181a1b416d
fix: add important to styles 2025-08-14 16:03:21 +02:00
FredrikOseberg
89b0814d0f
fix: css 2025-08-14 15:47:08 +02:00
FredrikOseberg
0ff332eeda
fix: inline docusaurus overrides 2025-08-14 15:41:42 +02:00
FredrikOseberg
5f56c2a27e
fix: preload css 2025-08-14 15:31:31 +02:00
FredrikOseberg
94c97aaea8
fix: lazy load reo 2025-08-14 14:54:28 +02:00
FredrikOseberg
e0274782a5
fix: responsible video 2025-08-14 14:47:35 +02:00
FredrikOseberg
36db02d4ab
fix: video 2025-08-14 14:20:36 +02:00
FredrikOseberg
33e6530b93
fix: remove mountain background 2025-08-14 14:05:59 +02:00
FredrikOseberg
b4ae331f08
fix: remove fallback 2025-08-14 13:55:26 +02:00
FredrikOseberg
5ab1aec408
fix: fonts 2025-08-14 13:53:56 +02:00
FredrikOseberg
ff2f9ed97e
fix: cls 2025-08-14 13:45:12 +02:00
FredrikOseberg
74d127e205
feat: lazy load youtube 2025-08-12 14:14:47 +02:00
FredrikOseberg
8f6d440d86
feat: lazy load google analytics 2025-08-12 13:52:45 +02:00
FredrikOseberg
5f84993399
fix: preload fonts 2025-08-11 20:48:14 +02:00
FredrikOseberg
ba82632060
fix: critical css 2025-08-11 20:09:35 +02:00
FredrikOseberg
b4ad51659b
fix: raw loader dependency 2025-08-11 19:36:07 +02:00
FredrikOseberg
59a135f704
fix: largest contentful paint 2025-08-11 19:00:25 +02:00
FredrikOseberg
04453c5663
feat: only load kapa on interaction 2025-08-11 14:30:58 +02:00
FredrikOseberg
2d9f5748f3
feat: lazy load kapa 2025-08-11 14:16:53 +02:00
FredrikOseberg
ab74031daf
chore: update gitignore 2025-08-11 13:32:18 +02:00
Jaanus Sellin
75df390d0b
fix: backfilling lifecycle trends based on new logic (#10476)
Previously lifecycle trends were taking one snapshot per flag, now they
take one per flag per stage it moved.
2025-08-07 15:05:04 +03:00
renovate[bot]
aecde415c3
fix(deps): update dependency prom-client to v15 (#10257) 2025-08-07 07:49:48 -03:00
Yash Malik
287a90a395
docs: Update what-is-a-feature-flag.mdx (#10412)
Fixed hyperlink to the State of DevOps Report
2025-08-07 07:38:02 -03:00
dependabot[bot]
456365f2eb
chore(deps): bump tmp from 0.2.3 to 0.2.4 in /frontend (#10470) 2025-08-07 07:32:15 -03:00
Nuno Góis
63622618b4
fix: environment name cell (#10474)
https://linear.app/unleash/issue/2-3758/fix-environment-name-cell-after-the-latest-changes-to-textcell

Noticed the environment name cell acted differently after
[adjusting](https://github.com/Unleash/unleash/pull/10466/files#diff-485a5be6a3a5d639b56c3b29488125db051ce6b8a0e3561368d657d62dee4975R28)
the span inside TextCell to be `display: inline-flex`.

By wrapping the contents of our TextCell here into a single div we
explicitly declare this to be a single row of elements.
2025-08-07 11:32:06 +01:00
Tymoteusz Czech
98bbf85421
feat: add "cleanup" action to other flag lifecycle stages (#10471) 2025-08-07 11:54:33 +02:00
Tymoteusz Czech
ac67a50693
feat: project-level cleanup reminders (#10464) 2025-08-07 11:44:08 +02:00
Melinda Fekete
b0f4f1b3b9
docs: update diagrams affected by SDK and token renaming (#10463) 2025-08-06 16:31:45 +02:00
Gastón Fournier
a76e501438
chore: update references to repositories (#10465)
---------

Co-authored-by: Melinda Fekete <melinda.fekete@getunleash.io>
2025-08-06 14:45:26 +02:00
Nuno Góis
54a0f68c9c
chore: add project-list-view-toggle Plausible event (#10468)
https://linear.app/unleash/issue/2-3754/add-plausible-event-project-list-view-toggle-with-view

Adds a `project-list-view-toggle` Plausible event with a `view` prop so
we can track if and how the new toggle is used.
2025-08-06 13:47:03 +02:00
Nuno Góis
18c9ea1d7d
chore: if flag is disabled automatically revert to showing cards (#10467)
https://linear.app/unleash/issue/2-3753/fix-if-the-flag-is-disabled-we-should-automatically-revert-back-to

If the flag is disabled we should automatically revert back to showing
cards.
2025-08-06 10:58:07 +00:00
Nuno Góis
44650e4e2f
chore: project list table view (#10466)
https://linear.app/unleash/issue/2-3740/implement-the-project-list-view

Implements the list (table) view of the projects page.

<img width="1300" height="956" alt="image"
src="https://github.com/user-attachments/assets/603bc9a8-21a9-4888-8804-1be23e2d63ee"
/>

<img width="1300" height="681" alt="image"
src="https://github.com/user-attachments/assets/67f6e8e9-cedf-4a70-ba95-b9c73e8d29a8"
/>
2025-08-06 11:36:21 +01:00
Nuno Góis
837c49e4a1
chore: AI flag cleanup should focus on relevant flag (#10462)
https://linear.app/unleash/issue/2-3749/prevent-ai-flag-cleanup-from-removing-the-wrong-flag

This slightly refines our prompt so we're strictly focusing on the
relevant flag, instead of mistakenly targeting other flags.

Also includes:
- Adding our prompt to our output so we can more easily debug it 
- Only grab the last cleanup summary in case there are multiple (more
than one step from the agent)
- Add a warning to the summary in case the agent couldn't find
conditional logic related to the flag, only definitions / configurations

Did a few manual tests and it seemed to work correctly. Example:
https://github.com/Unleash/unleash/pull/10461
2025-08-04 15:57:29 +01:00
Tymoteusz Czech
e1b6979627
Feat: filter flags by "last seen at" (#10449)
This lets users filter features by when they were last reported in metrics.
2025-08-04 14:50:21 +02:00
Nuno Góis
bd5a8539c0
chore: add project list view toggle with respective flag (#10452)
https://linear.app/unleash/issue/2-3746/add-project-list-view-toggle-with-respective-flag

Adds a project list view toggle hidden behind a feature flag:
`projectListViewToggle`.

This is already part of the persistent project list page state.

Even though the view mode switching logic is in place, this isn't really
doing anything else. We'll leave the actual visual changes (tables) for
a follow up PR.

<img width="1412" height="406" alt="image"
src="https://github.com/user-attachments/assets/793d0bd9-9874-4630-98b4-0ee364f50241"
/>
2025-08-04 08:53:04 +01:00
Nuno Góis
91f138349e
chore: fix interactive demo steps around constraint values (#10451)
https://linear.app/unleash/issue/2-3744/fix-interactive-demo-steps-around-constraint-values

I noticed our interactive demo was broken around the constraint value
steps.

This isn't a great fix, but it at least allows us to complete the
interactive demo for now.
2025-08-01 10:56:37 +00:00
Tymoteusz Czech
2629705501
chore: re-generate openapi (#10450)
Update documentation to replace 'server-side' with 'backend' in API schemas
2025-08-01 05:50:03 -03:00
Nuno Góis
0ac997e63e
chore: overhaul project list pages (#10447)
https://linear.app/unleash/issue/2-3743/overhaul-project-list-pages

This is essentially scouting work on our project list pages so we have a
better baseline before proceeding with the cards/list view toggle.

Includes refactoring, fixes and visual improvements ensuring better
consistency and alignment with our designs.

Took some liberties, so feel free to tell me I'm wrong.

### Searching

<img width="1224" height="667" alt="image"
src="https://github.com/user-attachments/assets/3f1bf700-7323-4c00-81db-7b57d125810b"
/>

### Search results only in one of the groups

<img width="1216" height="384" alt="image"
src="https://github.com/user-attachments/assets/f67536e3-42de-4371-9725-c38a6fe0889a"
/>

### No results found

<img width="1218" height="347" alt="image"
src="https://github.com/user-attachments/assets/c15c3555-1f37-473e-8a3e-8a549bd24966"
/>

### Helper text

<img width="334" height="114" alt="image"
src="https://github.com/user-attachments/assets/c9150c9c-22c6-4f73-8989-b9cba4b52793"
/>

### Title truncation with tooltip

<img width="333" height="192" alt="image"
src="https://github.com/user-attachments/assets/1f88d82d-67b2-4327-9301-808fef1e11ac"
/>

### Archived projects

<img width="1075" height="351" alt="image"
src="https://github.com/user-attachments/assets/87b10618-b7c4-4351-87d3-3e678ddd20ae"
/>
2025-08-01 09:46:48 +01:00
Tymoteusz Czech
ddd503952b
feat: add lifecycle stage filter to project feature toggles (#10448)
Backend API is already implemented and ready to be used.

[issue/CTO-244](https://linear.app/unleash/issue/CTO-244/filter-by-lifecycle-on-project-page)
2025-08-01 10:22:32 +02:00
Nuno Góis
3338ea4300
chore: clear unknown flags every 24h instead of every 7d (#10446)
https://linear.app/unleash/issue/2-3738/clear-unknown-flags-every-24h-instead-of-every-7d

Clears unknown flags every 24h instead of every 7d.

This ensures the list stays more relevant by removing stale entries
sooner, allowing users to focus on actively reported unknown flags.

Also includes small improvements, including a new paragraph on the
unknown flags page that better explains the concept of unknown flag
reports.
2025-07-31 11:22:40 +01:00
Thomas Heartman
02d4edbf40
feat: Display example date for date formatting reasons (#10444)
Adds an example date as a detail of the locale picker, so that the user
can see what effect their chosen locale would have on date formatting:

<img width="436" height="157" alt="image"
src="https://github.com/user-attachments/assets/d5757380-3cda-4857-99d7-bac8866d31f5"
/>

The example wraps on smaller screens: 

<img width="291" height="207" alt="image"
src="https://github.com/user-attachments/assets/e3ef1678-6846-4027-b563-253195e2de99"
/>


The example date is the **date and time of the very first commit in the
Unleash repo**. By some stroke of luck, it happens to have everything
we're looking for:
- A date that is more than the 12th (to clearly differentiate between
days and months)
- A month that is less than 10 (to show whether leading zeroes are shown
or not)
- An hour that is more than 11 to show whether it's a 24-hour clock or
an AM/PM system

The date string is without a time zone offset because that means it'll
always be interpreted as local time for the user. MDN's [docs on Date
and what happens when you call it with a time
string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date#date_time_string_format)
state that:

> When the time zone offset is absent, date-only forms are interpreted
as a UTC time and **date-time forms are interpreted as a local time**.

I've checked this by changing my locale. With the timezone offset, the
time changes based on my timezone, but without it, it always shows as
the expected value.
2025-07-31 11:07:32 +02:00
Jaanus Sellin
1d3aea47dc
feat: create flags created vs archived chart (#10429) 2025-07-31 10:54:37 +03:00
Gastón Fournier
2f1ca50bc4
fix: should be allowed to change strategy (#10441)
## About the changes
Previous PR: https://github.com/Unleash/unleash/pull/10439 introduced a
bug not allowing to update the strategy name

This PR modifies a test to also validate the change of strategy and
fixes the problem
2025-07-30 17:25:17 +02:00
Nuno Góis
0d0257bbdc
chore: link to events for that flag name (#10442)
https://linear.app/unleash/issue/2-3737/link-to-events-for-that-flag-name

Adds a link to events for that flag name, in the unknown flags table.

This should help us understand if the flag ever existed in Unleash in
the first place.

<img width="1304" height="803" alt="image"
src="https://github.com/user-attachments/assets/b80c7912-f342-4fd1-b514-6fcafe9f5baf"
/>
2025-07-30 16:19:52 +01:00
Gastón Fournier
9eb19618bf
fix: stickiness should be preserved on strategy updates (#10439)
## About the changes
When stickiness was set to empty or undefined while updating a strategy
via API the stickiness would be lost.

This adds a validation step after creating a strategy, that updating
with the same data used to create the strategy yields the same result.

The main change was lifting the default logic from the store layer to
the service layer and adapting tests accordingly
2025-07-30 15:47:51 +02:00
Gastón Fournier
629624fd1c
docs: update references and names to new SDK nomenclature (#10431)
## About the changes
Follow up on https://github.com/Unleash/unleash/pull/10430 this PR
adapts documentation.

---------

Co-authored-by: Melinda Fekete <melinda.fekete@getunleash.io>
2025-07-30 14:35:37 +02:00
Tymoteusz Czech
58bd646db0
add placeholder to flag link (#10435) 2025-07-30 12:14:13 +02:00