Skip to content

fix(web): org plan badges via org-summaries and refresh Nova chat empty state#968

Merged
graphite-app[bot] merged 1 commit into
mainfrom
MaheshtheDev/fix-org-plans-nova-chat-ui
May 18, 2026
Merged

fix(web): org plan badges via org-summaries and refresh Nova chat empty state#968
graphite-app[bot] merged 1 commit into
mainfrom
MaheshtheDev/fix-org-plans-nova-chat-ui

Conversation

@MaheshtheDev
Copy link
Copy Markdown
Member

Use /v3/auth/org-summaries for per-org plan tiers in settings (same as console v2).
Extract chat empty state, add space-aware subtitle, and use AutoSpaceIcon in selectors.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 18, 2026

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 ac43fe1 May 18 2026, 11:45 PM

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 18, 2026

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 ac43fe1 Commit Preview URL

Branch Preview URL
May 18 2026, 11:47 PM

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.

@claude
Copy link
Copy Markdown

claude Bot commented May 18, 2026

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


Code Review Complete

  • Fetch PR diff and analyze changes
  • Review new chat-empty-state.tsx component
  • Review new auto-space-icon.tsx component
  • Review new use-org-summaries.ts hook
  • Review modifications to existing files
  • Submit review with findings

Summary: Clean refactor with no bugs or security issues. The PR extracts the chat empty state into a reusable component, adds space-aware subtitles showing memory counts, introduces org-summaries as the authoritative source for per-org plan data, and unifies the Auto space icon. All changes follow existing codebase patterns and handle edge cases properly.

Score: 10/10 — Good to ship.

@graphite-app
Copy link
Copy Markdown

graphite-app Bot commented May 18, 2026

Merge activity

Copy link
Copy Markdown

@claude claude Bot left a comment

Choose a reason for hiding this comment

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

Overview: Extracts chat empty state to a reusable component, adds space-aware subtitles with memory counts, introduces a new org-summaries hook for per-org plan data, and replaces Sparkles icons with a new AutoSpaceIcon.

Issues found: None — this looks good to ship.

Code analysis:

  • chat-empty-state.tsx: Clean component extraction with proper prop handling and type safety.
  • chat/index.tsx: The memory count query has appropriate guards (enabled: !!chatProject && !isAutoChatSpace) and handles error/loading states correctly by returning 0 on error and showing "Grounded in..." during loading.
  • use-org-summaries.ts: Properly uses credentials: "include" for auth, normalizes plan types via normalizePlanType, and guards with enabled: !!user?.id.
  • settings/account.tsx: The priority change in resolveOrgPlan (org-summaries first, then currentPlan, then "free") is intentional — org-summaries is now the authoritative source for per-org plans, which aligns with the PR description.
  • auto-space-icon.tsx: Clean implementation with dynamic badge sizing based on the parent orb size.

Score: 10/10

…ty state (#968)

Use /v3/auth/org-summaries for per-org plan tiers in settings (same as console v2).
Extract chat empty state, add space-aware subtitle, and use AutoSpaceIcon in selectors.
@graphite-app graphite-app Bot force-pushed the MaheshtheDev/fix-org-plans-nova-chat-ui branch from e52191a to ac43fe1 Compare May 18, 2026 23:44
@graphite-app graphite-app Bot merged commit ac43fe1 into main May 18, 2026
7 of 8 checks passed
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