Skip to content

feat(channels): add scoped channel foundations#3813

Draft
puemos wants to merge 2 commits into
posthog-code/channels-stack-1-activity-refactorsfrom
posthog-code/channels-stack-2-scope-foundations
Draft

feat(channels): add scoped channel foundations#3813
puemos wants to merge 2 commits into
posthog-code/channels-stack-1-activity-refactorsfrom
posthog-code/channels-stack-2-scope-foundations

Conversation

@puemos

@puemos puemos commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Problem

Channel spaces need project-safe identity, item loading, and task creation semantics before any visible layout can be activated.

Changes

  • Add current-channel state, validation, and project/logout cleanup.
  • Add merged channel task/canvas models with ownership, filtering, pinning, and archiving.
  • Add channel-aware task creation and prefill handling.
  • Define the feature gates without connecting them to visible layout code.

This is PR 2 of the stack, based on #3812. With either flag state, users still see the existing layout.

How did you test this?

  • pnpm --filter @posthog/core test -- src/canvas/channelItems.test.ts src/canvas/runStatus.test.ts
  • Five focused UI suites covering channel identity, task routing, prefills, and refreshed tasks (23 tests)
  • pnpm typecheck in packages/ui

Automatic notifications

  • Publish to changelog?
  • Alert Sales and Marketing teams?

Created with PostHog Code

@github-actions

github-actions Bot commented Jul 25, 2026

Copy link
Copy Markdown

React Doctor found 1 issue in 1 file · 1 warning.

1 warning

src/features/task-detail/components/TaskInput.tsx

Reviewed by React Doctor for commit f60bbca.

puemos commented Jul 25, 2026

Copy link
Copy Markdown
Contributor Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

Add the dormant channel identity, item-list, and task-routing foundations with flag definitions and project-safe cleanup. Visible layout activation remains upstack.

Generated-By: PostHog Code
Task-Id: 6190e713-9b80-43d9-a05c-5e3b1ecdf297
@puemos
puemos force-pushed the posthog-code/channels-stack-2-scope-foundations branch from e917958 to ffc8505 Compare July 25, 2026 15:09
Generated-By: PostHog Code
Task-Id: 6190e713-9b80-43d9-a05c-5e3b1ecdf297
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