WIP: Draft: feat: added editor warning system and more user feedback #45
Reference in New Issue
Block a user
Delete Branch "feat/editor-user-feedback"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
to test:
ref: N25B-450
assigned to @j.gerla
marked the checklist item run 'npx jest' to ensure all tests pass as completed
marked the checklist item run 'npx eslint --fix' and ensure there are no errors as completed
marked the checklist item hovering over a nodehandle shows a tooltip describing possible connections as completed
marked the checklist item There is a warning sidebar that shows all registered editor warnings as completed
marked the checklist item The sidebar can be filtered by error severity as completed
I have checked the 6th checkbox, but realize that you probably can't ensure that there
are warnings (of any type) for all situation[s] that could break a program, even though you did cover the needed scope.marked the checklist item there are warnings (of any type) for all situation that could break a program as completed
marked the checklist item other warnings also exist, although not all situations that could be covered by a warning have warnings as completed
marked the checklist item if the cause for a warning is resolved the related warning is removed from the sidebar as completed
marked the checklist item if you click on any warning that isn't a global warning, the editor moves to the node it is about as completed
Make sure that the warnings are also compatible with dark mode. Currently, the container is always light-yellow, resulting in poor readability on dark mode, where the text is white.
Having the error window close when all errors is resolved is a specific thing you could (have) integrate(d), however it is probably not the current priority.
Please add docstring to all the functions in
WarningSidebar.tsxand the functions that still lack dosctrings insideEditorWarnings.tsx. Don't forget that having complete documentation should also be part of the checklist for a merge into dev.requested changes
added 1 commit
641d794c- fix: updated styles to work with darkModeCompare with previous version
added 1 commit
820884f8- fix: updated styles to work with darkModeCompare with previous version
changed the description
agree, I have changed the checkbox to be about causing invalid programs, as that is what I intended.
added 1 commit
85b84c22- feat: added visibility toggle with autoHide optionCompare with previous version
added 1 commit
ee796602- feat: added documentation commentsCompare with previous version
added 5 commits
dev58bd5781- Merge branch 'dev' into feat/editor-user-feedbackCompare with previous version
added 1 commit
53568476- feat: added warnings to inferredBeliefNodesCompare with previous version
resolved all threads
marked the checklist item There is proper documentation for the code as completed
added 1 commit
a85dbeac- refactor: adapted to fit the split made in monitoringPageCompare with previous version
marked this merge request as draft
Pull request closed