Skip to content

Projects 0.10.0: A Timeline view for every project

Projects 0.10.0 adds a Timeline to each project: a Gantt-style chart of its tasks, with dependency arrows, sub-project roll-ups and live updates. It also brings AI translation to the project task form and fixes a crash when a project was edited in another tab.

The Timeline tab

A project page now has List and Timeline tabs under its header. The Timeline lays out the project’s tasks one after another, to the hour, with arrows for dependencies and a bar for each sub-project that sums up the work inside it. It updates live as anything in the project or its sub-projects changes.

You can zoom from 5 minutes up to a month, fit the chart to the work, and page through time. The Timeline has its own address ending in /gantt, opens quickly with a loading placeholder the first time, and keeps its zoom and expanded rows while you switch tabs. Templates and embedded pages stay list-only.

The chart comes from the phoenix_live_gantt package. Its styles are picked up through PhoenixKit’s CSS sources with no setup.

AI translation on the task form

The one-click AI translate button now covers a project task’s description too, the last translatable form that lacked it, so it matches the project, library task and template forms.

Smaller changes

  • The schedule summary and progress bar on a project page now form one card.
  • The project task edit page now names the task in its title.

Fixes

  • A project with an assignee crashed its page when someone edited it in another tab.
  • Opening a template’s /gantt address showed a blank page. Templates now always open on the list.

Upgrading

No migration and no new requirement. Update the dependency; mix deps.get adds phoenix_live_gantt.

Full release notes: Projects 0.10.0

0.10.0 · 14 June 2026

Gantt / Timeline view for projects. The project show page gains a List / Timeline tab pair under the shared header. The new Timeline (ProjectGanttLive, on the phoenix_live_gantt package) renders the project’s assignments as an hour-precise sequential schedule with dependency arrows, sub-project roll-ups, and live updates across the whole sub-project tree.

Added

  • Timeline tab — URL-driven (/list/:id/gantt) and instant (lazy-mounted with a loading skeleton on first open, then kept so zoom/expand survive tab switches). 5m/15m/hour/day/week/month zooms with auto-fit, timeline pagination, stable hierarchical row order, and fully localized chrome. Templates and embedded/emit renders stay list-only.
  • Zero-config module assets — css_sources/0 now includes :phoenix_live_gantt so the host’s Tailwind scans the gantt classes with no manual @source. A new js_sources/0 declares the gantt hook bundle for core’s :phoenix_kit_js_sources compiler (a harmless no-op until that core release ships; the CSS resolves against current core today).
  • AI-translate on the assignment form — the one-click AI-translate button/modal now covers the assignment description (the last translatable form that was missing it), matching the project/task/template forms. The description disables while a translation is in flight.

Fixed

  • NotLoaded crash on :project_updated — the lifecycle PubSub handler reloaded the project without the assignee preload, crashing the re-render for any project with an assignee (e.g. a second admin tab editing). Now reloads via get_project_with_assignee/1. Pinned by a regression test.
  • Blank page for a template on the /gantt route — a template uuid reached via /list/:id/gantt resolved to the gantt tab, but the tab bar and gantt are both template-excluded, so the page rendered empty. Templates now pin to the List tab.

Changed

  • Dependency upgrades — phoenix_kit → 1.7.145, phoenix_kit_ai → 0.8.0, phoenix_live_view → 1.2.1, phoenix → 1.8.8 (plus leaf, phoenix_kit_comments, phoenix_kit_entities). No requirement-floor changes — existing constraints already admit the new versions.
  • Fused schedule + progress card — the schedule summary and progress bar on the show page now read as one card (the progress bar is the card’s bottom edge).
  • Assignment edit form polish — the page title now names the task (“Edit task: …”); the language tabs connect to the description with a skeleton on switch; dropped the redundant “Task:” line and “Details” divider.
  • version/0 reads mix.exs @version so the module version can’t drift from the release version.
  • Deduped schedule/assignee helpers shared by ProjectShowLive and ProjectGanttLive into Web.Helpers (the extracted assignment_hours/2 is now nil-safe for sub-project links).

Projects 0.10.0. Install or update: {:phoenix_kit_projects, "~> 0.10"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.