open-webui/src
Classic298 1f059fe730
feat: Prompts Atomic PR of #20243 (#20368)
* feat: Add read-only access support for Prompts

- Backend: Add write_access field to PromptAccessResponse
- Backend: Update /prompts/list to return prompts with write_access
- Frontend: Display Read Only badge in Prompts list
- Frontend: Disable inputs and save button when no write access

* feat: Add read-only visual indicators for Prompts workspace

* fix: Return write_access from getPromptByCommand endpoint

- Backend returns write_access directly in response
- Frontend extracts write_access from getPromptByCommand response
- Remove inefficient getPromptList call in edit page

* fix: Align Read Only badge to right in Prompts.svelte

- Title and command stay on left
- Badge pushed to right by justify-between

* fix: Use PromptAccessResponse in get_prompt_by_command endpoint

fix: Use PromptAccessResponse in get_prompt_by_command endpoint

- Return PromptAccessResponse Pydantic model instead of raw dict
- Properly type the response with response_model
2026-01-05 04:36:13 +04:00
..
lib feat: Prompts Atomic PR of #20243 (#20368) 2026-01-05 04:36:13 +04:00
routes feat: Prompts Atomic PR of #20243 (#20368) 2026-01-05 04:36:13 +04:00
app.css refac/fix: rtl support 2026-01-01 01:58:53 +04:00
app.d.ts chat feature added 2023-10-08 15:38:42 -07:00
app.html chore: format 2025-11-23 22:16:06 -05:00
tailwind.css refac: checkbox styling 2025-07-09 00:34:03 +04:00