Skip to content

fix(web): backport New RAG document search and scrolling to 1.18.0 - #44874

Merged
FFXN merged 1 commit into
hotfix/1.18.0-fix.1from
fix/1.18.0-new-rag-document-search
Oct 27, 2026
Merged

FFXN merged 1 commit into
hotfix/1.18.0-fix.1from
fix/1.18.0-new-rag-document-search

Conversation

@hyoban

@hyoban hyoban commented Oct 27, 2026

Copy link
Copy Markdown
Member

Summary

Backport #44818 to hotfix/1.18.0-fix.1. Fixes #44811 for this release branch.

Search and status filters now reach KnowledgeFS before pagination, so matching documents beyond the loaded pages can be found. The Documents surface gets a bounded scroll area, and its toolbar stays available during loading, errors, and empty results. Task updates refresh filtered membership while retaining active tasks that leave the visible result set.

Cherry-picked e8b9a3c7faec6b1d9dccbe416753e4831b5e8165 with -x. Conflict resolution preserves the release branch's existing document deletion flow, adds the scroll region around its current results surface, and keeps its already-removed lint suppression absent. Backend tests remain in their release-branch file locations.

Deployment dependency: KnowledgeFS #77 must be deployed first; it provides server-side search/status filtering before pagination.

Validation

  • Documents unit suite: 411 tests passed across 13 files.
  • Chromium scrolling and pagination regressions: 2 tests passed at desktop and narrow widths.
  • Targeted backend DTO/facade suite: 207 tests passed.
  • Ruff checks for changed Python files: passed.
  • Complete vp run -w check: passed with 0 errors and existing warnings.
  • git diff --check, staged checks, and hotfix cherry-pick provenance validation: passed.
  • Compared the backport with the original patch. No live deployment integration test was run for this backport.

Screenshots

No new screenshots; the composed-shell browser regressions verify scrolling and pagination.

Checklist

  • Documentation update required (not applicable).
  • Existing issue and upstream PR are linked.
  • Upstream regression tests are included and pass.
  • Documentation updated (not applicable).
  • Frontend static/staged checks and targeted backend checks passed.

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
(cherry picked from commit e8b9a3c)
@github-actions github-actions Bot added size:XL This PR changes 500-999 lines, ignoring generated files. web This relates to changes on the web. and removed size:XL This PR changes 500-999 lines, ignoring generated files. labels Oct 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Pyrefly Type Coverage

Metric Base PR Delta
Type coverage 78.31% 78.31% +0.00%
Strict coverage 78.01% 78.01% +0.00%
Typed symbols 73,789 73,795 +6
Untyped symbols 20,513 20,513 0
Modules 4209 4209 0

@hyoban
hyoban marked this pull request as ready for review October 27, 2026 08:40
@github-actions github-actions Bot added the size:XL This PR changes 500-999 lines, ignoring generated files. label Oct 27, 2026
@FFXN
FFXN merged commit 12a60ab into hotfix/1.18.0-fix.1 Oct 27, 2026
9 checks passed
@FFXN
FFXN deleted the fix/1.18.0-new-rag-document-search branch October 27, 2026 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XL This PR changes 500-999 lines, ignoring generated files. web This relates to changes on the web.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants