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
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
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
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
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
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
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
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
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
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
Tymoteusz Czech
6cefe71534
feat: insights feedback ( #6345 )
2024-02-27 13:12:18 +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
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
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
7682429839
Dashboard health stats widget ( #6262 )
2024-02-23 09:05:59 +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
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
Tymoteusz Czech
0d51bad67b
feat: dashboard lead time gauge ( #6225 )
2024-02-14 13:32:12 +01:00
Tymoteusz Czech
c224d7dc4c
Feat: chart 'no-data' placeholder ( #6172 )
2024-02-12 16:10:46 +01:00
Mateusz Kwasniewski
4e3ab7186c
feat: time to production chart ( #6100 )
2024-02-01 12:22:27 +01:00
Fredrik Strand Oseberg
79e86e1aca
feat: project health widget ( #6092 )
...
Adds the project health widget to the edb:
<img width="1243" alt="Skjermbilde 2024-01-31 kl 12 16 23"
src="https://github.com/Unleash/unleash/assets/16081982/7df1e4dc-3245-4c30-bb9e-f21e90697392 ">
2024-01-31 13:19:28 +01:00
Tymoteusz Czech
d77e5391ed
refactor: FlagsChart and FlagsProjectChart components ( #6087 )
...
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2024-01-31 09:50:50 +00:00
Tymoteusz Czech
e6ccd83739
refactor: LineChart component ( #6072 )
...
Initial version of a reusable trend chart, with a tooltip and vertical highlight
2024-01-31 10:07:29 +01:00
Fredrik Strand Oseberg
aae1d0576f
feat: add project flags component ( #6070 )
...
This PR adds project flags line chart component
2024-01-31 08:48:10 +01:00
Tymoteusz Czech
c9ac4916e8
feat: executive dashboard responsive grid ( #6069 )
...
- unified "Widget" component
- column order dependent on screen width
2024-01-30 17:02:13 +01:00
Fredrik Strand Oseberg
7d6d4064a8
feat: connect dashboard static widgets to data ( #6062 )
...
This PR connects the static widgets to actual data
2024-01-30 10:07:16 +01:00
Tymoteusz Czech
46fb40ca08
fix: dashboard layout ( #6063 )
...
Align widgets properly on main screen. Responsive view in next PRs
2024-01-30 09:00:06 +01:00
Tymoteusz Czech
61c6583e24
Feat/dashboard chart tooltip ( #6038 )
...
Initial version of new chart tooltip
2024-01-26 14:33:11 +01:00
Fredrik Strand Oseberg
4a025a4b4b
feat: flag widget ( #6047 )
...
This PR adds the flag widget:
<img width="333" alt="Skjermbilde 2024-01-26 kl 14 16 19"
src="https://github.com/Unleash/unleash/assets/16081982/57b8c312-fcd5-4a3f-85f7-76514c671912 ">
2024-01-26 14:22:16 +01:00
Tymoteusz Czech
00b3cbaa8b
Dashboard API hook ( #5990 )
...
Data fetching for dashboard
https://linear.app/unleash/issue/1-1969/dashboard-users-chart-api-hook
2024-01-26 09:03:12 +01:00
Fredrik Strand Oseberg
9ac1c88bd4
feat: new user widget ( #6037 )
...
Preliminary code for executive dashboard user widget
2024-01-25 14:43:59 +01:00
Mateusz Kwasniewski
055bab8e7c
feat: include number of flags chart ( #5987 )
2024-01-22 12:15:49 +01:00
Tymoteusz Czech
ec1439e171
Feat: dashboard users chart frontend ( #5980 )
...
Users chart with tooltip and legend
2024-01-22 11:07:38 +01:00
Tymoteusz Czech
4b02d6aa9c
Executive Dashboard page setup ( #5949 )
2024-01-18 12:32:25 +01:00