Skip to content

Conversation

@cto-new
Copy link

@cto-new cto-new bot commented Oct 20, 2025

Summary

This PR ensures that the admin UI for subconverters properly refreshes after create, edit, or delete actions, maintaining up-to-date data and a consistent experience across all resource management tables.

Details

  • Subconverter table and form components now trigger a UI refresh after CRUD operations, preventing stale data displays and ensuring users always see the latest changes.
  • Leverages the router.refresh() method in successful mutation callbacks for both single-item forms and bulk operations.
  • Applies the same UI refresh principles previously implemented for user, node, node-client, and clash-config tables, resulting in a more robust, predictable workflow for administrators managing all resources.
  • All major admin resource tables now have a consistent and reliable request-to-refresh UI cycle, reducing confusion and eliminating the need for manual page reloads.

cto-new bot added 2 commits October 20, 2025 13:38
… on deletion

Fixes an ordering bug when adding user access to a node client: new user-client option 'order' values are now set atomically to avoid duplicate or clashing order for multi-user scenarios. Additionally, Node, User, and ClashConfig delete mutations now explicitly trigger a UI refresh to ensure client state reflects recent deletions. Small error handling improvements for empty user-client queries.

This prevents UI inconsistencies, order bugs, and improves reliability for multi-user administration flows. No breaking changes but improves correctness for user CRUD operations.
- Ensure admin subconverter table and forms auto-refresh on add, edit,
  or delete actions using router.refresh and mutation callbacks.
- Improves UX by preventing stale data on all subconverter admin pages.
- Maintains consistency with other admin resource tables.
@cto-new cto-new bot marked this pull request as ready for review October 20, 2025 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants