Skip to content

List a flag made while tagging in the Flag filter at once - #231

Merged
charpy4n6 merged 1 commit into
mainfrom
fix/new-flag-in-filter
Sep 28, 2026
Merged

charpy4n6 merged 1 commit into
mainfrom
fix/new-flag-in-filter

Conversation

@charpy4n6

Copy link
Copy Markdown
Collaborator

Creating a flag in the Flags… window (typing a new name while tagging files) added it to that window's list and tagged the files, but never rebuilt the Flag filter in the left pane. The new flag was missing from the filter until the case was reopened, so it looked like filtering by it did not work. Flags made in the flag editor (⚙ Flags) were not affected; that path already reloads the list.

The quick-create now reloads the flag list from the server the same way the editor does, which rebuilds the filter (gleapp/web/static/app.js, one line).

Checked in the browser on a copy of a real case: before creating the flag, the Flag filter listed "Any, heather"; right after creating "made-while-tagging" on one file it listed "Any, heather, made-while-tagging", and choosing it showed exactly that file. The JavaScript parses (node --check) and line endings pass. Front end only; no automated test.

🤖 Generated with Claude Code

Creating a flag in the Flags... window added it to that window's list and
tagged the files, but never rebuilt the left pane's Flag filter, so the new
flag was missing from it until the case was reopened. It now reloads the flag
list from the server, as the flag editor already does.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@charpy4n6
charpy4n6 merged commit 8d36066 into main Sep 28, 2026
7 checks passed
@charpy4n6
charpy4n6 deleted the fix/new-flag-in-filter branch September 30, 2026 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant