Skip to content

feat(system): hooks management UI#47

Open
Terracosmos wants to merge 1 commit into
masterfrom
norman/system-hooks-ui
Open

feat(system): hooks management UI#47
Terracosmos wants to merge 1 commit into
masterfrom
norman/system-hooks-ui

Conversation

@Terracosmos

Copy link
Copy Markdown
Collaborator

Closes #43.

Adds an Administration screen to manage system hooks (org.ligoj.bootstrap.resource.system.hook.HookResource,
rest/system/hook). Full CRUD: server-paginated list (useDataTable, DataTables format), create, edit (PUT),
delete (confirm). Built on the Vibrant chrome used by the other system screens (LjPageHeader, LjSearch,
VibrantDataTable, LjDialog, VibrantConfirmDialog).

Columns: name / method (chip, "all methods" when null) / path (code) / command (preview) / execution
(sync when delay=0, else async). The model's match field is a JSON object {path, method}: the dialog
exposes path + method as two fields, parses on load and re-serialises on save; "all methods" omits the
method key to match the backend semantics (null = any method). i18n EN+FR, plugin-local, merged at install().

The Administration menu entry is added by a companion host PR (App.vue nav) — merge/deploy this plugin PR first
so the /system/hook route exists.

Tests: vitest 32 (4 new) + npm run build OK. CRUD verified end-to-end at runtime.

@Terracosmos Terracosmos requested a review from fdaugan June 29, 2026 15:51
@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UI for hooks

1 participant