Calendar: add extension points for plugins - #6137
Open
iprokhorov wants to merge 1 commit into
Open
Conversation
Author
|
https://github.com/kimai/www.kimai.org/tree/main/_documentation documentation unavailable |
iprokhorov
force-pushed
the
feature/calender-extension-points-for-plugins
branch
from
August 18, 2026 21:54
cd1d9a2 to
be6b7e1
Compare
Dispatch custom events so plugins can hook into the calendar rendering without modifying the core: - `kimai.calendar.eventContent`: allows manipulating an event's DOM element directly in `eventDidMount` (e.g. adding badges or icons) - `kimai.calendar.eventPopover`: allows injecting additional HTML into the event popover content in `renderEventPopoverContent`
iprokhorov
force-pushed
the
feature/calender-extension-points-for-plugins
branch
from
August 21, 2026 09:25
be6b7e1 to
8ce8631
Compare
Author
|
@kevinpapst could you please take a look on this? |
There was a problem hiding this comment.
🟢 Approval recommended
The focused changes safely provide the described extension points without unresolved issues.
Pull request overview
Adds plugin extension points to calendar event rendering.
Changes:
- Dispatches events for DOM and popover customization.
- Exposes timesheet metadata to listeners.
- Sanitizes injected popover HTML.
File summaries
| File | Description |
|---|---|
assets/js/widgets/KimaiCalendar.js |
Adds calendar plugin hooks and metadata exposure. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Member
|
thanks, the correct link is https://github.com/kimai/www.kimai.org/tree/main/collections/_documentation |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Dispatch custom events so plugins can hook into the calendar rendering without modifying the core:
kimai.calendar.eventContent: allows manipulating an event's DOM element directly ineventDidMount(e.g. adding badges or icons)kimai.calendar.eventPopover: allows injecting additional HTML into the event popover content inrenderEventPopoverContentTypes of changes
Checklist
composer code-check)