Skip to content

feat(web): add Slack connect card to home + space selector polish#1137

Open
MaheshtheDev wants to merge 4 commits into
company-brain-invite-acceptfrom
06-18-feat_web_add_slack_connect_card_to_home_space_selector_polish
Open

feat(web): add Slack connect card to home + space selector polish#1137
MaheshtheDev wants to merge 4 commits into
company-brain-invite-acceptfrom
06-18-feat_web_add_slack_connect_card_to_home_space_selector_polish

Conversation

@MaheshtheDev

Copy link
Copy Markdown
Member

Adds the 'Add Supermemory to your Slack' card (status + install) on the home dashboard, and removes the border on the space-selector trigger.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 19, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
supermemory-app 88785a8 Commit Preview URL Jun 21 2026, 11:51 PM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 19, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
supermemory-mcp 88785a8 Jun 21 2026, 11:50 PM

Copy link
Copy Markdown
Member 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


How to use the Graphite Merge Queue

Add the label Main to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

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

Adds the 'Add Supermemory to your Slack' card (status + install) on the home dashboard, and removes the border on the space-selector trigger.
@MaheshtheDev MaheshtheDev force-pushed the 06-18-feat_web_add_slack_connect_card_to_home_space_selector_polish branch from cb42de5 to f5022c2 Compare June 19, 2026 05:19
@MaheshtheDev MaheshtheDev changed the base branch from 06-18-feat_web_create_org_from_settings_launches_onboarding to company-brain-invite-accept June 19, 2026 05:19
@MaheshtheDev MaheshtheDev marked this pull request as ready for review June 19, 2026 15:17
@graphite-app graphite-app Bot requested a review from Dhravya June 19, 2026 15:17
@claude

claude Bot commented Jun 19, 2026

Copy link
Copy Markdown

Claude finished @MaheshtheDev's task in 1m 52s —— View job


Review Complete

  • Fetch PR diff and existing review comments
  • Analyze changed files for bugs, security issues, and logic errors
  • Submit review feedback

Overview: Adds Slack connection card to the dashboard, Company Brain home view with connections board, two-pane Flows onboarding step (Slack/Claude Code/Codex), and private-beta feature flag gating for team workspaces.

Issues found: None — this looks good to ship.

The implementation is clean:

  • Race condition handling in all async useEffects is correct with the active flag pattern
  • Uses credentials: "include" appropriately for cross-origin auth
  • Gracefully falls back when APIs fail
  • OAuth flows use server-side redirects with noopener
  • No XSS concerns — React auto-escapes dynamic content
  • Feature flag gating enforced both client-side and server-side

Score: 10/10

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overview: Adds a Slack connection card to the dashboard for company brain users, with status display and OAuth install flow.

Issues found: None — this looks good to ship.

The implementation is clean:

  • Race condition handling in useEffect is correct with the active flag
  • Uses credentials: "include" appropriately for cross-origin auth
  • Gracefully falls back to showing "Add to Slack" if the status API fails
  • OAuth uses server-side redirect (standard secure pattern)
  • No XSS concerns — React auto-escapes the team name

Score: 10/10

Adds a **Company Brain** settings tab showing org-shared vs personal connection status for GitHub & Linear, with connect buttons (org scope admin-only). Backed by the new `/brain/connections` API.

- Two sections: Organization (shared) and Your connections
- Reuses the integrations `PillButton` styling
- Role via `getActiveMember()`; org-scope connect gated to admins

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overview: Adds a Slack connection card to the dashboard for Company Brain users, a new Company Brain connections settings tab for GitHub/Linear, and gates team onboarding behind a private-beta feature flag.

Issues found: None — this looks good to ship.

The implementation is clean:

  • Race condition handling in SlackConnectCard useEffect is correct with the active flag pattern
  • Uses credentials: "include" appropriately for cross-origin auth on all fetch calls
  • Gracefully falls back to showing "Add to Slack" if the status API fails
  • OAuth flows use server-side redirects and window.open with noopener (standard secure patterns)
  • No XSS concerns — React auto-escapes the team name
  • Feature flag gating is enforced both in UI (teamGated) and server-side (effectiveMode) for defense in depth
  • PostHogProvider addition is required for the useFeatureFlagEnabled hook to work

Score: 10/10

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overview: Adds Slack connection card to the dashboard, Company Brain home view with connections board, two-pane Flows onboarding step (Slack/Claude Code/Codex), and private-beta feature flag gating for team workspaces.

Issues found: None — this looks good to ship.

The implementation is clean:

  • Race condition handling in all async useEffects is correct with the active flag pattern
  • Uses credentials: "include" appropriately for cross-origin auth on all fetch calls
  • Gracefully falls back to showing "Add to Slack" or empty states when APIs fail
  • OAuth flows use server-side redirects and window.open with noopener (standard secure patterns)
  • No XSS concerns — React auto-escapes team names and dynamic content
  • Feature flag gating (allowTeam / effectiveMode) is enforced both in UI and server-side for defense in depth
  • PostHogProvider wrapper is required for useFeatureFlagEnabled hook to work correctly

Score: 10/10

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.

2 participants