Data display model — additive Custom Views layer + unified inbox subsume + render-shape switcher #5
Open
opened 2026-05-06 14:46:46 +00:00 by mAi
·
3 comments
No Branch/Tag Specified
main
mai/planck/coder-b5-b6-train-share
mai/archimedes/fixer-port-engine
mai/maxwell/coder-b4-akte-mode
mai/lorenz/coder-b3-event-triggered
mai/euler/fixer-builder-add
mai/brunel/fixer-prod-500s-after-b1
mai/galileo/coder-b1-b2-mvp-train
mai/pasteur/fixer-pkg-litigationplann
mai/newton/coder-b0-scenario-db
mai/edison/inventor-prd-columnar
mai/knuth/coder-workflow-tracker
mai/atlas/inventor-extend-tools
mai/cronus/inventor-unified
mai/atlas/inventor-deadline-system
mai/atlas/inventor-followup-rules
mai/athena/consultant-deadline
mai/brunel/fixer-dark-mode-support
mai/knuth/coder-cronus-fristenrechn
mai/ritchie/coder-mig-153-proceeding
mai/atlas/inventor-proceeding
mai/cronus/inventor-fristenrechner
mai/curie/coder-mig152-clone-dedupe
mai/darwin/researcher-lexy-draft
mai/knuth/coder-dedupe-null
mai/cronus/coder-composer-slice-f
mai/cronus/coder-composer-slice-e
mai/cronus/coder-composer-slice-d
mai/curie/coder-slice-b6-url-rename
mai/curie/coder-slice-b5-go-rename
mai/cronus/coder-composer-slice-c
mai/curie/coder-slice-b4-destructive-drop
mai/cronus/coder-composer-slice-b
mai/cronus/coder-composer-slice-a
mai/cronus/inventor-prd-for
mai/knuth/coder-verfahrensablauf
mai/ritchie/coder-make-backup
mai/diesel/fixer-dark-mode-css
mai/curie/coder-slice-b3-read-cutover
mai/diesel/fixer-verfahrensablauf
mai/curie/coder-slice-b2-dual-write
mai/cronus/coder-slice-d-scenarios
mai/knuth/coder-backfill-applies
mai/hermes/gitster-verfahrensablauf
mai/cronus/coder-berufung-labels-refactor
mai/diesel/hotfix-2-mig-134-missing
mai/curie/coder-slice-b1-procedural-events
mai/cronus/coder-slice-c-upc-snapshot
mai/brunel/hotfix-rename-upc-apl
mai/cronus/coder-slice-b3-primary-party
mai/cronus/coder-slice-b2-catalog-query
mai/cronus/inventor-litigation-slice-b
mai/curie/researcher-slice-b-zero
mai/cronus/inventor-litigation
mai/artemis/gitster-remove-admin
mai/ritchie/coder-sort-post-trigger
mai/knuth/coder-conditional-label
mai/hermes/coder-verfahrensablauf
mai/brunel/rebase-121-conditional
mai/knuth/coder-conditional-rule
mai/hermes/gitster-dark-mode-fix
mai/ritchie/coder-submission-form
mai/artemis/gitster-re-surface
mai/brunel/fixer-views-any-filters
mai/cronus/coder-cicd-slice-a
mai/knuth/coder-wave-1-tier-1-rule
mai/ritchie/coder-upc-damages-add
mai/cronus/inventor-ci-cd-pre
mai/brunel/rebase-108-language
mai/hermes/gitster-admin-rules-list
mai/artemis/gitster-submission
mai/icarus/gitster-verfahrensablauf
mai/orpheus/gitster-search-input
mai/atlas/coder-event-card-choices-slice-ab
mai/hermes/gitster-date-range
mai/demeter/gitster-submission
mai/knuth/coder-hl-patents-style
mai/hermes/gitster-draft-editor
mai/atlas/inventor-per-event-card
mai/knuth/coder-deadline-rule-tier
mai/cronus/coder-procedural-events-slice-a
mai/hermes/gitster-deadline-form
mai/artemis/gitster-add-missing-i18n
mai/demeter/gitster-paliadin-chat
mai/brunel/wave0-tier0-deadline-fixes
mai/artemis/coder-docker-compose-yml
mai/icarus/coder-inbox-overhaul-slice-a
mai/atlas/coder-date-range-picker-slice-a
mai/brunel/fixer-de-inf-lg-cfi
mai/cronus/inventor-procedural
mai/hermes/gitster-event-type-modal
mai/cronus/coder-backup-mode
mai/curie/researcher-bulletproof
mai/hermes/gitster-draft-editor-focus-jump
mai/cronus/inventor-backup-mode
mai/hermes/gitster-submissions
mai/artemis/gitster-deadline-form
mai/brunel/fixer-submission-preview
mai/brunel/fixer-test-data-reset
mai/artemis/gitster-approval-withdraw
mai/demeter/gitster-events
mai/hermes/gitster-sidebar-loses
mai/hermes/gitster-browse-a
mai/brunel/fixer-submissions-demo
mai/icarus/inventor-inbox-overhaul
mai/atlas/inventor-symmetric-date
mai/artemis/gitster-demote-daten
mai/hermes/gitster-team-view-mailto
mai/knuth/coder-global-schriftsatze
mai/knuth/coder-schriftsatze
mai/ritchie/coder-author-demo-docx
mai/knuth/coder-add-schriftsatze
mai/knuth/coder-add-checklist
mai/knuth/coder-anchor-lookup-must
mai/tesla/dashboard-resize-clamp
mai/knuth/coder-demote-projekt
mai/knuth/coder-paliadin-chat
mai/knuth/coder-print-views
mai/knuth/coder-add-proceeding
mai/knuth/coder-submission
mai/ritchie/coder-extend-team-email
mai/knuth/coder-changelog-catch-up
mai/tesla/dashboard-overlap
mai/pasteur/fixercoder-dashboard
mai/newton/inventor-configurable
mai/dirac/inventorcoder-user
mai/gauss/inventorcoder-team-admin
mai/kepler/inventorcoder-project
mai/darwin/roadmap-ccr-en
mai/euler/coder-small-ux-polish
mai/darwin/fristenrechner-cleanup
mai/darwin/fixercoder-priority-bug
mai/leibniz/inventor-caldav-multi
mai/hertz/inventor-unified-modal
mai/archimedes/inventor-excel-data
mai/boltzmann/inventor-gap-tolerant
mai/copernicus/submission-slice-1
mai/fermi/interactive-session
mai/hertz/inventor-suggest-changes
mai/copernicus/inventor-submission
mai/mendel/test-strategy-slice-1
mai/mendel/inventor-test-strategy
mai/ampere/custom-views-improvements
mai/joule/mig-097-apply-huygens-s
mai/ohm/workstream-b-rename
mai/huygens/workstream-a-backfill
mai/kelvin/t-204-phase-2-proceeding
mai/bohr/ingest-t-paliad-203-rule
mai/curie/fristenrechner-gap
mai/maxwell/inbox-grey-out
mai/rutherford/slice-9-follow-up-b-re
mai/dirac/slice-9-follow-up-a
mai/bose/determinator-cascade-slice-3
mai/bose/determinator-cascade-slice-2
mai/bose/determinator-row-cascade
mai/lorenz/fristen-phase-3-slice-9
mai/curie/fristen-phase-3-slice-12
mai/planck/aichat-phase-b-paliad
mai/young/fristen-phase-3-slice-11b
mai/lorenz/fristen-phase-3-slice-11a
mai/lorenz/fristen-phase-3-slice-10
mai/lorenz/fristen-phase-3-slice-8
mai/lorenz/fristen-phase-3-slice-7
mai/lorenz/fristen-phase-3-slice-6
mai/lorenz/fristen-phase-3-slice-5
mai/lorenz/fristen-phase-3-slice-4
mai/lorenz/fristen-phase-3-slice-3
mai/lorenz/fristen-phase-3-slice-2
mai/lorenz/fristen-phase-3-slice-1
mai/pauli/fristen-phase2-design
mai/tesla/project-timeline-chart
mai/pauli/fristen-logic-audit
mai/pauli/determinator-b1-row-by
mai/noether/tools-cleanup-slice-1
mai/kelvin/inventor-tools-surface
mai/planck/paliadin-per-user-rls
mai/maxwell/bug-bundle-filterbar
mai/faraday/project-timeline-chart
mai/schroedinger/smarttimeline-slice-4
mai/bohr/smarttimeline-slice-3
mai/gauss/smarttimeline-slice-2
mai/riemann/filterbar-phase-2-slice
mai/lagrange/smarttimeline-design-the
mai/curie/researcher-determinator
mai/noether/collapse-regel-typ-on
mai/riemann/inventor-universal
mai/minkowski/project-level-our-side
mai/dirac/inventor-inline-paliadin
mai/feynman/fristenrechner
mai/minkowski/navbar-dashboard-reorg
mai/shannon/approval-rework
mai/einstein/consultant-deadline-data
mai/curie/researcher-upc-rop-audit
mai/noether/paliadin-real-claude
mai/noether/inventor-paliadin
mai/hilbert/inventor-approval-policy
mai/shannon/bug-frist-due-date
mai/fritz/bug-fristen-termine
mai/godel/inventor-projects-page
mai/fritz/bug-paliadin-chat
mai/kepler/inventor-profession-vs
mai/noether/inventor-paliadin-in-app
mai/fritz/bulk-team-email-send-to
mai/noether/inventor-local-chat-for
mai/noether/inventor-data-display
mai/fritz/bug-derived-team-members
mai/fritz/bug-sidebar-visibly
mai/noether/inventor-project
mai/shannon/bug-project-team-add
mai/cronus/inventor-dual-control
mai/fritz/bug-edit-mode-on
mai/cronus/inventor-holidays-per
mai/ritchie/phase-h-ai-deadline
No results found.
No Label
Milestone
No items
No Milestone
Projects
Clear projects
No project
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: m/paliad#5
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
paliad currently builds a fixed page per use case:
/agenda,/events?type=deadline(Fristen),/events?type=appointment(Termine),/inbox(approvals),/dashboard. Each page is bespoke code with hand-tuned filters, render shape, and data hydration. Adding a new viewpoint means a new page + handler + bundle.m's direction (2026-05-06): rethink this as an additive Custom Views layer on top of the fixed defaults. The deeper substrate question: what is paliad's data-display model? What cards do we render, against what underlying data, with what filter grammar, and what render shapes (calendar / cards / list / kanban / connections-graph)?
Goals
(filter spec, render shape, data slice)that surfaces as its own sidebar button under a "Meine Sichten" group. The fixed defaults are themselves system-shipped saved views — same data layer, same render components.Out of scope (v1)
Locked direction (m, 2026-05-06)
Open design questions (for inventor — m will answer in design pass)
Data substrate
paliad.deadlines,paliad.appointments,paliad.project_events,paliad.approval_requests. Is the new substrate a single virtualview_rowthat unions all of them, an explicit registry of "data sources" the view picks from, or something else?WHERE due_date > now() AND project_id IN ...)? Structured JSON ({ "due_date": { ">": "now" }, "project_id": ["..."] })? UI-built only (no DSL exposed)? Inventor: propose, m signs off.Render shapes
View persistence + sidebar
paliad.user_views. Fields: id, user_id, name, filter_spec jsonb, render_shape, render_config jsonb, sort_order, icon, color? Inventor: propose, m signs off.paliad.user_viewsflaggedis_system=trueper user? Inventor proposes; tradeoff is config-as-code (clean, ships with new releases) vs config-as-data (user-editable, drifts).View authoring UX
/views/newpage? Both (saving an ad-hoc filter combo is the common case; full-page editor is the power case)?Approval / unified-inbox integration
approval_statuspredicate that any view can opt into, OR is "approval candidates" a separate data source that views can union?/inboxpage. Stays as a system view? Becomes a Custom View that ships seeded? Or refactored away entirely (the unified-inbox concept replaces it)?Migration / coexistence
/views/{user-view-id}or/views/{slug}make sense? Does it deep-link to filter state (so "open my view with the date set to today" works)?paliad.user_views.user_idis user-scoped. Views never leak across users. What about views that reference a project the user later loses access to — fail open, fail closed, hide?Performance
References
/inboxpage is the v1 of the approval surface)paliad.deadlines,paliad.appointments,paliad.project_events,paliad.approval_requests— current data tablesinternal/services/event_service.go— current "union" data path (deadlines + appointments) — closest existing precedent for a unified substratefrontend/src/agenda.tsx,frontend/src/events.tsx,frontend/src/inbox.tsx,frontend/src/dashboard.tsx— current bespoke pagesInventor brief
mai/<inventor>/inventor-data-display-modeldocs/design-data-display-model-2026-05-06.md. Three coordinated sub-designs:/mai-coder. Awaits m's go on the design before any coder shift.LOCKED 2026-05-07 — m signed off (commit
956ff10).Q4 correction: activity is a content selection (sources + filters), not a render shape. Folded into
listshape withdensity: "compact"+ actor/time columns. Shape ⊥ source — any source renders in any shape. Render shapes for v1: list / cards / calendar (3, was 4).All Q1–Q18 + Q19–Q27 locked at recommended values.
PR split (delegated to inventor):
/api/*endpoints, full backend test coverage. No user-visible change; smoke-testable via curl. ~1800 LoC./views/{slug}), editor, 3 render-shape components, sidebar Meine Sichten group, i18n, CSS. Builds on A1. ~1600 LoC.Merge order: A1 → main → A2 → main.
Inventor → coder transition initiated. noether starts on A1.
A1 SHIPPED — backend substrate + Custom Views API on
mai/noether/inventor-data-display@b516201(pushed). 15 files, 3134 LoC.What landed:
paliad.user_views(RLS-bounded to caller, UNIQUE(user_id, slug), no is_system flag)FilterSpec+RenderSpectypes with full server-side validators (3 shapes: list / cards / calendar; 4 sources: deadline + appointment + project_event + approval_request)SystemViewregistry — 5 code-resident defs (dashboard / agenda / events / inbox / inbox-mine)ViewService.RunSpec— 4-source substrate; Q17 fail-open withinaccessible_project_idsattributionUserViewService— CRUD + Touch + MostRecent/api/user-views/*+/api/views/{slug}/run+/api/views/system+/api/views/runTests: 32 pure-Go cases pass (filter + render + system view validators). 12 live-DB CRUD cases skip cleanly when
TEST_DATABASE_URLunset.go vet ./...clean.Coexistence: substrate uses the existing visibility predicate that t-139's migration 055 extends — derivation transparently widens results when 055 lands. Approval source delegates to
ApprovalService.ListPendingForApprover/ListSubmittedByUser(already extended forderived_peerauthority in t-139 Phase 3).No user-visible change in A1. Smoke-testable via curl after migration 056 applies.
A2 (frontend Custom Views UI) is the next coder shift — generic view shell, editor, render-shape components, sidebar Meine Sichten group. Awaiting m's go on A1 + merge to main.
A2 SHIPPED — frontend Custom Views UI on
mai/noether/inventor-data-display@fdde9eb(pushed). 16 files, 2113 LoC. Builds clean.What landed:
/views(most-recently-used redirect or onboarding),/views/{slug},/views/new,/views/{slug}/editclient/views/:shape-list.ts(table fordensity=comfortable, compact one-line stream fordensity=compact),shape-cards.ts(day-grouped grid),shape-calendar.ts(month grid + day-pills, mobile fallback notice <600px)/api/views/{slug}/run, dispatches to shape; 3-button shape switcher swaps live render without re-fetching; inaccessible-projects toast (Q17)/api/user-views. Always shows+ Neue Sichteven when empty. Optional count badge per view (show_count=trueopt-in)views.*+nav.group.user_views)Render shapes: list / cards / calendar (3, per Q4 lock-in 2026-05-07). Activity-feed look =
shape: list+density: compact+ actor/time columns when sources includeproject_event/approval_request— not a separate shape.Build: i18n codegen 1700→1791 keys. IIFE wrap intact on new bundles.
go build + vet + test ./...all clean.Ready for browser smoke against deployed A1 substrate. After A2 merges, design's Phase B (refactor system pages onto the substrate internally) is a separate task.