dify/web/app/components/header/account-setting
yyh 648d9ef1f9
refactor(web): extract SystemQuotaCard compound component and shared useTrialCredits hook
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.
2026-03-04 23:30:25 +08:00
..
api-based-extension-page test: header account about, account setting and account dropdown (#32283) 2026-02-23 12:15:57 +08:00
collapse test: header account about, account setting and account dropdown (#32283) 2026-02-23 12:15:57 +08:00
data-source-page test: Add unit tests for Data Source Integrations (Notion, Website) and Modals (#32313) 2026-02-23 13:00:02 +08:00
data-source-page-new test: Add unit tests for Data Source Integrations (Notion, Website) and Modals (#32313) 2026-02-23 13:00:02 +08:00
Integrations-page test: header account about, account setting and account dropdown (#32283) 2026-02-23 12:15:57 +08:00
key-validator test: tighten user-visible specs and raise coverage for key-validator… (#32281) 2026-02-23 12:15:34 +08:00
language-page test: tighten user-visible specs and raise coverage for key-validator… (#32281) 2026-02-23 12:15:34 +08:00
members-page test: improve coverage for header components (#32628) 2026-02-27 10:27:46 +08:00
model-provider-page refactor(web): extract SystemQuotaCard compound component and shared useTrialCredits hook 2026-03-04 23:30:25 +08:00
plugin-page test: tighten user-visible specs and raise coverage for key-validator… (#32281) 2026-02-23 12:15:34 +08:00
constants.spec.ts test: header account about, account setting and account dropdown (#32283) 2026-02-23 12:15:57 +08:00
constants.ts feat: introduce trigger functionality (#27644) 2025-11-12 17:59:37 +08:00
index.spec.tsx test: header account about, account setting and account dropdown (#32283) 2026-02-23 12:15:57 +08:00
index.tsx ci(web): parallelize web tests with 4-shard Vitest sharding (#32713) 2026-02-27 21:33:12 +08:00
menu-dialog.spec.tsx refactor(web): align account settings dialogs with base UI 2026-03-04 19:31:14 +08:00
menu-dialog.tsx chore(web): commit dialog overlay follow-up changes 2026-03-04 19:37:10 +08:00