refactor: replace all form actions by API endpoints #1698
Labels
back
This issue is related to the Svelte backend or the DB
enhancement
New feature or request
front
This issue is related to the front-end of the app.
Milestone
We need to get rid of form actions, replace them with API endpoints with appropriate optimistic updates/invalidations.
The following actions need to be replaced:
src/routes/conversation/[id]/+page.server.ts
#1701src/routes/conversations/+page.server.ts
#1702src/routes/login/+page.server.ts
#1704src/routes/logout/+page.server.ts
#1705src/routes/settings/(nav)/assistants/[assistantId]/+page.server.ts
(delete, report, subscribe, unsubscribe, deny, approve, request, unrequest)src/routes/settings/(nav)/assistants/[assistantId]/edit/+page.server.ts
src/routes/settings/(nav)/assistants/new/+page.server.ts
src/routes/tools/[toolId]/+page.server.ts
(delete, report, deny, approve, request, unrequest)src/routes/tools/[toolId]/edit/+page.server.ts
src/routes/tools/new/+page.server.ts
The text was updated successfully, but these errors were encountered: