Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed
- Updated MCP OAuth consent screen to use Sourcebot branded logo with dark/light mode support. [#1062](https://github.com/sourcebot-dev/sourcebot/pull/1062)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Add [EE] prefix to this changelog entry (and fix compound adjective hyphenation).

This entry appears to describe an enterprise-only OAuth/MCP change and should be prefixed with [EE]; also use “Sourcebot-branded” for grammar consistency.

✏️ Suggested edit
-- Updated MCP OAuth consent screen to use Sourcebot branded logo with dark/light mode support. [`#1062`](https://github.com/sourcebot-dev/sourcebot/pull/1062)
+- [EE] Updated MCP OAuth consent screen to use a Sourcebot-branded logo with dark/light mode support. [`#1062`](https://github.com/sourcebot-dev/sourcebot/pull/1062)

As per coding guidelines: “Prefix enterprise-only features with [EE]”.

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- Updated MCP OAuth consent screen to use Sourcebot branded logo with dark/light mode support. [#1062](https://github.com/sourcebot-dev/sourcebot/pull/1062)
- [EE] Updated MCP OAuth consent screen to use a Sourcebot-branded logo with dark/light mode support. [`#1062`](https://github.com/sourcebot-dev/sourcebot/pull/1062)
🧰 Tools
🪛 LanguageTool

[grammar] ~11-~11: Use a hyphen to join words.
Context: ...CP OAuth consent screen to use Sourcebot branded logo with dark/light mode suppor...

(QB_NEW_EN_HYPHEN)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@CHANGELOG.md` at line 11, Update the changelog entry "Updated MCP OAuth
consent screen to use Sourcebot branded logo with dark/light mode support.
[`#1062`](https://github.com/sourcebot-dev/sourcebot/pull/1062)" by prefixing it
with "[EE]" and correcting compound hyphenation: change "Sourcebot branded" to
"Sourcebot-branded" and hyphenate "dark/light-mode" (result: "[EE] Updated MCP
OAuth consent screen to use Sourcebot-branded logo with dark/light-mode support.
[`#1062`](...)").


## [4.16.5] - 2026-04-02

### Added
Expand Down
14 changes: 11 additions & 3 deletions packages/web/src/app/oauth/authorize/components/consentScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ import { LoadingButton } from '@/components/ui/loading-button';
import { isServiceError } from '@/lib/utils';
import { ClientIcon } from './clientIcon';
import Image from 'next/image';
import logo from '@/public/logo_512.png';
import logoDark from '@/public/sb_logo_dark_small.png';
import logoLight from '@/public/sb_logo_light_small.png';
import { useEffect, useState } from 'react';
import useCaptureEvent from '@/hooks/useCaptureEvent';
import { useToast } from '@/components/hooks/use-toast';
Expand Down Expand Up @@ -77,11 +78,18 @@ export function ConsentScreen({
<path strokeLinecap="round" strokeLinejoin="round" d="M8 7h8m0 0-3-3m3 3-3 3M16 17H8m0 0 3 3m-3-3 3-3" />
</svg>
<Image
src={logo}
src={logoDark}
alt="Sourcebot"
width={70}
height={70}
className="shrink-0 rounded-xl object-cover"
className="shrink-0 rounded-xl object-cover hidden dark:block"
/>
<Image
src={logoLight}
alt="Sourcebot"
width={70}
height={70}
className="shrink-0 rounded-xl object-cover block dark:hidden"
/>
</div>

Expand Down
Loading