Conversation
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.
Search incident reports by asset, ID, description, or resolution note, combine status and observed-priority filters, and sort by newest, oldest, or highest priority. The result count updates without replacing the focused search input, and Clear filters restores all history.
Export visible CSV downloads exactly the filtered reports in their displayed order. Cells are quoted and leading formula characters are escaped; the export contains report details and photo-presence flags while excluding tracking tokens and image bytes. Export is disabled for an empty result, and search state clears on sign-out.
Validation:
node --test tests-web/*.test.mjs— 8 tests pass, including combined filters, sort order, non-mutation, CSV escaping, and excluded tokens/photo data.node --check public/static/app.js,ruff check ., andpython -m unittest discover -s tests -v— pass (27 API/scoring/schema tests on local SQLite).