Files
bible/kit/patterns/table-management
Michael Chus 40d1c303bb Add shared engineering rule contracts
- go-logging: slog, server-side only, structured attributes
- go-database: MySQL cursor safety, soft delete, GORM tags, fail-fast, N+1 prevention
- go-background-tasks: Task Manager pattern, polling, no SSE
- go-code-style: layering, error wrapping, startup sequence, config, templating
- import-export: CSV Excel-compatible rules (BOM, semicolon, decimal comma, DD.MM.YYYY)
- table-management: filtering and pagination rules added
- CLAUDE.template.md: updated to reference all shared contracts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 16:39:39 +03:00
..

Table Management Pattern (Shared Module)

Shared reusable module for high-density table screens across patterns.

This module is the canonical source for:

  • unified table toolbar layout (single container, grouped actions, vertical separators)
  • icon-first action buttons with deterministic semantics
  • select/actions narrow edge columns
  • toolbar+table visual seam behavior (single continuous block)
  • canonical SVG icon sprite for table actions (shared at theme layer)
  • canonical table-management visual/interaction seams independent of host branding

Use this module as the base interaction contract for:

  • controls-selection
  • operator-tools

Pattern-specific contracts should only define additions or exceptions.

Canonical Assets

  • Behavior/layout contract: contract.md
  • Active icon sprite: ../theme-vapor/templates/icon_sprite.html
  • Active stylesheet baseline: ../theme-vapor/static/vapor.css
  • Legacy icon sprite archive: ../theme-aqua-legacy/templates/icon_sprite.html