WeKnora/frontend/src/components
wizardchen 9cce0c8e5e feat(system): consolidate system admin and settings into one Settings panel
Replace the standalone /platform/system/* routes with a single
"系统设置" section inside the canonical Settings modal. The previous
SystemLayout.vue / SystemAdmins.vue surfaces are removed and their
functionality (system admin roster, global settings) is hosted directly
in SystemSettings.vue under the standard `.section-header` /
`.settings-group` skeleton. Legacy URLs redirect to the modal section
so external bookmarks don't 404.

Backend:
- SystemSettingService.Reset + repo.Delete: drop the DB override for a
  key so the 3-tier resolver falls back to ENV / built-in default.
  Idempotent (resetting a never-persisted key returns nil); emits an
  audit row only on real deletions, invalidates the local cache, and
  publishes to peers via the existing pubsub channel.
- TenantService.BulkSetStorageQuota: overwrite every tenant's
  storage_quota in one statement. Powers POST /system/admin/tenants/
  apply-default-storage-quota; bypasses the per-tenant whitelist on
  PUT /tenants/:id which intentionally forbids storage_quota edits.
- AuditAction{SystemAdminPromoted,SystemAdminRevoked} constants and
  emitAdminAudit() in SystemHandler — promote / revoke now leave an
  audit trail with TenantID=0 and {target_email,target_username,
  idempotent|changed} in details.
- SystemSetting.LastModifiedByName: derived per-request display label
  (username, email fallback) so the UI shows "wizardchen" instead of
  a UUID prefix without storing a denormalised column.

Frontend:
- SystemSettings.vue rewritten against the Settings modal skeleton with
  auto-persisting controls (switch/select @change, input/inputnumber
  @blur, tag-input + per-delta popconfirm for SSRF whitelist and admin
  roster). auth.registration_mode change goes through an inline
  popconfirm; cancel rolls back. Reset / bulk-apply also inline
  popconfirms — no dialog modal for these per-row affordances.
- Priority hint panel surfaces the DB > ENV > default resolver order
  so operators can reason about "I set the env but it doesn't show up".
- Router: /platform/system, /platform/system/settings, /platform/system/
  admins are now compatibility redirects to /platform/settings?section=
  system-global.
- Settings modal sized 900x700 → 1080x780 and content-wrapper 600 → 760
  so the wider tables (members, system settings) breathe; <1100px
  viewport still flexes to the screen.
- i18n: system.globalSettings.* keys for title / description / loading /
  empty / badges / priority hint / per-key labels / reset / bulkApply /
  admins (label, placeholder, save messages, popconfirm copy) across
  zh-CN, en-US, ko-KR, ru-RU.

Misc:
- internal/utils/filesize.go doc: clarify MAX_FILE_SIZE_MB is a
  deploy-time-only knob (nginx + docreader + frontend each cache the
  env at startup); a SystemAdmin UI override would mislead operators
  because nginx would still 413. Until all four layers can hot-reload
  the limit in lockstep, this stays env-only.
- internal/utils/security.go: SSRF whitelist parser/runtime now drives
  off SystemSettingService for live updates; ENV remains the fallback
  for never-overridden deployments.
2026-05-26 21:13:56 +08:00
..
GlobalCommandPalette feat(frontend): replace standalone search page with global command palette 2026-05-06 16:26:22 +08:00
credentials refactor(credentials): introduce /credentials subresource pattern 2026-05-17 15:27:52 +08:00
css feat(frontend): unify font rendering and add font picker in settings 2026-05-05 00:48:40 +08:00
settings refactor(frontend): unify Model/WebSearch/MCP settings pages with shared card + drawer 2026-04-29 22:34:39 +08:00
AgentAvatar.vue feat(frontend): unify font rendering and add font picker in settings 2026-05-05 00:48:40 +08:00
AgentSelector.vue fix(frontend): correct floating UI positioning under root `zoom` 2026-05-24 23:03:26 +08:00
AgentShareSettings.vue feat(frontend): unify font rendering and add font picker in settings 2026-05-05 00:48:40 +08:00
AttachmentUpload.vue fix(frontend): route chat drag-and-drop uploads correctly 2026-04-30 10:43:03 +08:00
CreateTenantDialog.vue feat(tenant): enhance CreateTenantDialog layout and styling 2026-05-18 17:28:58 +08:00
FAQTagTooltip.vue fix(frontend): correct floating UI positioning under root `zoom` 2026-05-24 23:03:26 +08:00
GlobalCommandPalette.vue refactor(GlobalCommandPalette): streamline template structure for improved readability 2026-05-18 17:28:58 +08:00
GlobalInvitationBell.vue feat(tenant): enhance tenant information update with description field and add global invitation bell component 2026-05-18 17:28:58 +08:00
IMChannelPanel.vue feat(frontend): tenant switcher in user menu + role-aware UI gates 2026-05-18 17:28:58 +08:00
IMChannelsOverviewPanel.vue feat(frontend): tenant switcher in user menu + role-aware UI gates 2026-05-18 17:28:58 +08:00
Input-field.vue fix(input-field): wrong toast when selecting built-in agents other than quick-answer / smart-reasoning 2026-05-26 20:26:31 +08:00
KBInfoPopover.vue style(frontend): refine KBInfoPopover button styles for improved visual hierarchy 2026-05-26 10:20:56 +08:00
KBSwitcherDropdown.vue feat(frontend): introduce KBSwitcherDropdown component for improved knowledge base selection 2026-05-26 10:20:56 +08:00
KnowledgeBaseSelector.vue fix(frontend): correct floating UI positioning under root `zoom` 2026-05-24 23:03:26 +08:00
ListSpaceSidebar.vue feat(favorites): implement user favorites and recents functionality 2026-05-18 17:28:58 +08:00
MentionSelector.vue feat(frontend): unify font rendering and add font picker in settings 2026-05-05 00:48:40 +08:00
ModelEditorDialog.vue fix(initialization): surface upstream and SSRF errors verbatim in test-connection responses 2026-05-17 15:27:52 +08:00
ModelSelector.vue feat(asr): integrate Automatic Speech Recognition (ASR) support 2026-04-02 21:27:27 +08:00
MyInvitationsDialog.vue feat(invitations): implement pending invitations feature with polling and dialog 2026-05-18 17:28:58 +08:00
PromptTemplateSelector.vue feat(agent): add intent prompt customization in agent editor 2026-05-26 20:41:10 +08:00
ResourceOriginBadge.vue feat(creator_name): add creator_name field to agents and knowledge bases for enhanced visibility 2026-05-18 17:28:58 +08:00
ShareKnowledgeBaseDialog.vue fix(frontend): unify radio button theme and disabled selection 2026-05-07 21:51:22 +08:00
SpaceAvatar.vue feat(frontend): unify font rendering and add font picker in settings 2026-05-05 00:48:40 +08:00
TenantSelector.vue fix(frontend): keep X-Tenant-ID override when switching back to home 2026-05-22 18:20:23 +08:00
UserMenu.vue feat(system): consolidate system admin and settings into one Settings panel 2026-05-26 21:13:56 +08:00
VectorStoreBadge.vue feat: expose KB ↔ vector store binding in list, editor, and detail UI 2026-05-22 17:40:10 +08:00
doc-content.vue fix(rbac): hide UI mutation surfaces for Viewer / non-creator 2026-05-18 17:28:58 +08:00
document-preview.vue fix(markdown): 修复小概率情况下公式加载失败问题 2026-05-07 16:34:20 +08:00
empty-knowledge.vue feat(frontend): unify font rendering and add font picker in settings 2026-05-05 00:48:40 +08:00
manual-knowledge-editor.vue feat(frontend): unify font rendering and add font picker in settings 2026-05-05 00:48:40 +08:00
menu.vue fix(menu): stop truncating session titles when extra space is available 2026-05-18 22:25:11 +08:00
modelEditorSourceState.test.ts fix(model): hide Ollama tip for remote models 2026-05-16 02:20:58 +08:00
modelEditorSourceState.ts fix(model): hide Ollama tip for remote models 2026-05-16 02:20:58 +08:00
picture-preview.vue feat: Enhance image preview functionality in WikiBrowser component 2026-04-22 21:17:28 +08:00
upload-mask.vue feat(frontend): unify font rendering and add font picker in settings 2026-05-05 00:48:40 +08:00