1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-12-21 20:06:40 +01:00
Commit Graph

188 Commits

Author SHA1 Message Date
Jaanus Sellin
9ac45511b7
feat: now safeguard impact metrics are not editable or deletable (#11006) 2025-11-20 13:22:57 +02:00
David Leek
93ea192f8c
feat: frontend for pkce (#11005) 2025-11-20 10:59:48 +01:00
Jaanus Sellin
ca61906e3c
chore: generate orval (#10980) 2025-11-14 13:50:31 +02:00
Mateusz Kwasniewski
34a34364fb
feat: safeguards api frontend (#10959) 2025-11-10 16:52:07 +01:00
Nuno Góis
699f9e6ce2
fix: enterprise edge stats should take into account full month (#10898)
https://linear.app/unleash/issue/2-3993/fix-enterprise-edge-stats

Fixes Enterprise Edge stats to correctly reflect the average across the
whole month.

Now returns a rounded average with 3 decimal places.

Also includes the average of the last 12 months.
2025-11-03 13:45:38 +00:00
Thomas Heartman
1932d21336
chore: Add state filter to UI query; default to open (#10858)
Add an open/closed filter to the global change requests table.

To accomodate this, the PR:
- refactors the previous `ChangeRequestFilters` into its own directory
with additional files for each of the filter groups.
- updates the change request filters to work based on the table state
instead of its own external state (this was fine with only one param,
but would've gotten too complicated with two).


<img width="1108" height="442" alt="image"
src="https://github.com/user-attachments/assets/9cda0cbc-8524-45ce-b201-260e9581a346"
/>
<img width="1101" height="381" alt="image"
src="https://github.com/user-attachments/assets/ab77b17f-5449-4987-9d08-341e856cb7ac"
/>
2025-10-24 12:30:23 +00:00
Thomas Heartman
47c2bb7376
Chore: update Orval with new state query param (#10860)
Preparing for the UI usage of this.
2025-10-24 12:38:03 +02:00
Jaanus Sellin
9b4a729944
chore: generate orval (#10852) 2025-10-23 15:46:02 +03:00
Thomas Heartman
e8dc64393e
chore: replace hand-crafted schemas with orval-generated schemas (#10849)
They're mostly the same content, however, so nothing much should change.
The `optional` title is already handled in the UI.
2025-10-23 14:29:44 +02:00
Thomas Heartman
feed9ea3c9
chore: show avatars in cross-project change requests table. (#10838)
Updates the CR table cell to show the avatar (again). This applies both
to the project-based table and the global table.

Also adds a truncator to the created by cell, to avoid weird name
stacking.

Because the truncator already has a popup functionality on truncation,
we disable it for the avatars.

To make it compile, I've manually updated the types based on the
schemas. I'll regenerate them at a later date. The fields that were
marked as nullable are typically not nullable (although often they may
not be required) in our schemas, so I'll take it out for now. If we find
that we *are* returning null there, it still shouldn't cause any
problems for the UI, so it's a low risk fix that can be done later if
necessary.

Before:
<img width="1816" height="157" alt="image"
src="https://github.com/user-attachments/assets/37f0b742-4113-45ed-a867-f62913bcf99f"
/>

<img width="1255" height="126" alt="image"
src="https://github.com/user-attachments/assets/786ba01d-1e16-4b4f-b34a-d1157571b9be"
/>


After:
<img width="1789" height="146" alt="image"
src="https://github.com/user-attachments/assets/2a838804-89c5-42c8-a43c-64c1b93c4e01"
/>
<img width="1320" height="72" alt="image"
src="https://github.com/user-attachments/assets/b04ca1d1-8334-40b4-bfba-46d803dd1cda"
/>
2025-10-23 07:44:11 +00:00
Nuno Góis
8ba35507cd
chore: add edge instances to instance stats (#10839)
https://linear.app/unleash/issue/2-3979/add-edge-instances-to-self-reported-instance-stats

Adds edge instances to instance stats.
2025-10-22 16:40:43 +01:00
Mateusz Kwasniewski
0919b7b925
refactor: update/create progression to change progression (#10843) 2025-10-22 15:40:30 +02:00
Jaanus Sellin
aec793ddc7
feat: calculate the esimtate invoice numbers (#10823) 2025-10-17 13:24:09 +03:00
Jaanus Sellin
022226dd43
chore: generate orval (#10820) 2025-10-16 16:11:39 +03:00
Jaanus Sellin
0d252558c4
feat: add new dates and plan price (#10774)
<img width="2159" height="1617" alt="image"
src="https://github.com/user-attachments/assets/478ea289-dc0f-439e-92e4-a22fa44a0650"
/>
2025-10-10 13:44:58 +03:00
Jaanus Sellin
938d25828f
chore: update orval types (#10769) 2025-10-09 21:15:39 +03:00
Tymoteusz Czech
f01f747c9b
chore: update openapi (#10747) 2025-10-07 10:27:54 +00:00
Tymoteusz Czech
44882d52b4
chore: update openapi frontend types (#10739) 2025-10-06 13:26:56 +00:00
Mateusz Kwasniewski
efdfb67c9f
feat: histogram impact metric UI (#10684) 2025-09-24 10:53:58 +02:00
Thomas Heartman
a519cb84f5
Add use change request search hook for UI. (#10664)
Adds a use change request search hook. The hook (and tests) are based
closely on the `useFeatureSearch` files.

I will wire them up to the table in an upcoming PR.

Also: fixes the orval schema to use numbers for offset and limit instead
of strings (enterprise pr incoming). Plus: updates a variable usage in
the use feature search hook.
2025-09-12 12:16:58 +00:00
Thomas Heartman
f9267d9cb4
chore: add orval schemas for change request search (#10661)
Adds first iteration of orval charts for change request searching.
2025-09-12 08:43:22 +00:00
Mateusz Kwasniewski
4a00792f1e
feat: rename impact metrics fields to match prometheus and grafana (#10616) 2025-09-04 11:51:29 +02:00
Mateusz Kwasniewski
88d384573f
feat: read feature impact metrics (#10597) 2025-09-02 13:16:57 +02:00
Mateusz Kwasniewski
bc075a4915
chore: orval feature impact metrics (#10588) 2025-09-01 16:10:54 +02:00
Mateusz Kwasniewski
c36d1554c7
chore: orval with impact metrics (#10573) 2025-08-29 09:23:38 +02:00
David Leek
7fb523e348
chore: add release plans/templates count to instance stats (#10540) 2025-08-28 14:44:24 +02:00
Nuno Góis
edae8801d8
chore: release template resource limits (#10514)
https://linear.app/unleash/issue/2-3790/use-resource-limits-to-limit-the-amount-of-release-templates-you-can

Adds a new resource limit for release templates.

Needs a follow-up PR in Enterprise.
2025-08-21 11:52:09 +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
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
Thomas Heartman
c73b5c7dc3
Generate orval (#10440)
Generates new orval schemas after recent changes to Change Requests
2025-07-30 12:13:37 +02:00
Mateusz Kwasniewski
9a768f7bdc
chore: orval update creation trends (#10409)
Co-authored-by: sjaanus <sellinjaanus@gmail.com>
2025-07-24 13:38:11 +03:00
Mateusz Kwasniewski
299ed65ef7
feat: New production flags chart (#10400) 2025-07-23 15:29:47 +02:00
Mateusz Kwasniewski
0457f5e035
chore: orval generation (#10398) 2025-07-23 13:11:26 +02:00
Jaanus Sellin
30fbc62f9b
feat: group id clickable in event search (#10277)
Now when pressing the group id, the query params get updated.
Also the FilterItem appears and it is possible to discard the group id
selection through it.


![image](https://github.com/user-attachments/assets/83d5446f-4823-4c25-9fdc-870c2e4811d8)
2025-07-02 14:16:40 +03: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
Tymoteusz Czech
d5acbea711
chore: update frontend schema - technicalDebt (#10098)
generated with `api:gen`
2025-06-10 14:15:09 +02:00
Tymoteusz Czech
553ffc62b7
fix: orval for ESM (#10086)
updated Orval and configured it to be compatible with v7.

---------

Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2025-06-05 10:40:58 +00:00
Nuno Góis
a419b8e098
chore: prefer searchEvents over deprecated methods (#10031)
https://linear.app/unleash/issue/2-3577/prefer-the-new-searchevents-method-over-deprecated-methods

We should favor our new `searchEvents` method over the other deprecated
methods. This PR removes these deprecated methods, replaces them with
the new `searchEvents` and `searchEventsCount` methods, and marks the
old endpoints as deprecated.

Follow-up to: https://github.com/Unleash/unleash/pull/10030
2025-05-27 16:19:10 +01:00
Gastón Fournier
abe160eb7d
feat: Unleash v7 ESM migration (#9877)
We're migrating to ESM, which will allow us to import the latest
versions of our dependencies.

Co-Authored-By: Christopher Kolstad <chriswk@getunleash.io>
2025-05-14 09:47:12 +02:00
Nuno Góis
e7da79d974
refactor: clean up dead code after removing deprecated project role access endpoint (#9949)
https://linear.app/unleash/issue/2-3363/remove-post-apiadminprojectsprojectidroleroleidaccess-deprecated-in

Cleans up dead code after removing POST
`/api/admin/projects/{projectId}/role/{roleId}/access` which was
deprecated in v5.5.

Should only be merged after the Enterprise PR.
2025-05-13 13:52:13 +01:00
Nuno Góis
0429c1985a
refactor: remove deprecated get archive featured by project endpoint (#9938)
https://linear.app/unleash/issue/2-3367/remove-get-apiadminarchivefeaturesprojectid-deprecated-in-4110

Removes GET `/api/admin/archive/features/{projectId}` which was
deprecated in v4.11.
Also cleans up related code.

I leveraged our search features endpoint where needed, since that's what
we're using now in our UI (to see archived features you filter by
archived=true).

Builds on top of https://github.com/Unleash/unleash/pull/9924 — Since
they're both related.
2025-05-13 12:09:52 +01:00
Tymoteusz Czech
fd4042db00
chore: update frontend OpenAPI models - (#9943)
project link templates
2025-05-09 13:05:22 +02:00
Mateusz Kwasniewski
193c6274fc
chore: generate orval types (#9919) 2025-05-07 13:37:58 +02:00
Mateusz Kwasniewski
3980cfa2a8
feat: show backend and frontend sdks separately (#9857) 2025-04-29 10:36:02 +02:00
Tymoteusz Czech
bffaab5560
chore: update OpenAPI frontend types (#9834)
For lifecycle-count endpoint
2025-04-24 11:42:27 +00:00
Tymoteusz Czech
1b7cf6d97d
chore: update api types in frontend (#9748)
Get backend changes into frontend types
2025-04-11 20:00:09 +02:00
Fredrik Strand Oseberg
aa6c422165
Feat/tag type frontend display (#9630)
Add frontend for displaying tag colors
2025-03-31 11:55:49 +02:00
Jaanus Sellin
f093a3f4b3
chore: update orval types (#9549) 2025-03-17 11:52:25 +02:00
Mateusz Kwasniewski
29181118ce
chore: orval generation (#9524) 2025-03-12 16:47:55 +01:00
Nuno Góis
242b0de592
chore: show events IP (#9512)
https://linear.app/unleash/issue/2-3392/visualize-event-log-ip-address-on-unleash-enterprise-ui

Shows events IP for Unleash Enterprise.


![image](https://github.com/user-attachments/assets/3ffbc69b-6dce-4c16-9d3d-77a404623d96)
2025-03-12 10:06:29 +00:00