Repository navigation
feat: opt-in notes on test results (#375) - #377
Merged
Merged
Conversation
- add a Test Notes setting (off by default) that adds a right-click menu on test graphs, a Test Notes table and a notes column in the tests table - notes have a text, a category with a color, and are stored in localStorage keyed by run and test - Notes modal with a list tab (update mode, bulk delete) and a categories tab; the note editor saves when it is closed - edits in the notes modal take effect on the open dashboard after closing it, like the filter and settings modals - keep the page from shifting when modals open and keep the scroll position when the settings modal closes - docs/notes.md, README and docs index; JS unit tests and robot suite 10_notes Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The category chooser in the note editor was a native <select>, which can't show the category color in every browser. It is now a Bootstrap dropdown with a color dot on every entry, as requested in #375. A hidden input keeps the chosen id, so saving is unchanged. The Categories tab of the Notes modal now lays out the new-category form and every row on one grid (Category | Usages | Color | button), so colors and buttons line up. The Delete buttons pick the outline class of the current theme; they were invisible in light mode because theme.js only swaps the classes of buttons that exist at that time. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #375
Adds opt-in notes on test results: write down why a test failed or passed with a warning, link the bug, and group notes with categories you define. Documentation: docs/notes.md.
How it works
--server. Nothing is written to the database or the HTML. Export/import is available in the Notes modal.http(s)links clickable), an optional category, Delete Note / Save Note in the header. There is no Close: dismissing the editor saves.Also changed
body.modal-openno longer becomes a scroll container).Testing
tests/javascript/notes), Python 414 passed with 97% coverage.10_notes.robot.🤖 Generated with Claude Code