dify/web/contract/console
yyh 223b9d89c1
refactor(web): migrate priority change to oRPC contract with useMutation
- Add changePreferredProviderType contract in model-providers.ts
- Register in consoleRouterContract
- Replace raw async changeModelProviderPriority with useMutation
- Use Toast.notify (static API) instead of useToastContext hook
- Pass isPending as isChangingPriority to disable buttons during switch
- Add disabled prop to UsagePrioritySection
- Fix pre-existing test assertions for api-unavailable variant
- Update all specs with isChangingPriority prop and oRPC mock pattern
2026-03-05 09:30:38 +08:00
..
apps.ts feat(web): add base AlertDialog with app-card migration example (#32933) 2026-03-04 13:56:27 +08:00
billing.ts refactor(contract): restructure console contracts with nested billing module (#30999) 2026-01-15 10:41:18 +08:00
explore.ts fix: remove explore context and migrate query to orpc contract (#32320) 2026-02-14 16:18:26 +08:00
model-providers.ts refactor(web): migrate priority change to oRPC contract with useMutation 2026-03-05 09:30:38 +08:00
system.ts refactor(contract): restructure console contracts with nested billing module (#30999) 2026-01-15 10:41:18 +08:00
trigger.ts fix: remove staleTime/gcTime overrides from trigger query hooks and use orpc contract (#31863) 2026-02-04 19:33:32 +08:00
try-app.ts feat: frontend part of support try apps (#31287) 2026-01-22 18:16:37 +08:00