mirror of
https://github.com/langgenius/dify.git
synced 2026-05-13 08:57:28 +08:00
Extract trial credits calculation into a shared useTrialCredits hook to prevent logic drift between QuotaPanel and CredentialPanel. Add SystemQuotaCard compound component with explicit default/destructive variants for the system quota UI state in provider cards, replacing inline conditional styling with composable Label and Actions slots. Remove unnecessary useMemo for simple derived values. |
||
|---|---|---|
| .. | ||
| app | ||
| app-sidebar | ||
| apps | ||
| base | ||
| billing | ||
| custom | ||
| datasets | ||
| develop | ||
| devtools | ||
| explore | ||
| goto-anything | ||
| header | ||
| plugins | ||
| provider | ||
| rag-pipeline | ||
| share | ||
| signin | ||
| tools | ||
| workflow | ||
| workflow-app | ||
| app-initializer.tsx | ||
| browser-initializer.spec.ts | ||
| browser-initializer.tsx | ||
| sentry-initializer.tsx | ||
| splash.tsx | ||