-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Visual timeline UI #4650
Visual timeline UI #4650
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## visual-timeline-of-version-history #4650 +/- ##
===================================================================
Coverage 78.53% 78.53%
===================================================================
Files 303 303
Lines 14398 14398
Branches 3285 3285
===================================================================
Hits 11307 11307
Misses 3091 3091
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
…te to deployed instances, xss prevention
…apshots because the timeline snapshot doesn't have the updatedAt property
…tive route in the immersive view vs regular view
… panels and margin bottom to compensate for the hubspot chat
nb: the high number of files changed is due to directory changes made to reflect the new version history hierarchy. Moved files should have no code changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UX Feedback:
-
If I have the feature disabled in my Team Type, then it should default to the "Snapshots" view, not "Timeline"
-
We need some better visual feedback
:hover
of the toggle between Snapshots and Timeline. Currently only have a cursor change, hover background color should be applied. -
I know the timeline is vertical, but three vertical dots implies kebab menu rather than "more", so let's go horizontal please.
- After Creating a Snapshot in the "Timeline" view, the new Snapshot doesn't display, I have to refresh, or navigate away and back and agian.
I also seem to not be seeing any auto-snapshots in the timeline? I know we discussed how busy that made it, but thought we'd agreed to keep them in? |
UI: So, newer auto-snapshots are showing, the older ones are not? @Steve-Mcl - is this expected? API Response: |
Hard to say without seeing all data but FYI, the API returns paged results & I can see there is a Are these on the pre-staging or local @joepavitt ? Happy to do a call to investigate. |
I'd like to join that call if it 's alright with you |
Just local, and further pages do not contain the auto-created Snapshots. Can you verify on any instances you may have locally yourself? My throat still playing up, so trying to minimise talking. |
No worries. I'm just finishing up a docs PR. Will pull this and call @cstns (about 15 mins ok ?) |
some observations noted after pulling this branch - just getting them written up so they are not forgotten.
@Yndira-E . |
Hi @Steve-Mcl
For snapshots, absolutely. However, for the timeline, we might need something new for both the dialog and the empty state. For now, I think we can use the same snapshot image for both dialogues and update the timeline one when we have it. I've already created the art request: #4668 |
We only need new icons for the feature unavailable state and dialog, because users that can access the feature on any instance will always have the instance created event, so the list will never be empty. |
I added this in a later edit, this should be the case now |
it is unnerving how quickly we parse things out of our memory! Spend 20 mins debugging with @cstns then something popped into my head... From the PR: #4509
We weren't capturing an audit entry prior to ... In an early version of this code, I scanned the snapshots and interleaved them with the audit entries, however this was riddled with edge cases and subtleties so instead, I did what should have been done from the start - audit log the Auto Snapshots. Moving forward, you will see all snapshots. |
Description
Implemented the user interface described in #4304 for the history timeline
Related Issue(s)
part of #4304
has to be merged in #4647
Checklist
flowforge.yml
?FlowFuse/helm
to update ConfigMap TemplateFlowFuse/CloudProject
to update values for Staging/ProductionLabels
area:migration
label