Skip to content

docs(web): remove stale UmiJS references after Vite migration - #20467

Merged
JinHai-CN merged 2 commits into
infiniflow:mainfrom
sunshanhui:docs/remove-stale-umijs-refs
Sep 30, 2026
Merged

JinHai-CN merged 2 commits into
infiniflow:mainfrom
sunshanhui:docs/remove-stale-umijs-refs

Conversation

@sunshanhui

Copy link
Copy Markdown
Contributor

The frontend was migrated from UmiJS to Vite, but two files under web/ still
reference UmiJS:

  • web/AGENTS.md: states the app is "built with UmiJS"
  • web/README.md: the shutdown instruction runs kill -f "umi dev"

Evidence that Vite is the current build tool:

  • web/package.json description: "RAGFlow Web Frontend migrated to Vite"
  • all scripts use vite (dev: vite --host, build: vite build ...)
  • the only build config under web/ is vite.config.ts; there is no
    .umirc.ts or config/config.ts
  • no Umi framework package is declared in web/package.json
    (umi-request is an unrelated HTTP library and is left untouched)
  • the root AGENTS.md already states "React + TypeScript + Vite"

Docs-only change, no functional impact.

Copilot AI balanced review requested due to automatic review settings September 30, 2026 09:04

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@coderabbitai

coderabbitai Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 7c53a4db-80e8-4057-9407-ab5e4b1dfef4

📥 Commits

Reviewing files that changed from the base of the PR and between 435da41 and e85e462.

📒 Files selected for processing (2)
  • web/AGENTS.md
  • web/README.md

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.


📝 Walkthrough

Walkthrough

The web project guidance now identifies Vite as the frontend build tool. The README shutdown instructions now use kill -f "vite".

Changes

Web project documentation

Layer / File(s) Summary
Update Vite references
web/AGENTS.md, web/README.md
The project description now names Vite. The shutdown command now matches vite instead of umi dev.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Suggested reviewers: yuzhichang

Merge Risk: ⚪ Minimal · up to e85e4

The Vite documentation matches the existing scripts. The shutdown-command issue predates this PR, and Ctrl+C remains available; no new merge risk is identified.

Architecture Summary

Architecture risk: 🔵 Low · up to e85e4

The change affects 1 system.

Changed systems: web

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — web (service) was modified; 2 changed files map to changed impact.

Before / after behavior

  • observed — Modified behavior in web/AGENTS.md: The project description replaces UmiJS with Vite as the frontend build tool.
  • observed — Modified behavior in web/README.md: The shutdown command changes from matching umi dev to matching vite.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the documentation change and the removal of stale UmiJS references after the Vite migration.
Description check ✅ Passed The description clearly explains the purpose, affected files, evidence for the Vite migration, and the lack of functional impact. It does not use the template's explicit "### Summary" heading, but it …
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

A rabbit taps the Vite-shaped sign,
The project notes now name the tool.
The shutdown line has changed its match,
No more old process in the rule.
One hop, one edit, neat and small,
Then carrots for the docs team all!

Comment @coderabbitai help to get the list of available commands.

@JinHai-CN
JinHai-CN requested a review from cike8899 September 30, 2026 09:08
@cike8899 cike8899 added the ci Continue Integration label Sep 30, 2026
@JinHai-CN
JinHai-CN merged commit 1bef747 into infiniflow:main Sep 30, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continue Integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants