-
Notifications
You must be signed in to change notification settings - Fork 28
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 #734: Delete a node using the delete key #1566
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1566 +/- ##
=======================================
Coverage ? 79.87%
Complexity ? 272
=======================================
Files ? 277
Lines ? 7910
Branches ? 1553
=======================================
Hits ? 6318
Misses ? 1481
Partials ? 111 ☔ View full report in Codecov by Sentry. |
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.
- When trying to delete a route, it is asking if we want to delete a step and the deletion is not working
- i think this is an important feature which requires tests to avoid regression and to be sure that we do not delete more data than planned
- i'm wondering if the code could not be factorized with the delete from the contextual menu
- recommendation to link the PR to the issue in github, the commi tmessage should include the text
fixes #734
e7f99b7
to
8cf6f46
Compare
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.
it will be better to split the 2 features delete and move. As there are several feedback on them which are independent.
- About delete:
- I still really think it is very important having tests for the delete functionality as it can lead to data loss if there is a problem
- About keys to navigate:
- By default, the layout is top-down and not left-right, here it is using left/right arrow to move in the route. arrow up/down would be more natural as the default. In another iteration, we can make it dependent on the layout direction.
- When at the end of the route, I would expect to stay on the last step when moving with key (or moving up, so selecting route). But can be done in another iteration. it would also ensures to not get out of the navigation.
- When inside a container on latest element and using key to go to next element, selection is removed. i would expect to go to next element outside of the container
- I see a lot of little corner case with arrows to navigate selection so would be better to have tests in place. (for instance when there will be multi-selection possible)
Quality Gate passedIssues Measures |
also for #1477