mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-03-25 00:17:39 +08:00
## Description This PR fixes an issue where the input and variable configuration tables in the Agent Canvas (specifically for **Begin**, **UserFillUp**, and **Invoke** nodes) were truncated at 10 items. **Root Cause:** The tables utilized `@tanstack/react-table` with `getPaginationRowModel()` enabled. Since the default page size is 10 and no pagination UI controls were implemented, users could not access items beyond the 10th row. **Solution:** Removed `getPaginationRowModel` from the table configurations. These lists (inputs/variables) are typically short, so rendering all items in a single scrollable view is the intended behavior. * Modified `query-table.tsx` * Modified `variable-table.tsx` ## How to verify 1. Create a **Begin**, **UserFillUp**, or **Invoke** node in the Agent Canvas. 2. Add more than 10 input items or variables. 3. Verify that all items are visible in the list and not truncated at the 10th item. ## What kind of change does this PR introduce? * [x] Bugfix
Install front-end dependencies
npm install
Launch front-end
npm run dev
The following output confirms a successful launch of the system:
Login to RAGFlow web UI
Open your browser and navigate to:
http://localhost:9222 or http://[YOUR_MACHINE_IP]:9222
Replace [YOUR_MACHINE_IP] with your actual machine IP address (e.g., http://192.168.1.49:9222).
Login to RAGFlow web admin UI
Open your browser and navigate to:
http://localhost:9222/admin or http://[YOUR_MACHINE_IP]:9222/admin
Replace [YOUR_MACHINE_IP] with your actual machine IP address (e.g., http://192.168.1.49:9222/admin).
Shutdown front-end
Ctrl + C or
kill -f "umi dev"