-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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
feat(editor): Workflow history [WIP]- Create workflow history item preview component (no-changelog) #7378
feat(editor): Workflow history [WIP]- Create workflow history item preview component (no-changelog) #7378
Conversation
Great PR! Please pay attention to the following items before merging: Files matching
Files matching
Files matching
Files matching
Files matching
Make sure to check off this list before asking for review. |
…flow-history-item-preview-component # Conflicts: # packages/editor-ui/src/components/WorkflowHistory/WorkflowHistoryListItem.vue # packages/editor-ui/src/views/WorkflowHistory.vue
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #7378 +/- ##
==========================================
+ Coverage 33.40% 33.46% +0.05%
==========================================
Files 3389 3389
Lines 206627 206822 +195
Branches 22307 22316 +9
==========================================
+ Hits 69032 69204 +172
- Misses 136477 136501 +24
+ Partials 1118 1117 -1
☔ View full report in Codecov by Sentry. |
…d workflow history list item component for better reuse
… of github.com:n8n-io/n8n into pay-818-create-workflow-history-item-preview-component
…flow-history-item-preview-component
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.
Findings:
- Second line crops letters at the baseline.
- Empty workflow version breaks rendering.
- Renaming a user is not reflected in username stored with version. Unsure if intended.
- Version ID in workflow JSON does not match version ID in filename.
- Opening NDV breaks rendering.
- Selecting a line from top left corner and attempting to unselect can take multiple clicks. Happens to all three of them.
- Having nodes under top left corner makes version info unreadable.
- Version line overlaps version cards.
- Tag changes should be reflected across versions?
- Workflow settings changes should be reflected across versions?
- Seconds are missing from displayed version. Since we do not have autosave, many users very frequently save and will so create multiple versions that are hard to tell apart based on the datetime with only minute precision.
- There is something wrong when saving a version, e.g. in this example, I added and saved a Hacker News node but it is missing from the latest version.
- It'd be nice to see active state when browsing versions.
- I can lasso to copy nodes from a version. Not sure if I should be able to.
- Attempting to open workflow history on an unsaved workflow disables the button, but does not display a tooltip explaining why it is disabled. Perhaps it should be hidden altogether for unsaved workflows.
- The difference in shading between enabled and disabled workflow history button is too subtle for colorblind users.
- Attempting to access the version of a workflow I do not have access to triggers this limbo state. I'd expect to see something clearer like this on authorized access.
- After sharing a workflow with a second user, editing it causes only the second user to be in the
Edited by
field. In which case do we expect multiple authors to show up then?
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.
Fixed issues are checked
Findings:
- Second line crops letters at the baseline. ✅
- Empty workflow version breaks rendering.
- Renaming a user is not reflected in username stored with version. Unsure if intended.
- Version ID in workflow JSON does not match version ID in filename. ✅
- Opening NDV breaks rendering. ✅
- Selecting a line from top left corner and attempting to unselect can take multiple clicks. Happens to all three of them.
- Having nodes under top left corner makes version info unreadable.
- Version line overlaps version cards. ✅
- Tag changes should be reflected across versions?
- Workflow settings changes should be reflected across versions?
- Seconds are missing from displayed version. Since we do not have autosave, many users very frequently save and will so create multiple versions that are hard to tell apart based on the datetime with only minute precision. ✅
- There is something wrong when saving a version, e.g. in this example, I added and saved a Hacker News node but it is missing from the latest version.
- It'd be nice to see active state when browsing versions.
- I can lasso to copy nodes from a version. Not sure if I should be able to.
- Attempting to open workflow history on an unsaved workflow disables the button, but does not display a tooltip explaining why it is disabled. Perhaps it should be hidden altogether for unsaved workflows.
- The difference in shading between enabled and disabled workflow history button is too subtle for colorblind users.
- Attempting to access the version of a workflow I do not have access to triggers this limbo state. I'd expect to see something clearer like this on authorized access. ✅
- After sharing a workflow with a second user, editing it causes only the second user to be in the
Edited by
field. In which case do we expect multiple authors to show up then?
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.
- The NDV at version view is covered by the top bar and left-hand sidebar. This blocks the
Back to canvas
button, blocks the grabber notch to move the center pane, etc. Compare NDV at version view vs. NDV at execution view. - Canvas background is not identical to executions view. Not sure if intended.
- Follow-up to 17 - the fix triggers two identical toasts. I expect this should redirect to an empty canvas and show it once, like when attempting to access an unshared workflow. Closing via cross on top-right corner triggers the error toast a third time.
- Accessing a non-existing workflow using the version URL triggers a double toast. I'd expect we'd redirect to canvas and show one error notification.
- Accessing a non-existing version leads to an all-white canvas state. I'd expect we'd redirect to canvas and show one error notification.
- Have you tested that this works with environments?
- Since the feature button is unlabeled, it'd be nice if hovering over the button showed a tooltip with the name of the feature.
packages/design-system/src/components/N8nActionDropdown/ActionDropdown.vue
Outdated
Show resolved
Hide resolved
Checked the ones fixed
|
Passing run #2463 ↗︎
Details:
Review all test suite changes for PR #7378 ↗︎ |
✅ All Cypress E2E specs passed |
Got released with |
* master: fix(core): Fix ignoring crashed executions without event msgs (#7368) ci: Enable ARM64 builds for beta images (no-changelog) (#7403) 🚀 Release 1.11.0 (#7402) fix(editor): Sanitize HTML binary-data before rendering in the UI (#7400) fix(core): Fix error on missing paired item data (#7399) feat(editor): Workflow history [WIP]- Create workflow history item preview component (no-changelog) (#7378) feat(Item Lists Node): Split merge binary data (#7297) fix(core): Missing pairing info (#7326) fix(Webhook Node): Backward compatible form-data parsing for non-array files (#7385)
No description provided.