Views & Components¶
This section is a practical, per-piece usage guide: one page per view type and one page per major UI component the @eerp/core-front engine ships. Each page answers "how do I use this in a descriptor," with a real example from a shipped module. For how the engine derives these from a descriptor — the architecture, not the usage — see View Engine.
View Types¶
Every entity route picks one ViewType. tree additionally has up to nine display modes. Kanban, Calendar, Graph and Gantt can be enabled by the module's viewModeDefaults or by a workspace admin; the diagram and risk modes are module-declared only.
| Page | viewType | What it renders |
|---|---|---|
| List View | tree (default mode) | An MUI X DataGrid — the default for any flat or hierarchical entity |
| Kanban View | tree (Kanban mode) | Cards grouped into columns by a selection or many2one field |
| Calendar View | tree (Calendar mode) | Cards placed on a date field, drag-to-reschedule |
| Gantt View | tree (Gantt mode) | Bars on a timeline from a start to an end date, dependency arrows, color groups |
| Diagram Views | tree (WBS, PERT, OBS modes) | Box-and-line diagrams: work breakdown, dependency network with critical path, project organization |
| Risk View | tree (Risk mode) | A project's risk matrix, Ishikawa and register |
| Graph View | tree (Graph mode) or dashboard | Drag/resize dashboard tiles (charts, KPIs) |
| Form View | form | A single-record editor with a synthesized or explicit layout |
| Catalog View | catalog | Icon/title/subtitle rows — an app-picker-style list |
| Dashboard View | dashboard | A responsive grid of summary widget cards |
| Report View | (reports, not routes) | A printable PDF layout, same descriptor model as a form |
Components¶
| Page | What it is |
|---|---|
| Relation Widgets | Search, tags, color tags, list, carousel, and summary: the ways a related record shows up |
| Address Widget | A composite 7-column address field with optional map autocomplete |
| Totals Widget | A live, computed recap over a set of relation lines (e.g. tax breakdown) |
| Picture, Signature & File Widgets | Object-storage-backed binary field widgets |
| Search & Filter Bar | The automatic search/filter/group-by bar every list view gets |
| Chatter Panel | Per-record comment/activity feed |
| Form Chrome: Actions Menu, Header Buttons & Status Bar | The always-present form toolbar pieces |
| Header Menu & Navigation | Per-app top-bar menus and landing-page tiles |
| Undo Toast | The generic recovery affordance for destructive actions |
How to read these pages¶
Each page follows the same shape: what problem it solves, the descriptor fields that control it, a copy-pasteable example from a real module, and pitfalls worth knowing before you reach for it. None of these need a custom React component — if you find yourself writing one, that's an engine gap, not a per-module escape hatch (see Creating a Frontend Module).