1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-09 11:14:29 +02:00
unleash.unleash/frontend/src/component
Nuno Góis 205b59ddee
chore: event timeline (#8176)
https://linear.app/unleash/issue/2-2657/implement-a-first-iteration-of-an-horizontal-event-timeline

This implements the very first iteration of our event timeline.

This is behind a feature flag, which when enabled shows the new timeline
at the top of our event log page.

It is missing some features, like:
- Placement: It should show up as an option in the header, not in the
event log;
- Tooltip: It should show proper tooltips for all the events that we're
displaying;
- Grouping: It should group together events that occurred in a short
span of time;
 - Signals: It should show signals along with the events;

Here's how it currently looks like, with some example events, in order
from left to right:
 - A flag was disabled more than 30 min ago;
 - A flag was then enabled;
- A segment was updated (didn't have an icon for segments, so I picked
one);
 - A strategy was updated;
 - A flag was created;


![image](https://github.com/user-attachments/assets/1716d8c0-e491-47cc-895b-e02d019c9e80)

![image](https://github.com/user-attachments/assets/a1b5c6b9-86d6-43f7-8a36-5661625e41d6)

(Time passed since I took the first screenshot, so you can see the
events "moved" to the left slightly in the dark theme screenshot)

I have some concerns about the low contrast of `neutral` variant events,
especially in dark mode. Maybe we should consider using `error` instead,
for red? Or maybe add a border to our event circles?

I specifically changed my environment to be "development" for the
screenshots. The default selection is the first enabled environment that
is `type=production`, which in my case is "production".

Here are our filters:
 - Time Span

![image](https://github.com/user-attachments/assets/b0649d7b-c6c2-482f-918f-b35b23184578)
 - Environment

![image](https://github.com/user-attachments/assets/33c788d6-9d76-4afd-b921-3c81eda4e1c5)

Here are a few more screenshots, with the different time spans (zooming
out, since we're increasing the time span):


![image](https://github.com/user-attachments/assets/16003a67-039e-43ad-a4db-617f96ec5650)

![image](https://github.com/user-attachments/assets/6d50b53f-1fc0-4e07-96a6-6843629ecb2d)

![image](https://github.com/user-attachments/assets/e6cc6b10-ff02-44db-82d5-346fba8eb681)

![image](https://github.com/user-attachments/assets/1181b8d7-a951-4e5a-aa5b-bd9fdbd16a7a)

![image](https://github.com/user-attachments/assets/7a43c5a0-c51c-4861-952a-2c09968263d6)

![image](https://github.com/user-attachments/assets/5bfda117-5524-435b-b0d1-a8b1bd446a36)

Again, when zooming out, some events should be grouped together, but
that's a task for later.
2024-09-19 12:14:10 +01:00
..
accessOverview fix: icon imports (#6499) 2024-03-12 10:56:10 +01:00
admin chore: remove unused SCIM setting - assumeControlOfExisting (#8101) 2024-09-05 13:45:20 +01:00
application [Gitar] Cleaning up stale flag: timeAgoRefactor with value true (#7997) 2024-08-28 11:12:27 +00:00
archive chore: update Frontend schema (#8037) 2024-09-02 14:41:17 +02:00
banners task: remove upgrade edge banner. (#8032) 2024-09-02 10:50:19 +02:00
changeRequest Refactor: Remove react-timeago (#7943) 2024-08-21 12:03:03 +02:00
commandBar feat: command menu docs (#7963) 2024-08-22 14:07:15 +03:00
common feat: new onboarding welcome screen logic (#8110) 2024-09-06 13:15:28 +03:00
context feat: upgrade from react v17 to v18 (#7265) 2024-06-11 13:59:52 +03:00
demo chore[demo]: update handling of strategy deletion for demo walkthrough (#7719) 2024-08-02 11:13:42 +02:00
environments fix: invert logic (#8135) 2024-09-11 18:12:37 +02:00
events chore: event timeline (#8176) 2024-09-19 12:14:10 +01:00
feature feat: explain complete feature name (#8120) 2024-09-06 12:45:06 +02:00
featureTypes chore: rename toggle to flag #2 (#7097) 2024-05-22 08:20:11 +03:00
feedback feat: upgrade from react v17 to v18 (#7265) 2024-06-11 13:59:52 +03:00
feedbackNew feat: command bar feedback (#7485) 2024-07-01 14:15:51 +03:00
filter fix: select an item only from the filtered list of options (#7789) 2024-08-07 14:46:37 +02:00
insights refactor: replace IProjectCard with openapi type (#8043) 2024-09-02 13:25:28 +00:00
integrations fix: reduce integration events requests (#8055) 2024-09-03 12:29:33 +01:00
layout feat: personal dashboard route (#8173) 2024-09-19 09:59:07 +02:00
loginHistory task: upgraded semver dependency (and biome) (#7272) 2024-06-04 15:01:43 +02:00
maintenance fix: icon imports (#6499) 2024-03-12 10:56:10 +01:00
menu feat: personal dashboard route (#8173) 2024-09-19 09:59:07 +02:00
onboarding fix: connect sdk description bg color (#8171) 2024-09-18 14:08:31 +02:00
personalDashboard feat: my projects ui stub (#8185) 2024-09-19 12:37:35 +02:00
playground/Playground refactor: ts checking conditionallyrender props (#7840) 2024-08-30 13:39:11 +02:00
project fix: archive project curl (#8181) 2024-09-19 09:58:31 +02:00
providers feat: upgrade from react v17 to v18 (#7265) 2024-06-11 13:59:52 +03:00
segments refactor: replace IProjectCard with openapi type (#8043) 2024-09-02 13:25:28 +00:00
signals feat: what's new in Unleash (#7497) 2024-07-03 09:54:38 +02:00
splash chore: remove operator upgrade alert (#8053) 2024-09-03 12:18:19 +03:00
strategies feat: upgrade from react v17 to v18 (#7265) 2024-06-11 13:59:52 +03:00
tags feat: separate command bar and search hotkeys (#7651) 2024-07-24 12:46:03 +03:00
user feat: Disallow repeating last 5 passwords. (#7552) 2024-07-09 16:18:35 +02:00
App.tsx task: remove upgrade edge banner. (#8032) 2024-09-02 10:50:19 +02:00
InitialRedirect.tsx fix: use a fullscreen loader for the initial redirect load (#7619) 2024-07-18 14:50:59 +02:00