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
This commit is contained in:
lianjianwei2024
2026-10-30 16:17:17 +08:00
parent 4ebf0afc22
commit ac4b4a1c06
6 changed files with 300 additions and 119 deletions

View File

@@ -32,6 +32,7 @@ CREATE TABLE suffix_columns (
name VARCHAR(190) NOT NULL,
is_value BOOLEAN NOT NULL DEFAULT FALSE,
sort_order INT NOT NULL DEFAULT 0,
width INT NOT NULL DEFAULT 0,
created_at TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
CONSTRAINT fk_suffix_columns_dir FOREIGN KEY(dir_id) REFERENCES suffix_dirs(id) ON DELETE CASCADE
) ENGINE=InnoDB;