Liking cljdoc? Tell your friends :D

wagoe.admin.shell.http.handlers.list

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.
raw docstring

admin-home-handlerclj

(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).
sourceraw docstring

entity-list-handlerclj

(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.
sourceraw docstring

entity-table-fragment-handlerclj

(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.
sourceraw docstring

filter-drawer-handlerclj

(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.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close