PhoenixKitProjects (PhoenixKitProjects v0.21.0)

Copy Markdown View Source

Projects module for PhoenixKit.

Provides a reusable task library, projects that pull tasks in as assignments (with team/department/person assignees), and task dependency chains within each project.

Summary

Functions

One-time data repairs for installs that predate a change here. Core calls this on every boot, so each repair carries its own "already done" flag and runs exactly once.

Notification preference types (Step 7 of the hub rework): the actions below fan out through core's activity→notification bridge whenever their entries carry a target_uuid (the affected user — assignees on task actions, the member on membership actions). Users tune each sub-type — and its Email/Telegram routing — in their notification preferences.

Functions

ai_translatables()

handle_ai_usage(request)

migrate_legacy()

One-time data repairs for installs that predate a change here. Core calls this on every boot, so each repair carries its own "already done" flag and runs exactly once.

  • projects.admin_all is granted to every role that already holds the base projects key, preserving the pre-split behavior.
  • Projects carrying the old, incomplete "simple to-do list" preset get the three flags that preset should always have turned off.

Both are deliberately one-way and one-time: re-deciding on every boot would fight the Owner, handing back a permission they revoked or re-disabling a feature they turned on.

notification_types()

Notification preference types (Step 7 of the hub rework): the actions below fan out through core's activity→notification bridge whenever their entries carry a target_uuid (the affected user — assignees on task actions, the member on membership actions). Users tune each sub-type — and its Email/Telegram routing — in their notification preferences.

phoenix_kit_project_extensions()

phoenix_kit_widgets()