Nuno Góis
b496990f79
chore: add no unused imports biome rule ( #5855 )
...
Adds a Biome rule for "no unused imports", which is something we
sometimes have trouble catching.
We're adding this as a warning for now. It is safely and easily fixable
with `yarn lint:fix`.


2024-01-11 12:44:05 +00:00
Thomas Heartman
ff96563742
fix: align timeline icon for schedule failures ( #5761 )
...
Aligns the icon to the end of the end of the box to make it match the
text.
Also removes a redundant br element.
2024-01-04 16:04:50 +05:30
Thomas Heartman
795aa18bca
fix: use the correct icon for failed scheduled CRs ( #5760 )
...
This PR switches the notification icon to an exclamation mark (the Error
icon). It updates three components:
1. The badge
2. The timeline
3. The review status
Screenshot with all the replaced icons

2024-01-04 15:44:53 +05:30
Thomas Heartman
1556a51e37
fix: update text in scheduling components ( #5746 )
...
This pr updates the text in some of the scheduling components to be more
clear and consistent.
2024-01-03 18:18:52 +05:30
Thomas Heartman
b0c5baa9d3
chore: format schedule information according to user preferences ( #5747 )
...
This pr uses the user's preferred timezone to display the scheduled
times. If the user has no preferences, the default will be used.
With norwegian locale set as preference:
<img width="1529" alt="image"
src="https://github.com/Unleash/unleash/assets/17786332/0072432c-e470-4edc-91fb-864a86bc8f30 ">
With nothing set (falls back to my system setting):
<img width="1529" alt="image"
src="https://github.com/Unleash/unleash/assets/17786332/adf3d95f-4015-4302-ac09-e3ba511090db ">
2024-01-03 18:18:43 +05:30
andreas-unleash
aea18d1ac4
fix: review status title color ( #5716 )
...
Closes #
[1-1825](https://linear.app/unleash/issue/1-1825/change-the-color-of-the-scheduled-and-pending-state-to-warningdark )
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-12-21 14:38:33 +02:00
andreas-unleash
0f8a6661a8
Feat: allow rescheduling of failed scheduled cr ( #5702 )
...
Allows for rescheduling failed scheduled requests
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-12-20 15:19:23 +02:00
andreas-unleash
75bdd73c15
feat: add plausible tracking to scheduling ( #5668 )
...
Adds plausible tracking with actions:
- scheduled-created
- scheduled-updated
- scheduled-rejected
- scheduled-applied
Closes #
[1-1630](https://linear.app/unleash/issue/1-1630/add-plausible-metrics )
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-12-18 15:06:58 +02:00
andreas-unleash
7fdd720aa3
feat: show failure in cr overview ( #5660 )
...
Show failure reason in change request overview
Closes
[1-1769](https://linear.app/unleash/issue/1-1769/add-reason-and-icon-to-change-request-overview )
<img width="771" alt="Screenshot 2023-12-15 at 10 37 03"
src="https://github.com/Unleash/unleash/assets/104830839/898b6ac9-bd44-442f-92a4-9b4d5754fea7 ">
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-12-18 11:37:56 +02:00
andreas-unleash
a595c0fbcc
feat: show failure reason for scheduled requests in timeline ( #5639 )
...
Adds an icon with a tooltip and changes the dot color to red for
scheduled change requests
Closes #
[1-1768](https://linear.app/unleash/issue/1-1768/add-reason-and-icon-to-timeline )
<img width="1668" alt="Screenshot 2023-12-14 at 10 20 27"
src="https://github.com/Unleash/unleash/assets/104830839/dcf54834-ea9f-4e78-b69d-15d6179ffce3 ">
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-12-14 11:49:14 +02:00
andreas-unleash
cbd50ac0f5
Feat: show status of scheduled change request ( #5630 )
...
Modifies the ChangeRequestStatusBadge to display the failed execution
Closes #
[1-1767](https://linear.app/unleash/issue/1-1767/add-status-to-scheduled-badge )


---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-12-14 11:49:03 +02:00
andreas-unleash
0dc5f306cc
Feat: change request scheduled timeline ( #5346 )
...
Adds the scheduled state to the timeline
Closes #
[1-1632](https://linear.app/unleash/issue/1-1632/update-the-progress-bar-for-scheduled-changes )

---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-11-17 11:20:14 +02:00
andreas-unleash
180c0dceae
Fix/scheduled request UI ( #5318 )
...
Change timezone format
Fixes a bug where the Edit button on hover being elongated
Before:
<img width="755" alt="Screenshot 2023-11-09 at 21 36 01"
src="https://github.com/Unleash/unleash/assets/104830839/189f21d5-8a68-4d6b-b094-b518749a9b2f ">
After:
<img width="812" alt="Screenshot 2023-11-09 at 22 09 26"
src="https://github.com/Unleash/unleash/assets/104830839/9056f995-bd2b-4353-8526-77160e49e990 ">
Adds the missed onClick to the edit button to show the dialog
Fixes a bug with ScheduleChangesDialog onClose
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-11-10 11:22:03 +02:00
andreas-unleash
3e9d88f789
Feat/scheduled cr UI tests ( #5296 )
...
Ui tests scheduled change requests
Closes # [1-1598](https://linear.app/unleash/issue/1-1598/e2e-ui-tests )
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: Thomas Heartman <thomas@getunleash.io>
2023-11-08 14:28:16 +02:00
andreas-unleash
addda5b022
feat: schedule changes dialog ( #5285 )
...
Closes: #
[1-1585](https://linear.app/unleash/issue/1-1585/reschedule-changes-dialog )
[1-1582](https://linear.app/unleash/issue/1-1582/change-apply-changes-apply-or-schedule-changes )
Manually tested e2e -> Approve -> Schedule -> Reschedule ->
Apply/Reject: ui tests verifying it in next pr
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2023-11-07 10:59:49 +02:00
andreas-unleash
2262ca1be6
Feat: scheduled change request dialogs ( #5267 )
...
Creates the Apply and Reject scheduled change request dialogs
Closes #
[1-1584](https://linear.app/unleash/issue/1-1584/add-modal-for-apply-now )
Closes #
[1-1586](https://linear.app/unleash/issue/1-1586/reject-changes-dialog )
<img width="1669" alt="Screenshot 2023-11-03 at 14 43 17"
src="https://github.com/Unleash/unleash/assets/104830839/832edb8e-1da1-4d96-a5c3-4fa0cd336fea ">
<img width="1669" alt="Screenshot 2023-11-03 at 14 43 28"
src="https://github.com/Unleash/unleash/assets/104830839/f9028671-e5e1-441c-886b-1e562c83f214 ">
UI e2e tests will be in a follow up PR
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-11-06 11:13:50 +02:00
andreas-unleash
6b637d5fa9
feat: scheduled change request state ( #5261 )
...
Adds the scheduled state to ChangeRequestOverview.tsx
<img width="1523" alt="Screenshot 2023-11-03 at 12 52 07"
src="https://github.com/Unleash/unleash/assets/104830839/710b5f26-04a0-4ee9-b646-8ff3090ad86a ">
---------
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-11-03 15:02:51 +02:00
Thomas Heartman
7cf998c509
fix: move useUiFlag before "return null" to avoid rendering more hooks on the first render ( #5258 )
...
Move the hook to before the first return to avoid React erroring out.
2023-11-03 10:04:03 +00:00
Thomas Heartman
9fbb61a1c4
chore: add schedule option to approved change requests ( #5252 )
...
The button doesn't do anything at the moment, but it's there visually.
Because this uses the same button as the dual-function button for
approve/reject, I extracted that component into a reusable
"multi-action" button. I could have copied the code wholesale, but it's
a complex component, so I thought this would be a better solution.
I'll add the dialog in a follow-up PR. This one already has a lot of
changes.
Visual:

2023-11-03 08:46:06 +01:00
Nuno Góis
4167a60588
feat: biome lint frontend ( #4903 )
...
Follows up on https://github.com/Unleash/unleash/pull/4853 to add Biome
to the frontend as well.

Added a few `biome-ignore` to speed up the process but we may want to
check and fix them in the future.
2023-10-02 13:25:46 +01:00
Mateusz Kwasniewski
5ae86ef196
chore: Change request flags removed ( #4601 )
2023-09-04 10:57:13 +02:00
Mateusz Kwasniewski
8a7f488147
feat: reject timeline state ( #4517 )
2023-08-16 15:39:39 +02:00
Mateusz Kwasniewski
b6830b805b
feat: review buttons makeover ( #4513 )
2023-08-16 13:55:18 +02:00
Mateusz Kwasniewski
c58d325173
feat: reject change request dialog ( #4491 )
2023-08-15 12:49:40 +02:00
Mateusz Kwasniewski
3227e30f12
feat: Change request reject UI ( #4489 )
2023-08-15 09:08:26 +02:00
Mateusz Kwasniewski
0a27b5f44a
feat: use update count in cr summary ( #4482 )
2023-08-11 14:59:59 +02:00
Mateusz Kwasniewski
ce6ff2578a
fix: can review CR with skip change request ( #3998 )
2023-06-16 13:36:23 +02:00
Jaanus Sellin
5dd5b4f614
feat: linkify comments ( #3517 )
2023-04-13 15:48:03 +03:00
Jaanus Sellin
6874df66f0
feat: cr overview title ( #3516 )
2023-04-13 15:33:37 +03:00
Jaanus Sellin
427030c390
feat: add username to CR overview and list ( #3498 )
2023-04-12 09:43:05 +03:00
Mateusz Kwasniewski
f09565f38f
feat: disable apply button on loading ( #3404 )
2023-03-28 13:13:51 +02:00
NicolaeUnleash
705462f0cf
feat: dark theme v1 ( #3298 )
...
## About the changes
Creating the first version of the Dark theme
Refactor: colors variables
Refactor: use theme variable instead
- this change will help us to use MuiCssBaseline, and we can use classes
directly for easy customization when we can't identify MUI classes
Refactor: adjusting some files components
- i’ve touched also the structure of some files, not only the colors
variables (but only to adjust the style, not functionality)
Fix: dark mode persistence on refresh (by Nuno)
Feat: dark mode sees light logos, and light mode sees dark logos (by
Nuno)
---------
Co-authored-by: Nuno Góis <github@nunogois.com>
2023-03-22 16:37:40 +02:00
Jaanus Sellin
d28e65b94c
feat: revive features ( #3344 )
2023-03-17 18:21:13 +00:00
NicolaeUnleash
23af7a3474
refactor: light theme colors ( #3252 )
...
## About the changes
Refactoring the colors for the light theme to be much easier to continue
with dark mode
This is the first step to finish dark mode
https://linear.app/unleash/project/[low][s][alpha]-dark-mode-in-unleash-admin-ui-31b407d13c4b/1
This PR uses `main-theme` as a placeholder for `dark-theme` for now due
to the new changes. Still need to set the correct values here.
---------
Co-authored-by: Nuno Góis <github@nunogois.com>
2023-03-06 12:58:36 +02:00
Tymoteusz Czech
ddb9d11039
refactor: styles batch 3 ( #2821 )
2023-01-11 17:44:21 +01:00
Mateusz Kwasniewski
2e615cdd35
refresh change request, add conflict margin, set time ago ( #2700 )
2022-12-15 10:49:16 +01:00
Mateusz Kwasniewski
cb0398ca63
loosen permissions for change requests ( #2682 )
2022-12-14 10:00:14 +01:00
Mateusz Kwasniewski
086241e583
change request ui tweaks ( #2676 )
2022-12-13 09:17:17 +01:00
Fredrik Strand Oseberg
cef4181f11
Fix/cr UI fixes ( #2675 )
...
This PR contains multiple UI fixes for the change request. It changes
font sizes, icon colors, margins and paddings to be more consistent.
2022-12-12 16:32:38 +01:00
Mateusz Kwasniewski
2107834768
hide discard for nonauthors ( #2634 )
2022-12-08 13:24:15 +01:00
Mateusz Kwasniewski
353f50237d
Change request UI improvements pt2 ( #2624 )
2022-12-08 10:59:37 +01:00
Mateusz Kwasniewski
95937a4538
adjusting mobile styles ( #2604 )
2022-12-06 17:01:14 +01:00
Mateusz Kwasniewski
88bdef62b3
change request overview warning colors ( #2565 )
...
* Changes the colors of the status component in the change request overview page
2022-11-30 12:51:58 +01:00
Mateusz Kwasniewski
fab6fbb756
Change request event tracking ( #2570 )
2022-11-30 12:04:29 +01:00
Mateusz Kwasniewski
d1c565735a
linter fixes ( #2561 )
2022-11-30 10:52:13 +01:00
Fredrik Strand Oseberg
d20dff60a7
fix: add dialog for cancel ( #2568 )
...
* This PR adds a dialog for cancelling changes, and explains what
happens once you move a change request into the cancelled state.
2022-11-30 10:47:13 +01:00
Mateusz Kwasniewski
840510a720
ui tweaks ( #2557 )
2022-11-29 14:59:04 +01:00
Mateusz Kwasniewski
87d9466005
change request tooltips ( #2555 )
2022-11-29 12:56:19 +01:00
Mateusz Kwasniewski
9f983f4ed6
min approvals from cr not config ( #2556 )
2022-11-29 12:42:36 +01:00
Mateusz Kwasniewski
a3957f8c99
disable change request overview actions when CR are disabled ( #2527 )
2022-11-24 16:16:14 +01:00