chore+feat: add whitelist and blacklist filtering to GET /files endpoint#2346
Open
LevinCeglie wants to merge 5 commits into
Open
chore+feat: add whitelist and blacklist filtering to GET /files endpoint#2346LevinCeglie wants to merge 5 commits into
LevinCeglie wants to merge 5 commits into
Conversation
LevinCeglie
marked this pull request as ready for review
July 15, 2026 13:05
Greptile SummaryThis PR adds file-state filtering across the API, CLI, and frontend. The main changes are:
Confidence Score: 5/5This looks safe to merge.
|
| Filename | Overview |
|---|---|
| frontend/src/services/queries/file.ts | Serializes each state as a repeated query parameter and forwards the filters through mission file queries. |
| packages/api-dto/src/types/file/file-query.dto.ts | Normalizes single and repeated state parameters into validated FileState arrays. |
| backend/src/services/file-query.service.ts | Applies state whitelists and blacklists with parameterized SQL predicates. |
| cli/kleinkram/api/routes.py | Adds state lists to the CLI request parameters using the existing repeated-parameter encoding. |
| frontend/src/components/explorer-page/explorer-page-files-table.vue | Excludes canceled files from the explorer table by default. |
Reviews (2): Last reviewed commit: "fix(frontend): fix file state filter par..." | Re-trigger Greptile
…ering options to 'klein file list'
LevinCeglie
force-pushed
the
chore/hide_canceled_files
branch
from
July 15, 2026 13:22
622a1c3 to
ab67187
Compare
LevinCeglie
requested review from
Copilot and
wp99cp
and removed request for
Copilot
July 20, 2026 08:22
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.
Also autohide CANCELED files by default and implement UI/UX for filtering in CLI and frontend.
--