1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-11-01 19:07:38 +01:00
Commit Graph

2822 Commits

Author SHA1 Message Date
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