mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
Translate activity log event with properties #236
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Boy132 on GitHub (Jan 9, 2025).
Originally assigned to: @Boy132 on GitHub.
Currently the activity log event is translated without properties, so placeholders aren't replaced.

Example,
:fileis not being replaced:https://github.com/pelican-dev/panel/blob/main/app/Filament/Server/Resources/ActivityResource/Pages/ListActivities.php#L23
Old client area code: https://github.com/pelican-dev/panel/blob/release/v1.0.0-beta17/resources/scripts/components/elements/activity/ActivityLogEntry.tsx#L20-L39