App Navigation
App Navigation
Primentra has three main modes, accessible from the sidebar:
- Home — Dashboard with KPI cards, shortcuts, and alerts
- Data — Entity grids with inline editing
- Settings — Admin panel for models, entities, roles, and integration views
Click the Primentra logo in the top-left corner to return to the Home dashboard from any screen.
Sidebar
The sidebar on the left shows all models and their entities.
- Use the search bar at the top of the sidebar to quickly filter models and entities by name — matching entities are shown immediately and their parent models are expanded automatically
- Click a model name to expand/collapse its entities
- Click an entity name to open its data grid
- The badge next to each entity shows its record count
- Use the collapse button (chevron) to minimize the sidebar to icon-only mode
- Click Settings at the bottom to open the admin panel
- When fewer than 4 models exist, all models are expanded by default
Favorites
Bookmark your most-used entities so they always appear at the top of the sidebar — no scrolling or expanding required.
- Click the star icon next to any entity (on the dashboard or in the data grid toolbar) to add or remove it from your favorites
- Favorited entities appear in a dedicated Favorites section at the top of the sidebar, above all models
- Each favorite shows the entity name and its record count
- Click a favorite to jump directly to that entity's data grid
- Favorites are stored per user and persist across sessions

Hidden entities
Hide entities you don't need from the sidebar — they won't clutter your navigation, but you can always bring them back.
- Click a model name in the sidebar to open the model detail view
- Click the eye icon next to the entity you want to hide
- The entity disappears from the sidebar immediately
To unhide, open the same model detail view and click the eye icon again.
- Hidden entities are per-user — other users are not affected
- If a hidden entity is also a favorite, it still appears in Favorites at the top of the sidebar
- Hidden entities are stored in the database and persist across sessions and devices
Entity Hierarchy
Entities are organised in a parent-child hierarchy. For example, an "Organisation" model might contain:
- Country — Top level (e.g., Netherlands, Germany)
- Zone — Groups of business units within a country
- Area — A regional grouping within a zone
- Costcenter — The operational unit (e.g., office, branch, store)
Each child entity has a Domain field that references its parent. For example, the Costcenter entity has a domain attribute pointing to Area, Area points to Zone, and Zone points to Country. This creates a chain of relationships from leaf to root.
Primentra automatically detects these relationships and renders a visual hierarchy chain in the admin panel under each model. You don't need to draw diagrams or configure the hierarchy manually — it is derived directly from your domain attributes.
The hierarchy visualization shows the full chain from lowest to highest level (e.g., Costcenter → Area → Zone → Country), making it easy to verify that your data model is structured correctly.
The exact entities and hierarchy depth are configured by your administrator in the Settings panel. There is no limit on the number of levels.
Dark Mode
Toggle between light and dark mode using the sun/moon icon in the bottom-left corner of the status bar.
Automatic theme detection: On your first visit, Primentra sets the theme based on your local sunrise and sunset times. If it is dark outside, the app starts in dark mode — if it is daytime, it starts in light mode. This uses your browser's location (with your permission) to calculate accurate sunrise/sunset times for your area.
Once you manually toggle the theme, your preference is saved and the automatic detection is no longer used. To reset back to automatic, clear your browser's local storage for Primentra.