KB-4D60

TABLE-MODULE-V2 Report

2 min read Revision 1
reporttable-modulepr-439

TABLE-MODULE-V2 Report

Mission

Upgrade DirectusDataTable with 5 standard features following Scale by Default principle.

PR #439 — feat: TABLE-MODULE-V2 DirectusDataTable insert marks + proposals

Changes (5 files, +1012 -42)

New files (3):

  • dot/bin/dot-schema-table-proposals-ensure — DOT script for table_proposals collection (9 fields)
  • web/types/table-proposals.ts — TypeScript types for proposal system
  • web/components/shared/ProposalPopup.vue — Generic proposal popup (min-width 400px)

Modified files (2):

  • web/composables/useDirectusTable.ts — Added description? to FieldConfig
  • web/components/shared/DirectusDataTable.vue — Complete upgrade with all 5 features

Features Implemented

  1. Row insert marks — "+" between all rows, opacity 0.3→1.0 on hover, amber accent
  2. Column insert marks — "+" between all columns, above+below header
  3. ProposalPopup — Generic popup submitting to table_proposals collection
  4. Column descriptions — info icon + click popover from FieldConfig.description
  5. Schema — table_proposals collection created via DOT (9 fields, public READ+CREATE)

Production Verification

  • /knowledge/workflows: ddt-row-mark (10), ddt-col-mark (23), tooltips present
  • table_proposals public access: OK (200)
  • All pages HTTP 200

Tech Debt Notes

  • DOT script permissions format uses role: null (old format). Newer Directus requires policy field. Permissions were manually created with correct policy ID abf8a154-5b1c-4a46-ac9c-7300570f4f17.
  • TT-007 through TT-010 addressed by this PR.

CI/CD

  • PR #439: ALL GREEN
  • Merged (squash) to main
  • VPS deploy: SUCCESS