Commit Graph

2 Commits

Author SHA1 Message Date
lianjianwei2024
ac4b4a1c06 feat: suffix naming rules, extension consistency, column widths, compact layout
- suffix rows are named by the suffix at creation (prompt); names are
  immutable afterwards; duplicates auto-suffix -1/-2 (global)
- new-group dialog takes group name + first suffix name; backend creates
  group and its first workspace row in one transaction
- upload validation: file extension must match the row's suffix
  (whole-row consistency), enforced client- and server-side
- column sort dialog gains per-column width inputs (persisted via
  PATCH /columns/:id, table renders fixed widths, 0 = auto)
- compact layout: denser tables/bars, viewport-height shell with
  independent scrollbars, cleanup step in e2e flow
2026-10-30 16:17:17 +08:00
lianjianwei2024
dd9d5470c2 feat: add suffix management module under business admin
- migration 000017: suffix_dirs tree (info-price style, two-root sidebar),
  suffix_groups, suffixes, per-directory columns with value flag, cells,
  row anchors and template files (stored under PACKAGE_STORAGE_ROOT)
- Go API /api/v1/suffix-admin/*: tree/page/CRUD/reorder for dirs, groups,
  suffixes and columns; cell upsert; anchor toggle; template upload with
  sha256 verification, scoped download/delete; admin session required
- RequiredSchemaVersion 16 -> 17
- Vue panel /suffixes (menu below payment plans): two roots (basic setup +
  info-price directory tree), grouped suffix sheet with template upload,
  add-column dialog with 值设置 checkbox (value cells store {anchor,value});
  removed attribute-table/field-mapping/column-sort/value-setting toolbar
- tests: integration test (MYSQL_TEST_DSN gated) + 3 vitest cases
2026-10-30 11:32:22 +08:00