WeKnora/frontend/src
wizardchen 49cd392308 fix(frontend): rework chunking debug UX in KB editor
The chunking debug panel was an inline section that crowded the
strategy form, broke its own layout with negative margins, and crashed
on result.rejected being null. The trigger button required scrolling to
the form's bottom to reach.

- Move debug into a right-side t-drawer pinned above the modal stacking
  context (attach=body, z-index 3000) so it overlays cleanly.
- Promote the trigger to a sticky header sibling next to the section
  title, with right padding to clear the modal close button.
- Replace unicode arrows / + / − with tdesign-icons (Chevron, Play,
  ErrorCircle) and rebuild the result layout: pill-shaped breadcrumb
  tags, line-clamped previews with gradient fade on collapse, ordered
  chunk list, structured error block.
- Drop custom char counter (t-textarea already has one).
- Add four sample fixtures (markdown / faq / chapter / plain) loadable
  as preset chips so users have realistic content to test against.
- Guard `result.rejected` nullability that crashed the panel.
- Normalize the recursive tier label to legacy in the UI since both
  tiers behave identically — pairs with the backend cleanup.
- Rename strategy labels in zh-CN/en-US/ko-KR/ru-RU from internal jargon
  ("auto", "heading", "heuristic", "legacy") to descriptive names
  ("Automatic", "Heading-aware", "Structure-aware", "Length-based") and
  add presetLabel + sample i18n keys.
2026-05-06 20:23:21 +08:00
..
api fix(chunker): QA audit — pointer DTOs, profile reuse, stats correctness 2026-05-06 17:17:07 +08:00
assets fix(frontend): harden font/theme preferences for production edge cases 2026-05-05 00:48:40 +08:00
components feat(frontend): replace standalone search page with global command palette 2026-05-06 16:26:22 +08:00
composables fix(frontend): drop infectious preference fallback, add migration latch 2026-05-05 00:48:40 +08:00
hooks fix(frontend): knowledge document list layout, batch bar, and selection 2026-04-29 15:20:41 +08:00
i18n fix(frontend): rework chunking debug UX in KB editor 2026-05-06 20:23:21 +08:00
router feat(frontend): replace standalone search page with global command palette 2026-05-06 16:26:22 +08:00
stores feat(frontend): replace standalone search page with global command palette 2026-05-06 16:26:22 +08:00
types feat(frontend): chunking debug panel with live preview 2026-05-06 17:17:07 +08:00
utils fix(security): forbid <style> in sanitized document HTML 2026-05-06 16:41:20 +08:00
views fix(frontend): rework chunking debug UX in KB editor 2026-05-06 20:23:21 +08:00
wailsjs feat: implement automatic update checking and downloading functionality in the desktop app, enhancing user experience with seamless updates and corresponding UI settings 2026-04-11 18:51:16 +08:00
App.vue fix(frontend): harden font/theme preferences for production edge cases 2026-05-05 00:48:40 +08:00
main.ts feat(frontend): unify font rendering and add font picker in settings 2026-05-05 00:48:40 +08:00