Skip to content

feat(web): revamp Company Brain configure page#1306

Merged
graphite-app[bot] merged 1 commit into
mainfrom
feat/configure-page-revamp
Jul 18, 2026
Merged

feat(web): revamp Company Brain configure page#1306
graphite-app[bot] merged 1 commit into
mainfrom
feat/configure-page-revamp

Conversation

@MaheshtheDev

@MaheshtheDev MaheshtheDev commented Jul 18, 2026

Copy link
Copy Markdown
Member
  • New Configure tab with sidebar sections: Integrations, Models, Automations
  • Merge org/personal connection tabs into one grid: per-card scope chips, admin scope dropdown, Slack as a card, custom MCP via modal
  • Automations: always-visible template cards with dashed blank-create tile
  • Home: Connect your tools only shows unconnected apps

Fixes ENG-1075

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 18, 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 20e585c Jul 18 2026, 06:49 PM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 18, 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 20e585c Commit Preview URL

Branch Preview URL
Jul 18 2026, 06:50 PM

MaheshtheDev commented Jul 18, 2026

Copy link
Copy Markdown
Member Author

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.

@linear-code

linear-code Bot commented Jul 18, 2026

Copy link
Copy Markdown

ENG-1075

@MaheshtheDev
MaheshtheDev marked this pull request as ready for review July 18, 2026 06:53
@claude

claude Bot commented Jul 18, 2026

Copy link
Copy Markdown

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


Reviewing PR

  • Fetching PR diff and existing review comments
  • Analyzing changes for bugs, security issues, and logic errors
  • Submitting review

Review submitted. This is a clean frontend refactor with solid code patterns — no bugs, security issues, or logic errors found.

@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: Revamps the Company Brain configure page with a new tabbed sidebar layout (Integrations, Models, Automations), merges org/personal connection tabs into a unified grid with scope chips, and shows only unconnected apps on the home dashboard.

Issues found: None — this looks good to ship.

The code is well-structured with good patterns:

  • Error handling in connections-board.tsx uses independent try-catch blocks so one failing API call doesn't break the others
  • All fetch calls correctly use credentials: "include" for cookie-based auth
  • Custom MCP URL input is properly guarded behind isStaff check
  • The UTC cron conversion functions handle timezone/day boundary crossings correctly
  • React's automatic escaping prevents XSS vectors

Score: 10/10

@polylane

polylane Bot commented Jul 18, 2026

Copy link
Copy Markdown

Note

Production impact unlikely.

Re-reviewed at f9f24ef: second commit cleanly removes the three Company Brain tabs from the settings modal with no dangling openSettings calls. All components re-homed in ConfigureView, no backend or Worker binding changes.


view-investigation review-in-polylane disable-pr-reviews

Polylane analysed f9f24ef for production impact.

@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: Revamps the Company Brain configure page with a new tabbed sidebar layout (Integrations, Models, Automations), merges org/personal connection tabs into a unified grid with scope chips, and shows only unconnected apps on the home dashboard.

Issues found: None — this looks good to ship.

The code is well-structured with good patterns:

  • Error handling in connections-board.tsx uses independent try-catch blocks so one failing API call doesn't break the others
  • All fetch calls correctly use credentials: "include" for cookie-based auth
  • Custom MCP URL input is properly guarded behind isStaff check
  • The UTC cron conversion functions handle timezone/day boundary crossings correctly
  • React's automatic escaping prevents XSS vectors
  • Admin checks are in place for org-level operations (disconnect workspace, model changes)

Score: 10/10

@graphite-app

graphite-app Bot commented Jul 18, 2026

Copy link
Copy Markdown

Merge activity

- New Configure tab with sidebar sections: Integrations, Models, Automations
- Merge org/personal connection tabs into one grid: per-card scope chips, admin scope dropdown, Slack as a card, custom MCP via modal
- Automations: always-visible template cards with dashed blank-create tile
- Home: Connect your tools only shows unconnected apps

Fixes ENG-1075
@graphite-app
graphite-app Bot force-pushed the feat/configure-page-revamp branch from f9f24ef to 20e585c Compare July 18, 2026 18:45
@graphite-app
graphite-app Bot merged commit 20e585c into main Jul 18, 2026
7 of 8 checks passed
graphite-app Bot pushed a commit that referenced this pull request Jul 18, 2026
## Stack context

Stacks on #1306, which moves Company Brain settings into the revamped Configure page.

Backend contract and runtime support: supermemoryai/mono#2581. The UI safely hides any effort controls omitted by an older backend response.

## What changed

- Adds independent Low, Medium, High, and Extra high reasoning controls for Main, Triage, and Research.
- Saves model and reasoning edits together through the existing partial PATCH.
- Keeps controls visible but disabled for non-admin members.
- Explains that Extra high maps to High for Grok and GPT providers.

## Validation

- `bunx biome check apps/web/hooks/use-brain-models.ts apps/web/components/settings/company-brain-models.tsx`
- `bun run build` in `apps/web`
- `git diff --check`

The standalone web TypeScript command still reports pre-existing unrelated errors outside these files.

---
**Session Details**
- Session: [View Session](https://supermemory.us1.vorflux.com/agent-sessions/1c4f3ec7-a536-4105-bbe7-8b19e61f245f)
- Requested by: Sreeram Sreedhar (sreeram@supermemory.com)
- Address comments on this PR. Add `(aside)` to your comment to have me ignore it.
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