1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-13 11:17:26 +02:00
unleash.unleash/frontend/src/component
Thomas Heartman 663f30c8db
feat: Timeline for cancelled CRs (#10421)
Shows the cancelled state in the timeline for cancelled CRs. Extracts
steps into a separate file.

Also, if timestamps are present, it will dynamically show the steps we
have times for for rejected and cancelled CRs.

If we do not have timestamps, it'll use the old behavior for displaying
rejected steps, but does add a new one for cancelled steps, which
includes 'Draft', 'In review', 'Approved', 'Cancelled'.

CRs can be cancelled after:
- In review
- Approved

CRs can be rejected after:
- In review
- Schedule

For other states, use the existing steps. Cancelled and Rejected are
both terminal states, so there's no future steps to show.

Regardless of what we have timestamps for, always show 'Draft', 'In
review' and the final state (Rejected | Cancelled).

## Gallery

Cancellations
<img width="381" height="241" alt="image"
src="https://github.com/user-attachments/assets/a6af70c5-ef09-4aeb-ae53-0e3ff4b25446"
/>


<img width="396" height="320" alt="image"
src="https://github.com/user-attachments/assets/699c2594-8c0c-44d9-bf50-22a8bdda3d00"
/>


Rejections 
<img width="397" height="244" alt="image"
src="https://github.com/user-attachments/assets/20887a23-e453-49ce-bc5c-738ba4180868"
/>


<img width="388" height="384" alt="image"
src="https://github.com/user-attachments/assets/e3c5842b-254d-47b8-a8f6-3721643c4223"
/>


New cancelled steps without timestamps:
<img width="387" height="309" alt="image"
src="https://github.com/user-attachments/assets/5fba979d-cb5b-4aba-b652-7c5ac89a3e37"
/>
2025-07-29 12:21:30 +02:00
..
admin fix: banner form state (#10397) 2025-07-23 08:36:48 +01:00
application chore(AI): registerFrontendClient flag cleanup (#10297) 2025-07-03 10:52:48 +02:00
archive chore: revive archive page (#10001) 2025-05-15 11:54:52 +01:00
banners feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
changeRequest feat: Timeline for cancelled CRs (#10421) 2025-07-29 12:21:30 +02:00
commandBar feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
common docs: update docs navigation (#9942) 2025-07-11 13:33:11 +02:00
context chore: disable delete button if a context field has usage (#10002) 2025-05-15 13:55:56 +02:00
counters/ExploreCounters feat: custom metrics (#10022) 2025-05-22 09:58:54 +02:00
demo chore: fix demo by adapting to new constraints flow (#10213) 2025-06-25 17:26:03 +01:00
environments chore: fix weird button styling (#10113) 2025-06-11 14:07:24 +02:00
events feat: add id as removable param for event list (#10289) 2025-07-03 09:27:01 +03:00
feature chore: add feature configuration based on addConfiguration flag (#10420) 2025-07-29 08:27:13 +01:00
featureTypes chore: fix weird button styling (#10113) 2025-06-11 14:07:24 +02:00
feedback feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
feedbackNew feat: adjust feedback columns (#10119) 2025-06-11 15:50:26 +02:00
filter chore(ux): If there's only a single available filter, always show that filter (don't hide it beneath a filters button) (#10127) 2025-06-12 12:25:58 +00:00
impact-metrics feat: series query warning (#10413) 2025-07-29 10:03:43 +02:00
insights feat: basic flag creation chart (#10411) 2025-07-24 14:45:16 +03:00
integrations chore: hide/disallow new instances of deprecated integrations (#10104) 2025-06-10 12:19:37 +02:00
layout update 'config' icon (#10319) 2025-07-07 10:41:43 +02:00
loginHistory feat: GitHub auth (#10406) 2025-07-24 15:25:25 +01:00
maintenance
menu chore: unknown flags UI (#10332) 2025-07-08 17:51:03 +01:00
onboarding feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
personalDashboard chore(AI): healthToTechDebt flag cleanup (#10346) 2025-07-11 14:15:55 +02:00
playground/Playground chore(1-3832): clean up flag overview redesign (#10140) 2025-06-13 10:41:08 +00:00
project chore: improve project card design (#10418) 2025-07-28 12:57:33 +01:00
providers feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
releases Chore(1-3825)/remove legacy strategy separator (#10137) 2025-06-13 10:06:48 +00:00
segments chore(1-3842): don't reorder constraint properties / make id's non-optional (#10160) 2025-06-19 10:09:38 +02:00
signals feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
splash
strategies feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
tags chore: fix weird button styling (#10113) 2025-06-11 14:07:24 +02:00
unknownFlags chore: unknown flags UI (#10332) 2025-07-08 17:51:03 +01:00
user feat: GitHub auth (#10406) 2025-07-24 15:25:25 +01:00
App.tsx feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00
InitialRedirect.tsx feat: Unleash v7 ESM migration (#9877) 2025-05-14 09:47:12 +02:00