Projects 0.15.0: Timeline chart settings and live updates across sessions
Projects 0.15.0 lets a site choose how the Timeline chart looks, from a new settings card with a live preview. Reordering tasks, and archiving or changing a project, now also shows up on every open Timeline and project page, not only in the session that made the change.
Timeline chart settings
The Projects settings page gets a Timeline chart card. It covers:
- Labels: the Label style (no labels, Inside the bar, Beside the bar, Inside, only where it fits or a watermark), with side, overflow, fit threshold and watermark opacity;
- the Row height and the smallest width a bar may have;
- switches for Progress fill, Dependency arrows, the Today line and Too-small-task markers;
- how dependency arrows are routed around bars and where they attach.
A demo chart on the card redraws as you change the settings, and Reset to defaults restores them. Every change is written to the activity log. The settings apply to all projects on the site; an open chart picks them up the next time it loads. Values are checked when saved and when read, so a site that never touches the card looks as it did before.
Changes show everywhere
Reordering tasks used to send no update at all, so other people’s open pages kept the old order. It now refreshes every open Timeline chart and project page, and the page that made the change reloads too. Open Timeline charts also follow a project being archived, unarchived or given a new status, which they ignored before.
Upgrading
No migration. Update the dependency; it needs phoenix_live_gantt 0.4 (was 0.3), which mix deps.get fetches.
Full release notes: Projects 0.15.0
0.15.0 · 26 June 2026
Configurable Timeline (Gantt) appearance + cross-session reactivity. A new Timeline chart card on /admin/settings/projects makes the whole Gantt look — bar labels, bars, what’s shown, and dependency-arrow routing — globally configurable, with a live preview that updates as you change it. And a task reorder (plus project archive / unarchive / status change) now reflects on every open Timeline chart and project page, not just the session that made the change. Pairs with phoenix_live_gantt 0.4.0.
Added
- Timeline chart settings (
/admin/settings/projects). NewPhoenixKitProjects.GanttDisplaystores global, presentation-only Gantt settings as plainPhoenixKit.Settingskey/values and reads them back as the attr mapPhoenixLiveGantt.gantt/1takes: bar-label style (none/inside/outside/fit/watermark) with side-alignment, overflow, fit threshold and watermark opacity; row height; minimum bar width; the progress / arrows / today-line / too-small-task-marker toggles; and dependency-arrow routing (route-around-bars + attachment mode). Every value is validated on the way in — enums against an allowed set, ratios clamped to0.0..1.0, ints clamped to range — so a malformed or unconfigured install always resolves to safe defaults that match the behavior shipped before this was configurable. A live demo chart on the settings card re-renders from the same settings as you change them; a “Reset to defaults” button restores all of them. Each change is recorded to the activity log (projects.gantt_display_changed/projects.gantt_display_reset).ProjectGanttLivereads the settings once at mount, so a change applies on the next chart load.
Changed
- Dependency floor raised —
phoenix_live_gantt~> 0.3→~> 0.4. 0.4.0 ships the bar-label API (label_positionand friends),row_height/min_bar_px, and arrow-aware label placement that the new settings drive.mix.lockmovesphoenix_live_gantt0.3.0 → 0.4.0.
Fixed
- A task reorder now reflects on other open Timeline charts and project pages.
Projects.reorder_assignments/3broadcasts:assignment_reordered, andProjectShowLive/ProjectGanttLivereload on it. Previously a reorder emitted no broadcast at all (the position writes are a bare two-passupdate_allinside a transaction), so other open sessions never updated, and the acting view relied on the optimistic client-side card move while its server-side assigns could go stale. The acting handler now also reloads explicitly for immediate feedback. - Project archive / unarchive / status change now reflect on open Timeline charts.
ProjectGanttLivesubscribes to:project_archived,:project_unarchived, and:project_status_changed, andProjectShowLiveto:project_archived/:project_unarchived— lifecycle events that were already broadcast but went unhandled by these views, so an open chart kept showing the pre-change state until reloaded.
Projects 0.15.0. Install or update: {:phoenix_kit_projects, "~> 0.15"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.