Skip to content

feat(task-board): graduate task board out of the org opt-in flag#4883

Merged
viktormarinho merged 2 commits into
mainfrom
viktormarinho/remove-tasks-feature-flag
Jul 21, 2026
Merged

feat(task-board): graduate task board out of the org opt-in flag#4883
viktormarinho merged 2 commits into
mainfrom
viktormarinho/remove-tasks-feature-flag

Conversation

@viktormarinho

@viktormarinho viktormarinho commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

What is this contribution about?

Task board matured past its beta rollout, so this drops the task_board_enabled per-org opt-in gate entirely: a new migration removes the column, the requireTaskBoardEnabled check is gone from every task-board tool (create/delete/list/update/prs-get), the settings toggle card is removed, and the task-board-import route no longer auto-enables the flag on first report push. Every org now has the task board — no flag left to flip.

Screenshots/Demonstration

N/A — removes a settings toggle, no new UI.

How to Test

  1. Run migrations (bun run --cwd=apps/mesh migrate) and confirm organization_settings.task_board_enabled is dropped.
  2. Open any org's chat — the Tasks toggle should appear in the toolbar without needing to enable anything in Settings.
  3. Confirm Settings → Organization no longer shows a "Task board" toggle.

Migration Notes

Adds migration 134-drop-task-board-enabled.ts, dropping the task_board_enabled column from organization_settings. One-way in practice (the down() re-adds the column but loses prior per-org values).

Review Checklist

  • PR title is clear and descriptive
  • Changes are tested and working
  • Documentation is updated (if needed)
  • No breaking changes

Summary by cubic

Make the task board always on for every organization. Removes the task_board_enabled flag and gating, drops its column, removes the settings toggle, and simplifies the import route.

  • Refactors

    • Removed gating checks from task-board tools and UI; deleted the require-enabled helper, TaskBoardSettings, and useTaskBoardEnabled hooks.
    • Import route no longer auto-enables; still creates triage items as system.
    • Dropped task_board_enabled from storage types/ports and tool schemas; updated tests and permission metadata.
    • Tasks toggle and board route show when the overlay is enabled; removed board gating throughout.
  • Migration

    • Adds 134-drop-task-board-enabled.ts to drop organization_settings.task_board_enabled.
    • down() re-adds the column but previous values are not restored.
    • Run: bun run --cwd=apps/mesh migrate

Written for commit b2e5ec4. Summary will update on new commits.

Review in cubic

Task board matured past its beta rollout, so drop the task_board_enabled
gate: remove the column (migration 134), the require-enabled check in
every task-board tool, the settings toggle, and the auto-enable-on-import
hack — every org gets the board now, no flag to flip.
…tasks-feature-flag

# Conflicts:
#	apps/mesh/src/web/index.tsx
@viktormarinho
viktormarinho enabled auto-merge (squash) July 21, 2026 15:15
@viktormarinho
viktormarinho merged commit b4fcb09 into main Jul 21, 2026
15 checks passed
@viktormarinho
viktormarinho deleted the viktormarinho/remove-tasks-feature-flag branch July 21, 2026 15:19
decocms Bot pushed a commit that referenced this pull request Jul 21, 2026
PR: #4883 feat(task-board): graduate task board out of the org opt-in flag
Bump type: minor

- decocms (apps/mesh/package.json): 4.82.20 -> 4.83.0

Deploy-Scope: both
rafavalls added a commit that referenced this pull request Jul 22, 2026
Resolve conflicts between the top-bar redesign and main:

- Tasks/Library/runtime-switcher toggles: keep the redesign that folds the
  agent-independent overlays into the main-panel tab bar; drop the now-orphaned
  library-toggle / tasks-toggle / runtime-switcher files.
- Port main's features into the redesign: reports-only hides the Library
  overlay (#4711), task board graduated out of its org flag (#4883, dropped
  useTaskBoardEnabled), i18n strings (#4971), and the new Connect-to-Claude
  footer action (#2765).
- sidebar footer: keep the redesign's unified account row (Settings tucked into
  a bottom-right icon) but restore the reports-only trimmed extra-actions
  variant.
- preview: keep the redesign's header-portal structure over main's inline
  toolbar; main's a11y/focus/reload fixes auto-merged and are preserved.

Verified: tsc --noEmit, oxlint (0 errors), knip (clean).
pedrofrxncx pushed a commit that referenced this pull request Jul 23, 2026
They imported a deleted ./require-enabled module (removed in #4883) and
were flagged unused by knip — breaking typecheck and build.
pedrofrxncx added a commit that referenced this pull request Jul 23, 2026
…ge (#5121)

* feat(reports): render the pre-connect report slide in the viewer's language

The post-login, pre-connect report deck (/report/$domain → SignalDeck) was
always fetched without a language, so it rendered the site's default regardless
of the Studio language switcher — while the surrounding banner/chrome already
follow it. Thread the viewer's locale (usePreferences().language) through the
whole read path so the slide matches the rest of the UI:

- getReport / the /api/_reports/site proxy / fetchReport forward ?lang= to the
  engine's public diagnostics endpoint.
- reports.tsx keys the query on language and passes it to ScanGate, which passes
  it to orchestrateScan's poll reads.

Requires the engine change that makes GET /public/diagnostics/:domain honor
?lang= (commerce-discovery).

* fix(task-board): remove orphaned for-thread/link-thread tool files

They imported a deleted ./require-enabled module (removed in #4883) and
were flagged unused by knip — breaking typecheck and build.

---------

Co-authored-by: Pedro França <pedrofrxncx@deco.cx>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant