Admin home + entity list handlers.
Renders the dashboard, the entity list page, and the HTMX table fragment.
Admin home + entity list handlers. Renders the dashboard, the entity list page, and the HTMX table fragment.
(admin-home-handler admin-service schema-provider config)(admin-home-handler admin-service schema-provider config user-service)The dashboard: the sidebar's sections, an entity tile with its count and
summary for each entity the user may read, and with user-service the
recent audit entries for a user who may open the audit trail. For every
signed-in user, except under :enforce, where it needs read on one entity
in a scope that entity can check (ADR-041 §6).
The dashboard: the sidebar's sections, an entity tile with its count and summary for each entity the user may read, and with `user-service` the recent audit entries for a user who may open the audit trail. For every signed-in user, except under :enforce, where it needs read on one entity in a scope that entity can check (ADR-041 §6).
(entity-list-handler admin-service schema-provider config)The entity list page: table, search, sorting, paging, filters. Its own controls request this URL and push it, so the address bar holds the list's state; they get the table fragment back.
The entity list page: table, search, sorting, paging, filters. Its own controls request this URL and push it, so the address bar holds the list's state; they get the table fragment back.
(entity-table-fragment-handler admin-service schema-provider config)GET /:entity/table — the table fragment, for callers that ask for it directly. A browser navigating here is sent to the list page.
GET /:entity/table — the table fragment, for callers that ask for it directly. A browser navigating here is sent to the list page.
(filter-drawer-handler admin-service schema-provider config)GET /:entity/filters — the filter drawer for the filters in the query string, blank ones kept: re-rendered when an operator changes, it keeps the operator chosen for a field that has no value yet.
GET /:entity/filters — the filter drawer for the filters in the query string, blank ones kept: re-rendered when an operator changes, it keeps the operator chosen for a field that has no value yet.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |