DSingh0304 commented on PR #3222: URL: https://github.com/apache/apisix-dashboard/pull/3222#issuecomment-4117170012
Hi @Baoyuantop , I have addressed all the blocking items in this PR: 1. **Data Completeness**: I've refined the hybrid filtering logic to include a specific UI warning (`table.searchLimitReached`) that only appears when results hit the `PAGE_SIZE_MAX` limit. This explicitly alerts users that some matches might be missing in larger datasets. 2. **Status Value Coupling**: Refactored the filtering logic to use a new `ResourceStatus` Enum. Hardcoded string comparisons like `"Enabled"`/`"Disabled"` have been replaced with enum-based logic and i18n label mapping. 3. **URL Parameter Compatibility**: Added a `preprocess` layer to `pageSearchSchema` to support legacy URL parameters (e.g., mapping `pageSize` to `page_size`). This ensures backward compatibility with existing bookmarks and shared URLs. 4. **Scope Control**: Cleaned up the changes in `routeTree.gen.ts` by re-generating the route tree using the latest version of the router plugin, ensuring only relevant changes are included. Additionally, I fixed all related lint errors and ensured type safety across the modified utility functions. Please let me know if any further adjustments are needed! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
