Mateusz Kwasniewski
18d317f1ff
feat: pass lifecycle stage to tooltip ( #6904 )
2024-04-23 11:19:24 +02:00
Mateusz Kwasniewski
d59f1adfe5
feat: Stage timeline styling ( #6903 )
2024-04-23 10:15:01 +02:00
Mateusz Kwasniewski
131e9dd6d6
feat: initial sketch for the lifecycle tooltip ( #6899 )
2024-04-23 08:56:18 +02:00
00Chaotic
13aa58e0e9
feat: allow admin login using demo auth ( #6808 )
...
This PR introduces a configuration option (`authentication.demoAllowAdminLogin`) that allows you to log in as admin when using demo authentication. To do this, use the username `admin`.
## About the changes
The `admin` user currently cannot be accessed in `demo` authentication
mode, as the auth mode requires only an email to log in, and the admin
user is not created with an email. This change allows for logging in as
the admin user only if an `AUTH_DEMO_ALLOW_ADMIN_LOGIN` is set to `true`
(or the corresponding `authDemoAllowAdminLogin` config is enabled).
<!-- Does it close an issue? Multiple? -->
Closes #6398
### Important files
[demo-authentication.ts](https://github.com/Unleash/unleash/compare/main...00Chaotic:unleash:feat/allow_admin_login_using_demo_auth?expand=1#diff-c166f00f0a8ca4425236b3bcba40a8a3bd07a98d067495a0a092eec26866c9f1R25 )
## Discussion points
Can continue discussion of [this
comment](https://github.com/Unleash/unleash/pull/6447#issuecomment-2042405647 )
in this PR.
---------
Co-authored-by: Thomas Heartman <thomasheartman+github@gmail.com>
2024-04-23 08:39:33 +02:00
Thomas Heartman
b6833d92aa
feat: split projects view into "my projects" and "other projects" ( #6886 )
...
This PR removes the previous "my projects" filter in favor always
splitting projects, but showing both on the main screen.
To make it a bit easier to work with, it also moves the project group
component into its own file, causing some extra lines of code change. My
apologies 🙇🏼
2024-04-22 13:16:53 +02:00
David Leek
2cb9ceaa72
feat: add selected month summary card for data usage ( #6891 )
...
## About the changes
Adds a summary card that sums up data usage for selected month, and for
Pro shows monthly quota and badge color according to monthly quota
2024-04-19 09:33:19 +02:00
Simon Hornby
6b5cdc2d24
fix: archive toggle no longer respects change request ( #6882 )
2024-04-18 13:10:22 +02:00
Tymoteusz Czech
fd4bcfffa5
Feat: new projects list ( #6873 )
...
New card view for list of projects.
Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2024-04-18 11:20:01 +02:00
Jaanus Sellin
0572d37181
feat: restyle the project meta box ( #6880 )
...
Old:
![image](https://github.com/Unleash/unleash/assets/964450/14b1b2d4-ab54-4027-902c-f1a3028e7ab4 )
New:
![image](https://github.com/Unleash/unleash/assets/964450/8eb07085-e253-4fb4-acf0-2ace2cc4ad2f )
2024-04-18 11:55:15 +03:00
Jaanus Sellin
f0ef7a6f31
feat: feature lifecycle getter hook ( #6876 )
2024-04-18 09:02:03 +03:00
Nuno Góis
bc0704581b
chore: UI SCIM guard for groups ( #6866 )
...
https://linear.app/unleash/issue/2-2113/ui-should-not-allow-manual-management-of-scim-managed-groups-in
Adds a UI SCIM guard when trying to manage groups.
The condition for the guard is:
- Enterprise
- SCIM flag enabled
- SCIM setting enabled
- SCIM group
Similar to https://github.com/Unleash/unleash/pull/6859
2024-04-17 08:27:56 +01:00
Jaanus Sellin
30ea2d91bd
chore: generate orval types ( #6871 )
2024-04-16 21:07:37 +03:00
Thomas Heartman
ef23cc0cc1
chore: add flag for improved project creation ( #6870 )
...
This PR adds the flag for the improved project creation flag to Unleash.
2024-04-16 14:57:52 +02:00
Nuno Góis
279d3431eb
chore: UI SCIM guard for users ( #6859 )
...
https://linear.app/unleash/issue/2-2092/ui-should-not-allow-manual-management-of-scim-managed-users-in-unleash
Adds a UI SCIM guard when trying to manage users.
The condition for the guard is:
- Enterprise
- SCIM flag enabled
- SCIM setting enabled
- SCIM user
![image](https://github.com/Unleash/unleash/assets/14320932/8a5451f1-0d6e-48ba-b090-bb5832c0e9ec )
2024-04-15 14:04:41 +01:00
Thomas Heartman
3d60c2acd0
feat: allow you to filter for "my projects" ( #6855 )
...
This change adds filtering functionality to the project list filter
buttons.
In this case, "my projects" is defined as any project that is marked as
a favorite OR (inclusive or) that you are a part of, as defined by your
user profile.
2024-04-15 11:17:53 +00:00
Jaanus Sellin
9aee1a7c42
feat: change time based feedback to button ( #6837 )
...
![image](https://github.com/Unleash/unleash/assets/964450/34070916-880d-41b6-809a-4046e3a1312f )
2024-04-15 12:44:35 +03:00
Tymoteusz Czech
e10ad7257f
Fix: insights loading ( #6834 )
...
Loading state for
- charts (placeholder data, animation)
- user stats - loading skeleton animation
- empty flags stats
- kept other "stat" widgets as-is, usually not visible
2024-04-15 09:46:56 +02:00
andreas-unleash
04e4201021
fix: insights menu point alignment ( #6847 )
...
What is says on the tin
Closes
[1-2288](https://linear.app/unleash/issue/1-2288/misalignment-insights-beta-menu-item )
<img width="1429" alt="Screenshot 2024-04-12 at 14 42 28"
src="https://github.com/Unleash/unleash/assets/104830839/6b428e6f-e3b7-42e5-aa6b-c807338f5231 ">
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-04-12 15:23:09 +03:00
andreas-unleash
34e917f0ee
fix: Insights placement in drawer nav ( #6846 )
...
Moves the Insights nav menu item down to match desktop ordering
Closes #
[1-2290](https://linear.app/unleash/issue/1-2290/mobile-menu-insights-pops-up-as-the-first-item )
<img width="951" alt="Screenshot 2024-04-12 at 13 12 25"
src="https://github.com/Unleash/unleash/assets/104830839/c4222912-2fb9-4d01-8c82-e3288738f52c ">
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-04-12 14:22:53 +03:00
Thomas Heartman
945e086f81
feat: add "my projects" filter to projects list ( #6831 )
...
This PR adds the buttons (only UI, no functionality) to show either "all
projects" or "my projects".
The buttons use a styled button group and are hidden behind the new
`projectListFilterMyProjects` flag.
The button placement breaks with the previously established page header
pattern of having all actions moved to the right. To accommodate this
new placement, I created a new flex container in the header called
`leftActions`, which is essentially just a mirror of the normal actions.
I went with `leftActions` instead of `inlineStartActions` or something
similar because I think it's clearer, and I don't see us adapting
Unleash for different writing directions right now. We can always change
it later.
I have also slightly increased the end margin of the page header to
accommodate the new designs and to adjust the spacing before the
buttons. I adjusted the margin of the text instead of the padding of the
left actions because this will keep the spacing to the page header the
same on every page. Without it, we could end up in situations where the
spacing changes from page to page based on whether it has left actions
or not, which is probably undesirable.
![image](https://github.com/Unleash/unleash/assets/17786332/7d6ba98c-a34b-45d4-85f4-2b1c2f3dc0c8 )
## Still to do:
### Hover colors
~~Find out what the right hover color variable is. I'm using the light
mode hover color for now, which works well in both light and dark modes
(looks nice and is AAccessible), but it's not the same as the hover
color for other buttons in dark mode.~~
Fixed ☝🏼
### Small windows
Also worth noting: at around 500px, the layout shift starts to cause
problems and we end up with overlapping elements. How do we want to deal
with narrower screens? Today, the UI is pretty functional until we reach
about 250px. It would be nice to not increase that size.
The new version breaking at about 500px:
![image](https://github.com/Unleash/unleash/assets/17786332/bf4f70d7-13b7-410a-9de4-30f4873a2ab8 )
The old version breaking at about 250px:
![image](https://github.com/Unleash/unleash/assets/17786332/2d4e1e9c-8442-471c-91e4-67c024736234 )
### Margins
We also need to figure out how much space we want on smaller windows:
![image](https://github.com/Unleash/unleash/assets/17786332/b12804b1-a2db-4547-88d5-0d9d49221fe2 )
2024-04-12 12:35:47 +02:00
Thomas Heartman
6f79688e2c
feat: display removed context props in the UI ( #6844 )
...
This PR shows context warnings in the UI if they exist.
That means that if you provide invalid properties on the top level,
you'll get the result back, but we'll also tell you that we didn't take
these properties into account.
Screenie:
![image](https://github.com/Unleash/unleash/assets/17786332/06c31b15-a52f-4a22-a1ac-4f326cc34173 )
2024-04-12 12:35:33 +02:00
Nuno Góis
31bf7825c0
chore: SCIM guard for groups ( #6845 )
...
https://linear.app/unleash/issue/2-2111/api-should-not-allow-manual-management-of-scim-managed-groups-in
Introduces a SCIM guard for SCIM groups. SCIM groups should be managed
exclusively by the SCIM client, not Unleash.
We decided to be restrictive for now, completely covering all of the
write methods, but may fine-tune some of this at a later stage.
Will eventually be followed up by a UI-centric PR.
2024-04-12 10:01:57 +01:00
Thomas Heartman
442327eb07
fix: don't add project flag table state config to browser history ( #6824 )
...
This change specifies the update type as `replace` for the
`useQueryParams` hook used to set table state.
Primarily, this prevents the column selection from being added to the
browser
history and more importantly prevents you from changing your config by
navigating through browser history.
However, this also affects other table state, such as changing sorting
order etc. These will also no longer be added to the browser history.
---
Bug description:
In the project flag table, you can select which env columns to show.
However, adding and removing these envs get added as steps in your
browser history. This means that if you add 3 envs, you:
1. have to go back three times to get back to the previous page
2. In doing so, you also inadvertently revert the choices you mean,
which can be confusing.
Steps to reproduce:
1. Navigate to the project screen
2. Use the column selector to add/remove projects. Notice that the URL
changes for each selection you make.
3. After making one or more changes, use the browser's
back-functionality. Notice that you stay on the same page but that the
selected envs (and the URL) change.
2024-04-12 10:58:17 +02:00
Thomas Heartman
7e91cbe1c4
chore: update orval ( #6842 )
...
Includes updates for:
- playground
- parent variant
- scim
- fetaure lifecycle
2024-04-12 10:32:23 +02:00
Nuno Góis
f4ef06f69b
chore: SCIM guard for users ( #6836 )
...
https://linear.app/unleash/issue/2-2093/api-should-not-allow-manual-management-of-scim-managed-users-in
Introduces a SCIM guard for SCIM users. SCIM users should be managed
exclusively by the SCIM client, not Unleash.
We decided to be restrictive for now, completely covering all of the
write methods, but may fine-tune some of this at a later stage.
Will eventually be followed up by a UI-centric PR.
2024-04-12 08:23:35 +01:00
David Leek
88b5bfcb29
chore(ui): add a separate feature flag for traffic visibility UI ( #6832 )
...
## About the changes
Adds a separate feature flag for the traffic data usage UI
2024-04-11 10:37:53 +02:00
Fredrik Strand Oseberg
a979ad802a
fix: replace true on important create screens ( #6822 )
...
This adds replace: true to navigate on the create feature toggle screen
and create project screen. This will make it so you don't go back to the
form after you have created the resource, replacing the entry in the
history with the new url. We can do this in more places, but some of
them require a bit more thought. For example when creating a user, you
navigate from the admin screen to the user page, and then back to the
same screen. Adding `{ replace: true }` in this context makes it so that
when you press back you end up on the same screen, because it's recorded
twice in history.
Another discussion point:
* Would you expect the edit screens to also replace the history?
2024-04-11 09:20:33 +02:00
Thomas Heartman
c9beb864cd
fix: show all envs in project tables unless you've explicitly hidden some ( #6812 )
...
This PR changes the behavior of the project tables' environment columns
based on input from customers.
Up until now, you have been shown either the first project or the first
three projects in the list of the project's environment. The decision on
whether to show one or three is based on screen size. The breakpoint
appears to be about 1280px. Above that you get three, below it you get
one.
With this PR, we'll show you *all* environments by default, regardless
of screen size. However, that's just for the default values. If you
manually change column visibility, those changes will of course be
respected.
I've used a new package, `css-mediaquery`, to test that all screen sizes
show all envs.
2024-04-10 15:07:55 +02:00
Thomas Heartman
1a05bdad2e
chore: add flag for project list filter updates ( #6825 )
...
This PR adds the flag for the project list filter feature we're working
on at the moment.
2024-04-10 14:40:50 +02:00
andreas-unleash
e4ece8bcaa
feat: ttp stat should show No data when exactly 0 ( #6823 )
...
Currently the TimeToProduction stat shows `Fast` for ttp = 0 which is
wrong. Absolute 0 will only happen when there are no data.
Closes
[1-2281](https://linear.app/unleash/issue/1-2281/timetoproduction-stat-should-not-say-fast-when-value-is-0 )
Before:
<img width="321" alt="Screenshot 2024-04-10 at 14 25 48"
src="https://github.com/Unleash/unleash/assets/104830839/f6d3c7af-1674-41c4-b187-ee3bf8df05ba ">
After:
<img width="360" alt="Screenshot 2024-04-10 at 14 25 38"
src="https://github.com/Unleash/unleash/assets/104830839/631ffbe5-475c-4c48-8790-47716e04887b ">
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-04-10 14:47:22 +03:00
andreas-unleash
68a1ba3dec
feat: fill metrics summary missing datapoints with 0 ( #6820 )
...
Fills missing datapoints with 0s so that all metrics chart lines have
data for all datapoints.
Closes #
[1-2278](https://linear.app/unleash/issue/1-2278/fill-the-metrics-data-with-0s-when-not-enough-data-to-fill-the-chart )
Before:
<img width="1547" alt="Screenshot 2024-04-10 at 12 48 22"
src="https://github.com/Unleash/unleash/assets/104830839/35885852-d986-4760-84e2-9e8ef61bedf0 ">
<img width="1550" alt="Screenshot 2024-04-10 at 12 48 44"
src="https://github.com/Unleash/unleash/assets/104830839/3385b8eb-08e2-4cc9-86b2-7b31b9fe81ef ">
After:
<img width="1582" alt="Screenshot 2024-04-10 at 13 43 10"
src="https://github.com/Unleash/unleash/assets/104830839/d3713df3-869b-48ba-b2ab-095027b37506 ">
<img width="1545" alt="Screenshot 2024-04-10 at 13 42 49"
src="https://github.com/Unleash/unleash/assets/104830839/44a6e662-2e9f-4fe8-8299-c15ab8f8e261 ">
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-04-10 14:38:45 +03:00
Fredrik Strand Oseberg
7f1c46a576
fix: show loading features only when loading is happening ( #6817 )
...
Previously, the dummy data would persist when there is no data coming
from the API. This causes us to display dummy data in the dora metrics
table which is not correct. This PR fixes that by only showing the
loading features when we are actually loading.
2024-04-10 12:43:22 +02:00
Thomas Heartman
70eb463443
chore: fix duplicate use of placeholder name ( #6814 )
...
Instead of using two placeholders both called "production", we rename
one of them to "development"
2024-04-10 12:36:09 +02:00
andreas-unleash
00d3490764
fix: Project select should not expand when selecting multiple projects ( #6811 )
...
Currently when you are selecting multiple projects, the autocomplete
expands indefinitely when focused.
This fixes that behaviour by limiting the project select to 1 visible
tag (even when focused) for Insights and 3 tags for Playground (same as
it was)
Closes
[1-2276](https://linear.app/unleash/issue/1-2276/limit-the-project-select-height-or-expand-its-length )
https://github.com/Unleash/unleash/assets/104830839/bf42a06e-8d30-49df-ac5b-a4a4f2685fa9
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-04-10 12:34:11 +03:00
andreas-unleash
fb9855c3fa
fix: Do not show the MetricsChartTooltip InfoSummary when all projects ( #6810 )
...
What it says on the tin
Closes #
[](https://linear.app/unleash/issue/1-2275/hide-bottom-part-of-metrics-tooltip-when-all-projects )
<img width="1677" alt="Screenshot 2024-04-09 at 16 57 13"
src="https://github.com/Unleash/unleash/assets/104830839/2369c6f4-a136-4635-b77b-63aa0087338e ">
<img width="1678" alt="Screenshot 2024-04-09 at 16 55 53"
src="https://github.com/Unleash/unleash/assets/104830839/b29ec13d-5611-40a2-8dc6-af4c5a4ec97a ">
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-04-09 17:48:04 +03:00
Nuno Góis
032419aa76
chore: SCIM settings UI ( #6800 )
...
https://linear.app/unleash/issue/2-1981/ui-allow-users-to-set-up-scim
Adds UI for Provisioning (SCIM) settings.
![image](https://github.com/Unleash/unleash/assets/14320932/e24cf4dd-09d5-459d-bf8a-dd75a966d8eb )
![image](https://github.com/Unleash/unleash/assets/14320932/090a8279-1e98-4d4a-8e21-98cf311f1721 )
![image](https://github.com/Unleash/unleash/assets/14320932/aca67619-6748-4848-8f1f-4de1deb90860 )
2024-04-09 15:26:35 +01:00
andreas-unleash
48b8df8f4e
fix: Health tooltip when all projects should show % ( #6809 )
...
What it says on the tin
Closes #
[1-2274](https://linear.app/unleash/issue/1-2274/health-tooltip-when-all-projects-should-show-percent-values )
<img width="945" alt="Screenshot 2024-04-09 at 16 09 34"
src="https://github.com/Unleash/unleash/assets/104830839/5c8fc8d3-bee6-4bf2-976d-de6f3e3013ca ">
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-04-09 16:20:32 +03:00
Tymoteusz Czech
2b3516dff1
refactor(insights): remove unused chart property ( #6806 )
2024-04-09 12:11:53 +02:00
Tymoteusz Czech
30336819f2
fix(insights): axis rendering after placeholder ( #6805 )
...
Chart options should change when it stops displaying a placeholder/cover. Without this we had axis missing on some renders.
2024-04-09 12:28:56 +03:00
andreas-unleash
2e0ca3150a
fix: fill the datasets with 0s when not enough data points ( #6793 )
...
Fills datasets that do not have all the datapoints with 0 so that every
line in the graph starts at the beginning and ends at the end of graph.
Closes #
[1-2256](https://linear.app/unleash/issue/1-2256/fill-the-data-with-0s-so-that-all-x-axis-labels-have-values )
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2024-04-09 12:24:50 +03:00
andreas-unleash
60262e5d0b
fix: total flags and flags per user when all projects ( #6787 )
...
Fixes the flag stats flagsPerUser calculation and display value.
Previously the calculation depended on project data which might not be
there with the permission changes
Closes #
[1-2255](https://linear.app/unleash/issue/1-2255/unable-to-render-total-number-of-flags-when-there-are-no-project-data )
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-04-09 10:52:09 +03:00
andreas-unleash
e7a9f31eb4
fix: NotEnoughData hiding the header ( #6798 )
...
Before:
<img width="884" alt="Screenshot 2024-04-08 at 15 52 41"
src="https://github.com/Unleash/unleash/assets/104830839/3784a1db-83a8-4414-bda8-3eed698476a2 ">
After:
<img width="879" alt="Screenshot 2024-04-08 at 16 04 54"
src="https://github.com/Unleash/unleash/assets/104830839/117dec8e-6419-448d-89b7-9f6640e59500 ">
Closes #
[1-2267](https://linear.app/unleash/issue/1-2267/fix-zindex-of-notenoughdata-component )
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-04-09 10:29:23 +03:00
andreas-unleash
1d6634d5ae
fix: dark mode background ( #6803 )
...
Fixes a bug where the background of Legal values was white for dark mode
<img width="758" alt="Screenshot 2024-04-09 at 10 10 16"
src="https://github.com/Unleash/unleash/assets/104830839/6936be0f-fc60-49a3-b414-dbb32012f8be ">
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-04-09 10:14:17 +03:00
andreas-unleash
130bc20683
Fix: time to production showing NaN when no data ( #6799 )
...
Before:
<img width="1398" alt="Screenshot 2024-04-08 at 16 20 48"
src="https://github.com/Unleash/unleash/assets/104830839/892860f8-80de-4750-bad2-0e17ac221f1f ">
After:
<img width="1243" alt="Screenshot 2024-04-08 at 16 45 47"
src="https://github.com/Unleash/unleash/assets/104830839/3247c90a-f92f-4d4f-b407-275549b308bf ">
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-04-09 09:27:47 +03:00
Mateusz Kwasniewski
efda70ac5d
feat: feature lifecycle usage behind a flag ( #6786 )
2024-04-05 13:42:03 +02:00
David Leek
f29ecaf3c0
fix: strategy targeting numeric also check value field ( #6774 )
...
API returns both value and values fields. Empty values array causes ui
to think constraint doesnt have a value
This PR checks if value field exists and is empty before returning check
on values and length
2024-04-04 11:48:51 +02:00
andreas-unleash
d466f608c2
chore: convert newContextFieldUI to kill switch ( #6752 )
...
Converts `newContextFieldUI` release flag to
`disableShowContextFieldSelectionValues` kill switch.
The kill switch controls whether we show the value selection above the
search filed when > 100 values
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-04-03 15:02:05 +02:00
Mateusz Kwasniewski
501acd080a
chore: project overview refactor feedback behind a flag ( #6772 )
2024-04-03 13:55:12 +02:00
Jaanus Sellin
a664a449ef
chore: remove strategy form feedback ( #6769 )
2024-04-03 12:16:58 +02:00
Mateusz Kwasniewski
e0ea257f07
fix: tabs alignment ( #6768 )
2024-04-03 12:15:36 +02:00
andreas-unleash
717e541003
fix: make TTP stat show last week calculation ( #6766 )
...
Currently the median time to production stat is showing the aggregated
median across all dates.
This pr changes the calculation to only use the last week summary like
the rest of the stat widgets.
<img width="1665" alt="Screenshot 2024-04-03 at 11 25 31"
src="https://github.com/Unleash/unleash/assets/104830839/c6869b48-99bd-4f5b-a25e-7e0e3a2dc9ef ">
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-04-03 11:58:10 +03:00
Mateusz Kwasniewski
2cbb45de85
fix: loading state ( #6765 )
2024-04-03 10:20:04 +02:00
Mateusz Kwasniewski
d5b73694fa
test: manage variant dependency UI ( #6756 )
2024-04-02 13:52:47 +02:00
andreas-unleash
e7970186d0
Chore: semver constraint context fields improvements ( #6730 )
...
Increases the label width to make the whole box selectable
Adds a small gap to match the style
Closes #
[1-2233](https://linear.app/unleash/issue/1-2233/semver-constraint )
before:
![Screenshot 2024-03-28 at 14 19
39](https://github.com/Unleash/unleash/assets/104830839/bb4a0db7-4054-4c77-aa7f-5dabaff95b94 )
after:
![Screenshot 2024-03-28 at 14 19
16](https://github.com/Unleash/unleash/assets/104830839/0dd6e56e-80c7-4771-ba84-93ad68484c8e )
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-04-02 09:35:11 +03:00
Mateusz Kwasniewski
7f043c7cab
feat: variant dependencies ui ( #6739 )
2024-03-29 19:28:49 +01:00
andreas-unleash
c868b5a868
Feat: context field search and filter improvements ( #6732 )
...
Adds highlighting to search values
Search also looks in `description`
behind a flag - it could possibly degrade performance when too many
items. Tested with 200 and it's ok but anything above might degrade:
Adds a Select/Unselect all button
Shows the selected values above the search
Closes #
[1-2232](https://linear.app/unleash/issue/1-2232/context-field-ui-filter-and-search )
https://github.com/Unleash/unleash/assets/104830839/ba2fe56f-c5db-4ce7-bc3c-1e7988682984
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-03-29 15:44:34 +02:00
Mateusz Kwasniewski
664ceaea09
feat: disabled feature dependency ( #6731 )
2024-03-28 16:02:25 +01:00
andreas-unleash
81aff26394
Chore: constraint context field legal values improvement ( #6729 )
...
Improves how we show context field legal values in the new strategy
configuration.
Refactored makeStyles to styled components
Closes #
[1-2235](https://linear.app/unleash/issue/1-2235/context-field-ui-in-strategy-configuration )
Before:
![Screenshot 2024-03-28 at 12 19
12](https://github.com/Unleash/unleash/assets/104830839/43c62cf4-f344-476f-9ef6-75e388fab000 )
After:
![Screenshot 2024-03-28 at 13 03
46](https://github.com/Unleash/unleash/assets/104830839/16dd03e0-bc67-402b-ba54-56fa1af136a5 )
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-03-28 14:15:14 +02:00
andreas-unleash
5b325568d1
Chore: context fields UI improvements when creating context field ( #6714 )
...
Styling adjustments based on
https://linear.app/unleash/issue/UNL-371/ui-improvement-createedit-context-field
- Remove maxWidth from container
- In ul - add maxHeight, padding and border and hide when :empty
Closes #
[UNL-371](https://linear.app/unleash/issue/UNL-371/ui-improvement-createedit-context-field )
Before:
![Screenshot 2024-03-28 at 11 46
12](https://github.com/Unleash/unleash/assets/104830839/8150fb96-0a5a-4fd8-988a-82a42da51faf )
After:
![Screenshot 2024-03-28 at 11 47
03](https://github.com/Unleash/unleash/assets/104830839/186b806c-4557-42a8-b119-22d1b781cc57 )
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-03-28 13:07:04 +02:00
Mateusz Kwasniewski
99935fec94
feat: keep parent selection in edit dependency dialogue ( #6727 )
2024-03-28 11:15:26 +01:00
Mateusz Kwasniewski
089bc4851e
fix: remove duplicate banner ( #6726 )
2024-03-28 10:17:57 +01:00
gitar-bot[bot]
4932ae0539
[Gitar] Cleaning up stale feature flag: increaseUnleashWidth with value true ( #6724 )
...
Co-authored-by: Gitar Bot <noreply@gitar.co>
Co-authored-by: sjaanus <sellinjaanus@gmail.com>
2024-03-28 11:04:00 +02:00
Mateusz Kwasniewski
c12cb42885
fix: move outdated sdks check up ( #6725 )
2024-03-28 10:00:23 +01:00
gitar-bot[bot]
ca6946df86
chore: [Gitar] Cleaning up stale feature flag: sdkReporting with value true ( #6717 )
...
Co-authored-by: Gitar Bot <noreply@gitar.co>
Co-authored-by: sjaanus <sellinjaanus@gmail.com>
2024-03-28 09:19:11 +02:00
Jaanus Sellin
9393f86c66
feat: padding last seen ( #6716 )
2024-03-27 15:51:11 +02:00
Mateusz Kwasniewski
d7dc01d396
fix: adjust table spacing ( #6715 )
2024-03-27 14:30:05 +01:00
Jaanus Sellin
e8c50f55d5
feat: feedback for project overview ( #6712 )
2024-03-27 15:30:01 +02:00
Mateusz Kwasniewski
6a0135a482
feat: Table with feature overview cell ( #6713 )
2024-03-27 13:30:31 +01:00
Jaanus Sellin
f89c2aa829
chore: useProject cleanup ( #6700 )
2024-03-27 10:28:43 +02:00
Jaanus Sellin
20c41ca148
refactor: remove quering old features endpoint from BulkEnableDialog ( #6698 )
...
This was meant to repull the features, but we are using search, so it
was doing nothing.
I tested and features are still updated after removal.
2024-03-26 22:16:23 +02:00
Jaanus Sellin
93395d2c3f
chore: generate orval types ( #6699 )
2024-03-26 16:38:18 +02:00
Jaanus Sellin
06eda20344
feat: add flag for last seen progress ( #6703 )
2024-03-26 16:31:58 +02:00
Mateusz Kwasniewski
6762703db9
chore: remove extended usage metrics ui flag ( #6701 )
2024-03-26 15:14:39 +01:00
Mateusz Kwasniewski
a3ddefaf6d
feat: feature overview cell ( #6697 )
2024-03-26 14:32:17 +01:00
Jaanus Sellin
dc64a81bb9
feat: last usage metrics in project table ( #6692 )
...
![image](https://github.com/Unleash/unleash/assets/964450/342f43ed-ab81-4875-b855-5e59329288d8 )
2024-03-26 14:50:37 +02:00
Mateusz Kwasniewski
df9229a90c
feat: beta indicator for project insights tab ( #6686 )
2024-03-26 08:55:35 +01:00
Mateusz Kwasniewski
d4f52cdb54
refactor: remove change requests from project insights api ( #6685 )
2024-03-25 14:44:32 +01:00
Mateusz Kwasniewski
501da974d6
feat: fetch change request overview in project overview ( #6683 )
2024-03-25 14:02:06 +01:00
Thomas Heartman
6025ad0f0d
fix: add forwardRef to ProjectSelect component ( #6674 )
...
Make the tooltip for project selection in the playground work properly
again. Right now, it doesn't work due to an error in react refs.
Because we wrap this in a tooltip in the Playground, we need to forward
the ref to the underlying component.
This follows the steps outlined in
https://mui.com/material-ui/guides/composition/#caveat-with-refs
2024-03-25 10:23:22 +01:00
Mateusz Kwasniewski
888a5c1283
feat: project overview change requests ( #6679 )
2024-03-25 10:00:31 +01:00
Mateusz Kwasniewski
a471f7369c
feat: when insights are enabled hide those widgets in other pages ( #6675 )
2024-03-22 12:09:31 +01:00
David Leek
e0994b088a
feat: traffic visibility UI and store ( #6659 )
...
Provides store method for retrieving traffic usage data based on
period parameter, and UI + ui hook with the new chart for displaying
traffic usage data spread out over selectable month.
![Skjermbilde 2024-03-21 kl 12 40
38](https://github.com/Unleash/unleash/assets/707867/539c6c98-b6f6-488a-97fb-baf4fccec687 )
In this PR we copied and adapted a plugin written by DX for highlighting
a column in the chart:
![image](https://github.com/Unleash/unleash/assets/707867/70532b22-44ed-44c0-a9b4-75f65ed6a63d )
There are some minor improvements planned which will come in a separate
PR, reversing the order in legend and tooltip so the colors go from
light to dark, and adding a month -sum below the legend
## Discussion points
- Should any of this be extracted as a separate reusable component?
---------
Co-authored-by: Nuno Góis <github@nunogois.com>
2024-03-22 11:54:33 +01:00
Nuno Góis
a00c17ba3d
chore: upgrade typescript in frontend to 5.4.2 ( #6673 )
...
Follow up to https://github.com/Unleash/unleash/pull/6605
This upgrades TypeScript in frontend to `5.4.2`, matching the version we
have on the server.
Only 2 things broke with this upgrade, so the changes are related to
fixing the types in those places.
This fixes https://github.com/Unleash/unleash/pull/6659
2024-03-22 10:13:44 +00:00
Tymoteusz Czech
ccb067c69c
fix: show segment details in targetting ( #6640 )
...
Preview (eye icon) on a segment in "targetting" when creating or editing
a strategy now corectly shows details of a segment.
Previously it was not showing constraints present in this segment
2024-03-22 10:14:19 +01:00
Jaanus Sellin
f5a7cc9125
refactor: fix stats layout and unify components ( #6671 )
2024-03-22 10:07:44 +02:00
andreas-unleash
e6150def36
chore: call new insights endpoint ( #6664 )
...
What is says on the tin
Closes
#[1-2217](https://linear.app/unleash/issue/1-2217/point-fe-to-new-endpoint )
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-03-22 09:04:15 +02:00
Mateusz Kwasniewski
cf7507db98
fix: Adjust health chart for large values ( #6665 )
2024-03-21 17:56:34 +01:00
Mateusz Kwasniewski
7ca95295bc
fix: render small values in project health ( #6663 )
2024-03-21 15:46:17 +01:00
andreas-unleash
9be15d4976
Chore/rename dashboard files to insights ( #6662 )
...
Renames everything related to `executive dashboard` to `insights`
Closes: # [1-2213](https://linear.app/unleash/issue/1-2213/rename-in-fe )
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-03-21 16:39:03 +02:00
Fredrik Strand Oseberg
8532e08398
fix: default strategy ui update fix ( #6652 )
...
This PR fixes a bug where editing the default strategy would not refresh
the resource it was depending on to display the data. This also surfaces
another issue, which is that project settings is using data from the
getProjectOverview hook to display the default strategies in each
environment. This should be it's own resource, but that is beyond the
scope of this PR.
2024-03-21 15:13:23 +01:00
andreas-unleash
9233d4ca33
fix: chart info naming bug fix ( #6660 )
...
Rename param
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-03-21 13:16:01 +00:00
andreas-unleash
ce4a243165
feat: ttp for all projects should show median value per day ( #6656 )
...
Separates out the calculation of the median to its own file and tested
Closes #
[1-2212](https://linear.app/unleash/issue/1-2212/timetoproduction-for-all-projects-should-show-the-change-in-the-median )
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-03-21 14:21:53 +02:00
andreas-unleash
bce25bf0f1
fix: do not show flagsPerUser when calculation results to NaN ( #6639 )
...
What it says on the tin
Closes #
[1-2209](https://linear.app/unleash/issue/1-2209/total-flag-widget-says-nan-when-no-data )
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2024-03-21 13:29:48 +02:00
Jaanus Sellin
c41ec49615
feat: remove active/inactive members ( #6654 )
...
![image](https://github.com/Unleash/unleash/assets/964450/769ef8bb-834d-4917-898f-b2ba17a9062b )
2024-03-21 11:27:37 +02:00
andreas-unleash
859fe098fe
chore: verify chart names and tooltips ( #6635 )
...
Centralises and improves the chart title and tooltip descriptions.
Closes
[1-2199](https://linear.app/unleash/issue/1-2199/verify-tooltip-texts-and-explanations-are-clear-enough )
[1-2200](https://linear.app/unleash/issue/1-2200/verify-chart-naming )
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2024-03-20 17:38:49 +02:00
andreas-unleash
84707e2bf3
chore: create new flag to hide insights ui ( #6638 )
...
Creates a new flag to control the executive dashboard ui
Closes #
[1-2208](https://linear.app/unleash/issue/1-2208/create-separate-ui-flag-decoupled-from-the-backend-flag )
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-03-20 17:21:46 +02:00
andreas-unleash
33ec7e1894
chore: fix react errors ( #6637 )
...
Fix hook usage react error (console)
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-03-20 17:11:50 +02:00
andreas-unleash
c67ad4222e
fix: ttp stat show latest date ( #6626 )
...
Makes the time to production stats show the current value (latest date).
This aligns it with other stats on the page.
Closes #
[1-2203](https://linear.app/unleash/issue/1-2203/make-the-time-to-production-stats-show-the-latest-current-data )
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-03-20 15:46:00 +02:00
Thomas Heartman
990ef4144e
fix: render values that are N/A ( #6633 )
...
This change makes the tooltip still render values and headers that are
`N/A` (instead of not rendering them at all).
This makes the tooltip more consistent and predictable. At least to
me, it was confusing that some of the values were just hidden sometimes.
I've also added a test to make sure that the tooltip renders the N/A
values.
This is what it looks like now:
![image](https://github.com/Unleash/unleash/assets/17786332/46cb9250-6ce2-4567-a02d-b186f86c1de5 )
2024-03-20 13:44:03 +00:00
Jaanus Sellin
0c0530ddcf
feat: make table scrollable ( #6632 )
2024-03-20 15:29:15 +02:00
Jaanus Sellin
99b5db1691
feat: connect lead time with backend ( #6629 )
2024-03-20 14:40:57 +02:00
Mateusz Kwasniewski
6dc6e36084
feat: expose stats, health and flag types insights ( #6630 )
2024-03-20 13:34:48 +01:00
Jaanus Sellin
1becfc0202
feat: project members widget ( #6628 )
...
![image](https://github.com/Unleash/unleash/assets/964450/7e27dbab-da24-44b2-8336-36df9660bd78 )
2024-03-20 14:30:27 +02:00
Mateusz Kwasniewski
f0e5d075a7
feat: Fetch backend api data insights ( #6622 )
2024-03-20 10:54:21 +01:00
Mateusz Kwasniewski
8ea4aec3d4
chore: orval with project insights ( #6621 )
2024-03-20 09:20:54 +01:00
andreas-unleash
c126ae130d
fix: insights UI improvements and aggreated TTP ( #6584 )
...
Various ui enhancements
Aggregates the time to production and metrics summary by averaging by
date across all projects to get the value. Creates a single dataset for
the aggregation. This makes theme behave like eg the Health chart
(showing aggregated graph when show all projects and per project when
not)
Gradient fill when all projects across all related charts
Attached recording with generated data for 3 months
https://github.com/Unleash/unleash/assets/104830839/7acd80a8-b799-4a35-9a2e-bf3798f56d32
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-03-20 09:24:56 +02:00
Nuno Góis
899d9fe57f
chore: call signal endpoint example ( #6611 )
...
Adds a "call signal endpoint" example to the token dialog.
![image](https://github.com/Unleash/unleash/assets/14320932/9cd2b46e-dca7-4ae1-b389-c83f910cb377 )
2024-03-19 15:53:41 +00:00
Fredrik Strand Oseberg
bb847e2935
chore: move project stats ( #6602 )
...
Add stats to project insights. Will follow up with UI enhancements in a
later iteration.
<img width="1408" alt="Skjermbilde 2024-03-19 kl 13 19 18"
src="https://github.com/Unleash/unleash/assets/16081982/f4726635-99eb-4f27-8c31-5c6d402f2ceb ">
2024-03-19 14:27:42 +01:00
Mateusz Kwasniewski
aeb6291863
feat: change request insights for oss and pro ( #6608 )
2024-03-19 13:43:43 +01:00
Jaanus Sellin
407b348a45
feat: flag types used for project insights ( #6607 )
...
![image](https://github.com/Unleash/unleash/assets/964450/b9eecb3e-eb02-4cc7-96eb-033c010734c0 )
2024-03-19 14:21:54 +02:00
Mateusz Kwasniewski
84005e27cc
feat: change request insights widget ( #6606 )
2024-03-19 12:21:06 +01:00
Jaanus Sellin
ec7bb2dae3
feat: add configurable event for banner goto action ( #6603 )
...
We added banner to get attention of customer, but we are not tracking
its usage.
Added a way to track the **goto action** button.
2024-03-19 12:09:09 +02:00
Mateusz Kwasniewski
52363f176a
feat: project health card ( #6595 )
2024-03-19 09:01:27 +01:00
Mateusz Kwasniewski
72758605b0
feat: project health chart ( #6594 )
2024-03-18 15:44:57 +01:00
Thomas Heartman
c2015c6f33
fix: invalid HTML and react errors in insights pages ( #6593 )
...
This PR fixes these errors (that were showing up in the dev console) in
the insights pages:
- nesting a div within a p in the count header (flags, environments,
apps); instead flip the relationship and nest the p within the div
- missing keys in mapped components
- passing a boolean "scrolled" value to the underlying component (a div)
is invalid: instead, make it so that that prop is not passed
The only one of these that could have a visual impact is the first one
(p>div -> div>p), but it appears to be the same to me.
Here's before the change:
![image](https://github.com/Unleash/unleash/assets/17786332/ffffd3cc-1236-458f-8449-3310b0044f14 )
And here's after:
![image](https://github.com/Unleash/unleash/assets/17786332/9ad2d8f7-9f9e-492f-932e-a194683b1d75 )
2024-03-18 15:25:03 +01:00
Jaanus Sellin
e4af2fbcd5
feat: lead time for changes ( #6592 )
...
![image](https://github.com/Unleash/unleash/assets/964450/3b4d4ed7-6b8d-42b7-81ad-3f006eb1efca )
2024-03-18 16:22:06 +02:00
Nuno Góis
19ae9b5486
fix: project settings selected tab bug ( #6590 )
...
https://linear.app/unleash/issue/2-2034/project-settings-url-bug
This prevents a bug where the wrong tab would show as selected, only
present in an edge case where the project has the name of a settings
tab.
2024-03-18 14:02:29 +00:00
Christopher Kolstad
53354224fc
chore: Bump biome and configure husky ( #6589 )
...
Upgrades biome to 1.6.1, and updates husky pre-commit hook.
Most changes here are making type imports explicit.
2024-03-18 13:58:05 +01:00
Jaanus Sellin
f2c57f0fbd
feat: insights grid initial layout ( #6591 )
2024-03-18 14:50:25 +02:00
Fredrik Strand Oseberg
3621c7282d
feat: setup ff ( #6532 )
...
Setup feature flag for the new refactoring of the project overview page
---------
Co-authored-by: sjaanus <sellinjaanus@gmail.com>
2024-03-18 13:38:59 +02:00
Nuno Góis
a86b8d36b3
chore: redesign action configurations ( #6588 )
...
https://linear.app/unleash/issue/2-2050/redesign-action-definitions-oss
Depends on a PR on Enterprise that will provide a new endpoint with
action configurations.
We should also clean up the now unnecessary constants and hook.
2024-03-18 11:09:49 +00:00
Nuno Góis
fca6146b3a
fix: action select value ( #6582 )
...
This should fix the action select bug where it shows as empty when the
form loads.
2024-03-15 11:54:31 +00:00
gitar-bot[bot]
3d4aa4abcb
[Remix] Cleaning up stale feature flag: proPlanAutoCharge with value true ( #6581 )
2024-03-15 11:53:30 +02:00
Mateusz Kwasniewski
59ee0b3bbe
feat: empty state application list improvements ( #6579 )
2024-03-15 10:02:43 +01:00
andreas-unleash
45634689f8
feat: average time to production chart ( #6565 )
...
Adds live data to TimeToProductionChart and AverageTimeToProduction
gauge.
Create a custom tooltip
Changes the interaction mode for tooltips as per @nicolaesocaciu pairing
session
Improvement:
Extract grouping by project to its own hook (3 charts that needed
grouped data where handling it independently.
<img width="1331" alt="Screenshot 2024-03-14 at 17 19 07"
src="https://github.com/Unleash/unleash/assets/104830839/199c556c-8264-46e3-9dd5-9a864588de1f ">
Closes #
[1-2143](https://linear.app/unleash/issue/1-2143/time-to-production-total-aggregation )
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-03-15 10:37:02 +02:00
Mateusz Kwasniewski
4d78c6dadf
feat: application overview loading state ( #6562 )
2024-03-15 09:08:56 +01:00
andreas-unleash
26ad9fc3f4
Fix: insights beta badge ( #6568 )
...
Reuses the beta badge from insights
<img width="1448" alt="Screenshot 2024-03-14 at 18 01 42"
src="https://github.com/Unleash/unleash/assets/104830839/c85b6838-c120-471b-9ff3-440c4208dc53 ">
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-03-15 09:25:23 +02:00
Nuno Góis
de34497478
chore: drop action definition required ( #6567 )
...
https://linear.app/unleash/issue/2-2046/implement-dynamic-action-parameters
Follow up to https://github.com/Unleash/unleash/pull/6554
Cleans up the `required` property in action definitions after adapting
to using the `parameters` property instead.
2024-03-14 16:32:14 +00:00
Nuno Góis
7a3d2d6d87
chore: dynamic action parameters ( #6554 )
...
https://linear.app/unleash/issue/2-2046/implement-dynamic-action-parameters
Implements dynamic action parameters.
Also improves the action dropdown to better prepare for future actions.
<img width="771" alt="image"
src="https://github.com/Unleash/unleash/assets/14320932/ec3fcaf2-40c8-4dc8-8834-7a0d54671fd2 ">
2024-03-14 15:25:23 +00:00
Mateusz Kwasniewski
05c014cde7
fix: uri decode breadcrumbs ( #6557 )
2024-03-14 15:59:44 +01:00
Mateusz Kwasniewski
146fbbb875
fix: format api path for outdated sdks ( #6555 )
2024-03-14 14:09:59 +01:00
Jaanus Sellin
1780fae022
fix: now issue count under application will show correctly ( #6553 )
...
Previously if multiple environments had same missing SDK, it was counted
multiple times. Now it will take only unique.
2024-03-14 14:52:57 +02:00
Mateusz Kwasniewski
2b2089f7b5
feat: clickable banner modal links ( #6552 )
2024-03-14 13:19:27 +01:00
Nuno Góis
a1af0dd41c
chore: improve action parameters UI ( #6549 )
...
https://linear.app/unleash/issue/2-2041/improve-action-parameters-ui
Improves the UI of action parameters, implementing a new
`ProjectActionsActionParameterAutocomplete` component that allows
search.
![image](https://github.com/Unleash/unleash/assets/14320932/b87de507-2feb-433b-846f-0f3cc61721fa )
2024-03-14 11:25:14 +00:00
andreas-unleash
513d60c14d
Feat: sticky insights header and widget tooltip icon ( #6537 )
...
What it says on the tin
Closes #
[1-2182](https://linear.app/unleash/issue/1-2182/sticky-header-on-scroll )
<img width="1442" alt="Screenshot 2024-03-14 at 10 47 32"
src="https://github.com/Unleash/unleash/assets/104830839/5b57cd95-3c40-48e7-b25b-823df025e68c ">
https://github.com/Unleash/unleash/assets/104830839/f5249fd6-a4cc-4e52-9b01-89ef3cbeb47c
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-03-14 11:33:30 +02:00
andreas-unleash
d6482ab07d
fix: change insights icon to award star ( #6534 )
...
Changes the insights icon to award_star.
Closes #
[1-2180](https://linear.app/unleash/issue/1-2180/change-icon-to-award-star )
<img width="320" alt="Screenshot 2024-03-13 at 13 59 21"
src="https://github.com/Unleash/unleash/assets/104830839/9bece091-23c3-4ebf-beda-31a81c1f75e4 ">
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-03-14 11:33:19 +02:00
Mateusz Kwasniewski
c6fd558da4
feat: show outdated sdks banner ( #6541 )
2024-03-14 10:15:33 +01:00
Nuno Góis
bc6a96cf6b
chore: suggest nested properties in action filters ( #6533 )
...
https://linear.app/unleash/issue/2-2029/support-filtering-on-nested-properties
Suggests nested properties in action filters. Also sorts them
alphabetically.
Follow up to https://github.com/Unleash/unleash/pull/6531
<img width="381" alt="image"
src="https://github.com/Unleash/unleash/assets/14320932/4e2c900d-335b-4360-8be4-186f3887e42b ">
2024-03-13 16:07:01 +00:00
Mateusz Kwasniewski
f7062e2296
feat: making banner more composable ( #6540 )
2024-03-13 16:21:40 +01:00
Tymoteusz Czech
afbc047c77
fix(insights): chart start date ( #6491 )
...
Switch charts to stretch X-axis to the full width
2024-03-13 11:47:25 +02:00
Tymoteusz Czech
f2f38a60dc
Insights dashboard chart colors ( #6504 )
...
Improved consistent colors for charts
![image](https://github.com/Unleash/unleash/assets/2625371/f3cb66ec-89f4-46c3-b98d-e28fd4bc5cb5 )
2024-03-13 11:46:32 +02:00
Tymoteusz Czech
d35ae7827f
feat: insights share events ( #6480 )
...
Figure out how many people are using and sharing insights in Beta.
https://linear.app/unleash/issue/1-2145/track-number-of-opened-share-links
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: andreas-unleash <andreas@getunleash.ai>
2024-03-13 11:45:42 +02:00
Fredrik Strand Oseberg
bfbd18eb97
fix: allow deletion of segments referencing strategies in archived f… ( #6406 )
...
Subset of #6392 , allowing you to delete segments that are referenced in
strategies on archived features.
2024-03-12 15:03:53 +01:00
Christopher Kolstad
d2767a0eb9
task: Make Inactive users an enterprise feature ( #6510 )
...
Ivar pointed out to me that this was intended as an enterprise only
feature. So this PR makes it an enterprise only feature. Conditionally
render the link in the normal user table, and use premium feature
component if you happen to hit the route and not be running on the
enterprise plan.
2024-03-12 10:01:10 +00:00
Fredrik Strand Oseberg
f381718fd6
fix: icon imports ( #6499 )
...
Based on this article:
https://mui.com/material-ui/guides/minimizing-bundle-size/ importing
from `'@mui/icons-material'` instead of specifying the actual path to
the icon like `import Delete from '@mui/icons-material/Delete';` can be
up to six time slower. This change changes all named imports in Unleash
referencing the `@mui/icons-material` to default imports.
This reduced the amount of modules we had to process when building the
frontend from 15206 to 4746
Before:
<img width="1016" alt="Skjermbilde 2024-03-11 kl 14 19 58"
src="https://github.com/Unleash/unleash/assets/16081982/f137d24a-6557-4183-a40f-f62a33524520 ">
After:
<img width="1237" alt="Skjermbilde 2024-03-11 kl 14 20 32"
src="https://github.com/Unleash/unleash/assets/16081982/05a27d6a-2c3f-4409-9862-7188ab4b9c72 ">
Build time locally decreased by around 50%
Before:
<img width="1504" alt="Skjermbilde 2024-03-11 kl 14 31 45"
src="https://github.com/Unleash/unleash/assets/16081982/bc931559-b022-47ed-9f8f-c87401578518 ">
After:
<img width="1219" alt="Skjermbilde 2024-03-11 kl 14 27 00"
src="https://github.com/Unleash/unleash/assets/16081982/3c3a8d6b-576d-45c3-aa40-cc5f95d9df2b ">
2024-03-12 10:56:10 +01:00
Mateusz Kwasniewski
faf2153423
chore: generate orval after frontend api refactor ( #6512 )
2024-03-12 10:28:52 +01:00
Nuno Góis
b4454053e8
fix: check for project in the action permissions check ( #6503 )
...
Fixes the action permission check by also considering the project in the
check.
2024-03-11 15:06:00 +00:00
Jaanus Sellin
2997faecf6
refactor: remove client from frontend api ( #6490 )
...
There was extra call getClient().getAll() not needed and complicating
readability.
2024-03-11 13:30:32 +02:00
andreas-unleash
bf5f38ba1e
fix: chart xAxis and null values ( #6472 )
...
Changes the xAxis from 'week' to 'date' (timeline fix)
Replace null values with 0
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-03-11 09:31:24 +01:00
andreas-unleash
ecd2693cfe
fix: insights navigation ( #6473 )
...
What it says on the tin
Also adds the beta badge
Closes #
[1-2152](https://linear.app/unleash/issue/1-2152/adjust-insights-placement-in-navigation )
<img width="902" alt="Screenshot 2024-03-08 at 16 14 59"
src="https://github.com/Unleash/unleash/assets/104830839/3e67cba3-fb0f-438c-9e53-e51d923a373e ">
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-03-11 09:31:03 +01:00
Nuno Góis
7d827442ee
fix: add actions validation ( #6481 )
...
https://linear.app/unleash/issue/2-2022/improve-actions-validation
Improves our current actions form validation.
Empty actions are now ignored on the payload and we get errors in
actions where any of the required fields are empty.
Also refactored our current actions into a constant map that can be
shared across frontend and backend.
2024-03-11 08:18:36 +00:00
Nuno Góis
9148820a8f
fix: project tokens path typo ( #6468 )
...
Noticed a small typo in the path shown in the project API access side
panel.
2024-03-08 08:44:48 +01:00
Alvin Bryan
a0ac148829
Typo fix in ChangeRequestTable.tsx ( #6465 )
...
There was a typo in the original message, it said "Unleash Admin already
have" (either "admins already have," or "admin already has.")
Fixed it and improved the wording a little bit.
2024-03-07 17:19:30 +00:00
Nuno Góis
26d7065dc3
chore: add actions warning to delete project ( #6467 )
...
https://linear.app/unleash/issue/2-1831/what-happens-with-automated-actions-if-the-project-is-archived
Adds an actions-related warning to the project deletion.
<img width="1008" alt="image"
src="https://github.com/Unleash/unleash/assets/14320932/06fcaab0-c4a1-4ba3-8879-0c188f3bc01a ">
2024-03-07 17:04:36 +00:00
Nuno Góis
52d63bc726
fix: new signals icon ( #6461 )
...
https://linear.app/unleash/issue/2-2010/use-svg-icon-for-signals
Uses a new SVG icon for Signals for consistency.
![image](https://github.com/Unleash/unleash/assets/14320932/32b46172-d483-4fd8-8b12-957a32a877f5 )
2024-03-07 11:12:56 +00:00
andreas-unleash
ec6c439c09
feat: updates per environment type chart ( #6449 )
...
Creates the updates per environment type chart.
(forgive the sample data)
Closes #
[1-2034](https://linear.app/unleash/issue/1-2034/widget-updates-per-environment-type-frontend )
<img width="1385" alt="Screenshot 2024-03-06 at 16 52 18"
src="https://github.com/Unleash/unleash/assets/104830839/b05479f8-de8b-4de7-98a3-a1285737db0d ">
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-03-07 11:00:18 +02:00
Nuno Góis
8a67640aed
fix: align privacy policy link to the center ( #6451 )
...
Aligns the privacy policy to the center in the profile dropdown, just
like we do for the profile settings.
![image](https://github.com/Unleash/unleash/assets/14320932/0d0565eb-7b28-4b46-acb3-bbaef143fb8d )
2024-03-06 17:15:07 +00:00
Nuno Góis
64593c57cf
chore: new actions UI ( #6448 )
...
https://linear.app/unleash/issue/2-1995/ui-feature-rename-adapt-the-actions-ui
Refreshes the UI for project actions according to the new designs and
suggestions from @gastonfournier and @nicolaesocaciu
Also includes some refactoring.
![image](https://github.com/Unleash/unleash/assets/14320932/83e8e8ed-46aa-471b-9d1d-0c051a298a9a )
2024-03-06 15:08:15 +00:00
Tymoteusz Czech
85e9c934a9
Insights UI improvements ( #6433 )
...
- improved page header
- added help text to health and metrics
- updated style for flag stats widget
- fixed users widget shadow
2024-03-06 12:19:27 +01:00
Nuno Góis
86a795e87c
chore: new actions table UI ( #6435 )
...
https://linear.app/unleash/issue/2-1995/ui-feature-rename-adapt-the-actions-ui
https://linear.app/unleash/issue/2-1988/nice-to-have-last-action-status-on-the-action-sets-table
Brings the project actions table UI up to par with the new designs,
implementing some features that were discussed with UX.
![image](https://github.com/Unleash/unleash/assets/14320932/1a8ef47d-ab33-4284-9650-4c2481dd16dc )
![image](https://github.com/Unleash/unleash/assets/14320932/c19f6691-67a5-4abc-a546-837e25cad388 )
![image](https://github.com/Unleash/unleash/assets/14320932/61e3f221-ae93-4d87-98f1-db2782285d2e )
2024-03-05 11:33:34 +00:00
Tymoteusz Czech
6cede446e5
feat(insights): placeholder for empty metrics ( #6422 )
2024-03-05 09:38:17 +01:00
Tymoteusz Czech
6678012b03
feat: add menu item for insights ( #6420 )
2024-03-05 09:38:05 +01:00
Nuno Góis
de5a0f2825
chore: add new signals icon instead of webhook icon ( #6427 )
...
https://linear.app/unleash/issue/2-2002/add-new-signals-icon-instead-of-using-the-webhooks-icon
Adds a new icon for signals, instead of using the same icon as webhooks.
Includes some slight refactoring.
![image](https://github.com/Unleash/unleash/assets/14320932/51402a4b-99c5-4a09-9c6c-01f87ca4651c )
![image](https://github.com/Unleash/unleash/assets/14320932/c80e308b-a1f2-4a4a-bfc4-2ed2cbb59563 )
2024-03-05 08:16:44 +00:00
Jaanus Sellin
ce8e15347c
refactor: segment-store getAll refactor, move mappers out of main method. ( #6423 )
...
For `getAll` method, kept only sql queries and moved mappers into
separate functions.
No change in logic, just refactoring.
2024-03-04 16:54:55 +02:00
Nuno Góis
76f379a4dc
fix: signals integration condition ( #6419 )
...
Small fix for the signals integration render condition.
2024-03-04 12:53:22 +00:00
Jaanus Sellin
19fbd7a0c4
fix: change application success to checkbox icon ( #6417 )
2024-03-04 14:16:45 +02:00
Nuno Góis
68729333e0
chore: rename incoming webhooks to signals ( #6415 )
...
https://linear.app/unleash/issue/2-1994/ui-feature-rename-adapt-the-signals-ui
https://linear.app/unleash/issue/2-1996/rename-feature-in-the-code-base
Implements the feature rename to Signals by adapting the code base and
UI.
2024-03-04 12:08:05 +00:00
Tymoteusz Czech
4fc0a806f1
Insights dashboard refactor ( #6404 )
...
- reorganized dashboard components
- added share link
- health chart aggregated data
- refactored chart placeholders
2024-03-04 12:56:17 +01:00
Jaanus Sellin
493f8e8a5b
feat: application overview feedback ( #6416 )
...
![image](https://github.com/Unleash/unleash/assets/964450/e8b85b7f-2c8b-42d2-9c6e-3f6ae9e27413 )
2024-03-04 13:45:57 +02:00
andreas-unleash
0c9838b26a
Feat: metrics chart tooltip refactoring ( #6414 )
...
Refactoring after moving aggregation to BE
<img width="1357" alt="Screenshot 2024-03-04 at 12 14 28"
src="https://github.com/Unleash/unleash/assets/104830839/9881ba13-69a3-49d9-bb3f-3316a9287a06 ">
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-03-04 12:37:03 +01:00
andreas-unleash
6c710f68a7
Feat: metrics chart tooltip ( #6409 )
...
Creates the Metrics chart tooltip
Data are summarised per week and grouped per project
<img width="1454" alt="Screenshot 2024-03-01 at 18 14 11"
src="https://github.com/Unleash/unleash/assets/104830839/0707f764-b067-4171-86bb-0592b846fcda ">
Post refactoring image (matches)
<img width="1357" alt="Screenshot 2024-03-04 at 12 14 28"
src="https://github.com/Unleash/unleash/assets/104830839/324981e3-ace2-4198-9620-23d7182a9702 ">
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2024-03-04 12:17:48 +02:00
andreas-unleash
7b67f218eb
fix: Project select bug with duplicate values ( #6405 )
...
Project select fix for Executive Dashboard and Playground
Extract the select to it's own component and move to `common`
Re-use for both Dashboard and Playground
Adds the id in parenthesis when there are duplicate names
<img width="1406" alt="Screenshot 2024-03-01 at 12 04 22"
src="https://github.com/Unleash/unleash/assets/104830839/379ea11f-d627-493e-8088-a739d58fba61 ">
<img width="1434" alt="Screenshot 2024-03-01 at 12 36 46"
src="https://github.com/Unleash/unleash/assets/104830839/9c5cf863-002c-4630-ac3a-4a869303a308 ">
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-03-01 14:28:57 +02:00
Jaanus Sellin
a4a604aebb
feat: application environment level warnings ( #6407 )
...
![image](https://github.com/Unleash/unleash/assets/964450/5e93dfd6-e1c0-48dd-a3c6-587889096510 )
2024-03-01 14:09:55 +02:00
Tymoteusz Czech
ae077558c0
feat: insights project filtering hooks with tests ( #6403 )
...
Hooks to filter and aggregate insights data on frontend
2024-03-01 10:15:16 +00:00
Tymoteusz Czech
446b2b2a2d
refactor: improve link field customizability ( #6402 )
...
Add ability to reuse "copy link" dialogue in other places
2024-03-01 11:01:58 +01:00
Tymoteusz Czech
d057703b2f
update openapi: add users to insights ( #6401 )
...
frontend types update
2024-03-01 10:45:04 +01:00
Mateusz Kwasniewski
677beb190a
feat: outdated SDKs UI ( #6391 )
2024-02-29 15:48:44 +01:00
Nuno Góis
bddc508582
chore: actions filter constraints ( #6389 )
...
https://linear.app/unleash/issue/2-1952/adapt-actions-form-ui-to-unleash-constraint-operators
Implements the new action filters UI, now powered by constraint
operators.
This PR goes through some effort to not touch existing components too
much, especially since they are critical for activation strategies.
Instead, the new feature tries to adapt to the existing components and
styling them appropriately, while still re-using them. We can refactor
this at a later stage if needed.
This UI will face some more drastic changes in the near future due to
the feature rename, so I wanted to keep this PR mostly scoped to the
constraint operators before proceeding with more changes.
![image](https://github.com/Unleash/unleash/assets/14320932/f4bef4e0-33bd-463c-a252-e1cc0c22e843 )
![image](https://github.com/Unleash/unleash/assets/14320932/192a3bd4-f11d-4619-b826-bbf5df80050c )
![image](https://github.com/Unleash/unleash/assets/14320932/fcfc0239-a28f-446d-a901-2e73f0add1a2 )
As always, did some manual tests and it seems to be working great!
2024-02-29 12:56:48 +00:00
Gastón Fournier
4f638a1c8d
fix: bad segment edit link ( #6390 )
...
## About the changes
Fixes a bad link which leads to editing a global segment from project
settings mimicking
67928209ef/frontend/src/component/segments/EditSegmentButton/EditSegmentButton.tsx (L22-L28)
2024-02-29 13:54:31 +01:00
Jaanus Sellin
b4a8b0f780
feat: application environment ordered and timeago min time ( #6374 )
2024-02-29 14:11:56 +02:00
Jaanus Sellin
2bf11b2ea9
fix: appliction was rendered too early ( #6388 )
2024-02-29 14:03:36 +02:00
Jaanus Sellin
a958797a8a
feat: add creation buttons to application features and strategies ( #6387 )
...
![image](https://github.com/Unleash/unleash/assets/964450/2c8215af-3ab3-43e6-bdeb-1ae36aad3aa3 )
2024-02-29 12:25:42 +02:00
Jaanus Sellin
8f30904905
feat: new application header design ( #6379 )
...
- remove application icon
- Update font for created text
- change "Delete" button into a trash can button
![image](https://github.com/Unleash/unleash/assets/964450/c956ea23-8ac0-4c0b-9ef4-287f895ecc2f )
2024-02-29 10:38:43 +02:00
Mateusz Kwasniewski
84400323d6
feat: sdk reporting tracker ( #6378 )
2024-02-28 15:52:03 +01:00
Jaanus Sellin
df93827002
feat: remove applications from project list that do not exist ( #6377 )
2024-02-28 16:26:53 +02:00
Mateusz Kwasniewski
4392fa5890
fix: break on words not on all ( #6370 )
2024-02-28 14:18:21 +01:00
Mateusz Kwasniewski
3aff5d80a0
fix: last seen instance with timezone ( #6376 )
2024-02-28 13:00:07 +01:00
Mateusz Kwasniewski
2bf46d9369
refactor: Information tooltip instances ( #6375 )
2024-02-28 12:26:15 +01:00
Jaanus Sellin
7af7b32bd5
feat: application overview ux improvements ( #6371 )
...
1. Added navigation from environments to instances
2. Last seen is now shown as TimeAgo
3. Added icons for total environments and features
4. Fixed schema
![image](https://github.com/Unleash/unleash/assets/964450/4d0a51a9-7141-4854-ada9-72676e42239c )
2024-02-28 12:39:33 +02:00
Mateusz Kwasniewski
9a12257568
feat: info icon instances for 2 days ( #6373 )
2024-02-28 11:22:31 +01:00
Tymoteusz Czech
ba2b90af42
Dashboard charts - always show past 3 months ( #6372 )
2024-02-28 10:33:49 +01:00
andreas-unleash
74c760bf4c
chore: remove changeRequestConflictHandling flag ( #6364 )
...
What it says on the tin
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-02-28 10:16:35 +02:00
Tymoteusz Czech
96c86b221b
feat: improved health chart tooltip ( #6359 )
2024-02-28 08:58:27 +01:00
Mateusz Kwasniewski
b82a650dab
feat: connected instances support query param for env ( #6362 )
2024-02-28 08:57:34 +01:00
Mateusz Kwasniewski
b738a2a1bc
fix: application list padding ( #6365 )
2024-02-27 15:05:37 +01:00
Nuno Góis
477a9c6cfa
chore: action events UI ( #6358 )
...
https://linear.app/unleash/issue/2-1936/action-events-ui
Implements the UI for action events.
![image](https://github.com/Unleash/unleash/assets/14320932/d2f82ddd-6292-4f61-bfdd-05037f746f52 )
![image](https://github.com/Unleash/unleash/assets/14320932/673816b8-7dee-4b36-adda-d13d419dc5ac )
2024-02-27 13:52:09 +00:00
andreas-unleash
9101c39eb7
chore: remove scheduledConfigurationChanges flag ( #6360 )
...
What is says on the box
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-02-27 14:57:34 +02:00
Tymoteusz Czech
6cefe71534
feat: insights feedback ( #6345 )
2024-02-27 13:12:18 +01:00
Mateusz Kwasniewski
20a9e1d725
refactor: remove unused components and rename new ( #6357 )
2024-02-27 12:22:47 +01:00
Jaanus Sellin
9cd324bd7c
feat: projects using this application ( #6355 )
...
![image](https://github.com/Unleash/unleash/assets/964450/bcb5a612-3202-46ae-be20-bd23cbd8d6e4 )
2024-02-27 12:24:44 +02:00
Mateusz Kwasniewski
c049374a25
chore: remove new strategy configuration flag ( #6335 )
2024-02-27 11:23:49 +01:00
Mateusz Kwasniewski
e9603f866b
refactor: connected instances extract hook refactoring ( #6353 )
2024-02-27 10:49:57 +01:00
Mateusz Kwasniewski
d6e0bea2f0
feat: use connected instances api with orval type ( #6352 )
2024-02-27 09:49:25 +01:00
Tymoteusz Czech
ed44de6c94
feat: simplified insights data fetching ( #6342 )
...
Simplify insights data fetching - let charts pick data instead of
preparing labels in hook.
2024-02-27 09:20:45 +01:00
Jaanus Sellin
7cebf7b8fe
feat: application issues ( #6347 )
...
![image](https://github.com/Unleash/unleash/assets/964450/90153533-322c-46fd-8a1b-5853cbe0c35c )
2024-02-27 09:57:50 +02:00
Mateusz Kwasniewski
ae257d5957
feat: connected instance ui api integration ( #6343 )
2024-02-27 08:30:31 +01:00
Tymoteusz Czech
fd87fd4e7d
Insights UI ( #6341 )
...
- style for headers in Insights dashboard and project selector
- fixed React element key issue in gauge chart
- fixed React attribute issue in Health stats
- active/inactive user stats from backend
2024-02-26 15:51:14 +01:00
Mateusz Kwasniewski
2c5d4ba0ce
feat: set default env columns in project overview to 3 ( #6338 )
2024-02-26 13:10:45 +01:00
andreas-unleash
4c340a5224
fix: track conflicts in new strategy screen ( #6337 )
...
Fixes a bug where the conflict tracking was only in the old feature
strategy edit screen.
- Ports the conflict tracking to the NewFeatureStrategyEdit screen
Closes #
[1-2093](https://linear.app/unleash/issue/1-2093/cr-conflict-detection-in-new-strategy-edit-screen )
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-02-26 13:59:47 +02:00
Jaanus Sellin
12a085f5a0
chore: generate orval types ( #6336 )
2024-02-26 13:28:36 +02:00
Mateusz Kwasniewski
d1e93228a3
refactor: paginated data hook ( #6333 )
2024-02-26 11:24:41 +01:00
Nuno Góis
aa97cc4637
fix: better arrow design in network overview ( #6331 )
...
Improves the arrow design in the "Network overview" after aligning with
@nicolaesocaciu
2024-02-23 13:38:54 +00:00
andreas-unleash
bae195add9
feat: show the metrics summary chart ( #6297 )
...
Creates the impressions summary chart
<img width="1358" alt="Screenshot 2024-02-21 at 13 25 05"
src="https://github.com/Unleash/unleash/assets/104830839/ddf15637-34de-4883-9ef7-517e37eab331 ">
Closes #
[1-2060](https://linear.app/unleash/issue/1-2060/impressions-summary-widget-frontend )
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2024-02-23 15:17:58 +02:00
Tymoteusz Czech
153c60d335
Dashboard custom tooltips ( #6327 )
...
Initial refactoring for custom tooltips
2024-02-23 11:02:26 +00:00
Jaanus Sellin
822851814a
feat: application overview issues schema ( #6329 )
2024-02-23 13:01:49 +02:00
Nuno Góis
12ff4abe6a
chore: incoming webhook events UI ( #6317 )
...
https://linear.app/unleash/issue/2-1937/incoming-webhook-events-ui
This PR implements the UI for incoming webhook events.
We're also introducing a new `SidePanelList` component that we'll be
able to reuse when we tackle action set events. This PR also promotes
`ReactJSONEditor` to a common component and adapts it slightly for this
use case.
![image](https://github.com/Unleash/unleash/assets/14320932/b1abc2e0-3971-4882-b6f6-0ae48d1523d5 )
![image](https://github.com/Unleash/unleash/assets/14320932/ce5c31e4-650a-4df5-a966-2ce06fd6baa8 )
We're refreshing the events view every 5s, so if you're monitoring
events for a specific incoming webhook you can see the latest ones
coming in.
We load 20 (configurable through the hook) events by default. Everytime
you reach the end of the list you can load 20 more events until you
reach the end of the event list.
![image](https://github.com/Unleash/unleash/assets/14320932/94f187a1-8b0f-4138-8dbc-d3ebc9914bfd )
2024-02-23 11:01:27 +00:00
Nuno Góis
a54ef27adc
chore: remove mermaid in favor of react archer ( #6320 )
...
https://linear.app/unleash/issue/2-1968/use-react-archer-instead-of-mermaid-in-the-network-overview
This PR removes [mermaid](https://github.com/mermaid-js/mermaid ) in
favor of [react-archer](https://github.com/pierpo/react-archer ), which
meant adapting `NetworkOverview` to use `react-archer` instead, since
that was the only remaining feature using `mermaid`.
Opted not to use RPS labels in the lines since it was very noisy
visually. Took the liberty to make some visual changes, but we can align
afterwards with @nicolaesocaciu if needed.
### Example with 1 app
![image](https://github.com/Unleash/unleash/assets/14320932/83bf3d52-8bb7-49cc-8fef-1d8f758090b7 )
### Example with 3 apps
![image](https://github.com/Unleash/unleash/assets/14320932/c01b820e-92e1-495a-a360-0f8ff5fafe50 )
### Example with 30 apps
![image](https://github.com/Unleash/unleash/assets/14320932/49314ee0-ad30-4c67-873e-7b91ca39d009 )
### Example in light theme
![image](https://github.com/Unleash/unleash/assets/14320932/1ce7055f-df8f-4b4e-b731-bf0f951bbb0c )
2024-02-23 08:31:14 +00:00
Nuno Góis
ad864049da
fix: only show visible environments for that project in actions ( #6318 )
...
https://linear.app/unleash/issue/2-1969/actions-form-only-show-environments-scoped-to-the-current-project
Filters the environment options in actions to only show environments
that are currently visible for that project, safeguarding users from
configuring actions for invalid environments.
![image](https://github.com/Unleash/unleash/assets/14320932/115cc9cd-99a2-4863-aec0-8264459ef18a )
2024-02-23 08:24:32 +00:00
Tymoteusz Czech
7682429839
Dashboard health stats widget ( #6262 )
2024-02-23 09:05:59 +01:00
Mateusz Kwasniewski
474e53460a
fix: show total applications ( #6326 )
2024-02-23 07:18:11 +01:00
Mateusz Kwasniewski
42f6843029
refactor: application overview dom improvements and tests ( #6325 )
2024-02-23 06:56:46 +01:00
Mateusz Kwasniewski
0de0313563
feat: connect application envs to backend ( #6324 )
2024-02-22 21:58:19 +01:00
Mateusz Kwasniewski
ef021a9464
feat: capped at limit strategy in application usage ( #6323 )
2024-02-22 20:35:39 +01:00
Mateusz Kwasniewski
24d6d24e24
fix: minimum pagination size ( #6322 )
2024-02-22 20:30:59 +01:00
Mateusz Kwasniewski
8b0218df6a
test: project applications table ( #6321 )
2024-02-22 19:03:54 +01:00
Mateusz Kwasniewski
ade7a88d65
test: applications list ui ( #6319 )
2024-02-22 19:03:11 +01:00
Mateusz Kwasniewski
3dda4a1f0e
feat: switching to paginated applications list ( #6316 )
2024-02-22 15:15:50 +01:00
Mateusz Kwasniewski
edbd71ac15
feat: paginated hook for applications list ( #6315 )
2024-02-22 14:37:08 +01:00
Jaanus Sellin
fb63f21d8a
feat: project applications paging backend ( #6312 )
2024-02-22 15:35:16 +02:00
Mateusz Kwasniewski
dc214d376a
chore: generate orval types ( #6310 )
2024-02-22 12:50:17 +01:00
Mateusz Kwasniewski
ff70a92956
feat: paginated applications view ( #6308 )
2024-02-22 11:28:36 +01:00
Mateusz Kwasniewski
c64a780a13
feat: warning mode app env styling ( #6305 )
2024-02-22 08:41:50 +01:00
Fredrik Strand Oseberg
0ccfc29e26
fix: generalize multi action button ( #6294 )
...
This PR moves the CR specific logic out of the MultiActionButton and
generalises so that we can re-use it across the application. The CR
specific logic is moved into:
* ApplyButton.tsx
* ReviewButton.tsx
This fixes a bug where multi action button would be disabled if you
tried to apply an approved change request that you had created yourself.
2024-02-21 14:37:35 +01:00
Mateusz Kwasniewski
ac183e76f8
feat: Application elements lines ( #6301 )
2024-02-21 14:34:57 +01:00
Mateusz Kwasniewski
56cbe1485e
feat: styled application environment boxes ( #6296 )
2024-02-21 12:15:54 +01:00
Jaanus Sellin
7baed29c07
feat: application overview schema ( #6295 )
2024-02-21 12:59:55 +02:00
andreas-unleash
60754b9fca
chore: generate new orval types ( #6292 )
...
what it says on the box
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-02-21 11:31:06 +02:00
Thomas Heartman
c7182d8faf
fix: adjust padding of problem detected icon ( #6293 )
...
This PR adjusts the vertical position of the problem detected icon in
the environment selector.
<img width="1137" alt="image"
src="https://github.com/Unleash/unleash/assets/17786332/ef961bba-6380-4849-a81a-0468fc467b5c ">
2024-02-21 10:58:14 +02:00
Mateusz Kwasniewski
e5c07f00cb
feat: rate limit password reset attempts ( #6257 )
2024-02-21 08:49:54 +01:00
Jaanus Sellin
f3c01545f2
feat: application graph ( #6279 )
...
Basic graph, that works with mock data.
Next steps, work on backend and try to put more content and **styling to
nodes**.
![image](https://github.com/Unleash/unleash/assets/964450/545d6527-ecd8-4010-a0fe-8001bc8c1456 )
2024-02-21 09:13:18 +02:00
Thomas Heartman
f46d420b10
feat: add warning icons to environments in selector ( #6290 )
...
This PR adds warning icons to the environment selector for environments
that have problems detected. However, because we don't have any way
detect problems yet, this PR only adds the icons and the infrastructure
to display them. They're always set to "not displayed" for now.
The icons have "problems detected" as accessible text.
It looks like this when you add them in (for every environment):
<img width="1137" alt="image"
src="https://github.com/Unleash/unleash/assets/17786332/c29bfa52-ddee-4b16-b3ac-5c1f8fcc326e ">
2024-02-21 13:28:37 +08:00
Thomas Heartman
ddae97080d
feat: wrap buttons in a fieldset and add an explanatory legend. ( #6289 )
...
This makes it more obvious to everyone what the buttons do.
2024-02-21 12:15:02 +08:00
Christopher Kolstad
7350c91a1e
fix: display all roles if we can't get project roles
2024-02-20 16:23:25 +01:00
Christopher Kolstad
e9d9db17fe
feat: Adding Project access requires same role ( #6270 )
...
In order to prevent users from being able to assign roles/permissions
they don't have, this PR adds a check that the user performing the
action either is Admin, Project owner or has the same role they are
trying to grant/add.
This addAccess method is only used from Enterprise, so there will be a
separate PR there, updating how we return the roles list for a user, so
that our frontend can only present the roles a user is actually allowed
to grant.
This adds the validation to the backend to ensure that even if the
frontend thinks we're allowed to add any role to any user here, the
backend can be smart enough to stop it.
We should still update frontend as well, so that it doesn't look like we
can add roles we won't be allowed to.
2024-02-20 15:56:53 +01:00
Thomas Heartman
a468c55fc7
feat: add environment selection to connected instances screen ( #6277 )
...
This PR adds an environment selector to the connected instances table,
using query parameters to store the environment selection.
I'm still using the old data to populate this, so it'll show you all
data when nothing is selected and only filtered data when you select an
env. There is no way to unselect an env at the moment: I'm not sure
that's something we'll need to do, so we'll handle that when we know.
I imagine in the future, we might update the component to make separate
calls per environments and a call to determine which envs are available,
but for now, this will do just fine.
<img width="848" alt="image"
src="https://github.com/Unleash/unleash/assets/17786332/ef7562d5-c0ab-48c6-ba43-7c0007719ab4 ">
2024-02-20 12:14:44 +02:00
Thomas Heartman
d967d4adb0
feat: add tabs ( #6267 )
...
This PR adds a new file "Application.tsx", which is analogous to the
existing Project.tsx file in that it contains the base layout for the
application page, as well as tabs pointing to sub pages. Currently, the
overview tab uses a paragraph with some fallback text, while the
connected instances table displays the instances table.
I have mostly copied the existing ApplicationEdit component and used
that as a base, assuming that we'll delete that component when we're
done with this.
<img width="1449" alt="image"
src="https://github.com/Unleash/unleash/assets/17786332/ac574a83-3cf4-4de5-a4de-188575074ecb ">
2024-02-20 17:32:33 +08:00
Nuno Góis
7e6a3c7e69
fix: clickable names in inc wh and action tables ( #6275 )
...
https://linear.app/unleash/issue/2-1954/make-names-clickable-in-actions-and-incoming-webhooks
Makes names clickable in the incoming webhook and action tables. When
clicked, they open the edit form for that resource.
![image](https://github.com/Unleash/unleash/assets/14320932/973f38c0-2603-4cbf-9352-90ddfe0b6e3f )
![image](https://github.com/Unleash/unleash/assets/14320932/ff733899-b86a-494a-8d2c-65d53e19a356 )
2024-02-20 09:28:00 +00:00
andreas-unleash
f71badd255
feat: dashboard project filtering ( #6259 )
...
Adds the same project selector Autocomplete as we use in the playground.
Implements the filtering
Closes: #
[1-2036](https://linear.app/unleash/issue/1-2036/api-project-filtering )
<img width="1508" alt="Screenshot 2024-02-16 at 15 57 24"
src="https://github.com/Unleash/unleash/assets/104830839/4490e43c-17db-41b6-ba75-e7b0f2df0522 ">
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2024-02-19 16:28:03 +02:00
Nuno Góis
9b980bb212
fix: small ui/ux adjustments to the actions form ( #6269 )
...
Small UI/UX adjustments to the actions form after aligning.
![image](https://github.com/Unleash/unleash/assets/14320932/5ededf9c-af54-4628-8fb3-0fcc6afc87dc )
2024-02-19 13:22:18 +00:00
Jaanus Sellin
03929e3031
feat: project applications UI ( #6260 )
...
![image](https://github.com/Unleash/unleash/assets/964450/a1129857-820c-4e93-ac59-ef5f4743d774 )
2024-02-19 09:50:53 +02:00