Skip to content

Conversation

@rakdutta
Copy link
Collaborator

@rakdutta rakdutta commented Nov 6, 2025

This PR adds new admin endpoints and enhances the frontend for managing prompts and resources.

Backend:

  • Introduces paginated, team-aware HTML partials for prompts/resources.
  • Adds endpoints for fetching all prompt IDs and server-side search with access control.
  • Uses DbPrompt and DbResource in new queries.

Frontend:

  • Improves selector logic for accurate “Select All” behavior.
  • Adds HTMX-based partial reloads for pagination and inactive toggle.
  • Replaces client-side prompt search with server-side debounce search.

Cleanup:

  • Removed unnecessary debug log from prompt_service.py.

Signed-off-by: rakdutta <rakhibiswas@yahoo.com>
Signed-off-by: rakdutta <rakhibiswas@yahoo.com>
Signed-off-by: rakdutta <rakhibiswas@yahoo.com>
Signed-off-by: rakdutta <rakhibiswas@yahoo.com>
Signed-off-by: rakdutta <rakhibiswas@yahoo.com>
Signed-off-by: rakdutta <rakhibiswas@yahoo.com>
Signed-off-by: rakdutta <rakhibiswas@yahoo.com>
Signed-off-by: rakdutta <rakhibiswas@yahoo.com>
Signed-off-by: rakdutta <rakhibiswas@yahoo.com>
@rakdutta rakdutta requested a review from madhav165 November 6, 2025 06:05
Copy link
Collaborator

@madhav165 madhav165 left a comment

Choose a reason for hiding this comment

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

Hi @rakdutta , please check and fix these too.

  1. When changing pages in prompts and resources pages, getting duplicate headers for the table.
  2. In servers page, clicking select all should select all the tools, even those not loaded in DOM.
  3. Prompts and resources should be paginated in Edit Server screen also.

Signed-off-by: rakdutta <rakhibiswas@yahoo.com>
Signed-off-by: rakdutta <rakhibiswas@yahoo.com>
Signed-off-by: rakdutta <rakhibiswas@yahoo.com>
Signed-off-by: rakdutta <rakhibiswas@yahoo.com>
@rakdutta rakdutta marked this pull request as ready for review November 6, 2025 08:23
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.

3 participants