Skip to content

Commit fb82717

Browse files
msukkaricursoragentgithub-actions[bot]
authored
fix(web): hide update toast for askgithub deployment (#931)
* fix: hide update toast for askgithub deployment When EXPERIMENT_ASK_GH_ENABLED is true, the UpgradeToast component is no longer rendered. This is appropriate for the askgithub deployment since users are not self-hosting and don't need to be notified about new versions. Co-authored-by: Michael Sukkarieh <msukkari@users.noreply.github.com> * docs: add changelog entry for hiding update toast on askgithub Co-authored-by: Michael Sukkarieh <msukkari@users.noreply.github.com> * docs: add PR link to CHANGELOG entry for askgithub toast fix Co-authored-by: Michael Sukkarieh <msukkari@users.noreply.github.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Michael Sukkarieh <msukkari@users.noreply.github.com> Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
1 parent 5950806 commit fb82717

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111
- Added PostHog events for chat UI interactions (details card expand/collapse, copy answer, table of contents toggle) and repo tracking in `wa_chat_message_sent`. [#922](https://github.com/sourcebot-dev/sourcebot/pull/922)
1212
- Added Bitbucket Cloud OAuth identity provider support (`provider: "bitbucket-cloud"`) for SSO and account-linked permission syncing. [#924](https://github.com/sourcebot-dev/sourcebot/pull/924)
1313

14+
### Changed
15+
- Hide version upgrade toast for askgithub deployment (`EXPERIMENT_ASK_GH_ENABLED`). [#931](https://github.com/sourcebot-dev/sourcebot/pull/931)
16+
1417
### Fixed
1518
- Fixed text inside angle brackets (e.g., `<id>`) being hidden in chat prompt display due to HTML parsing. [#929](https://github.com/sourcebot-dev/sourcebot/pull/929)
1619

packages/web/src/app/[domain]/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ export default async function Layout(props: LayoutProps) {
201201
{children}
202202
<SyntaxReferenceGuide />
203203
<GitHubStarToast />
204-
<UpgradeToast />
204+
{env.EXPERIMENT_ASK_GH_ENABLED !== 'true' && <UpgradeToast />}
205205
</SyntaxGuideProvider>
206206
)
207207
}

0 commit comments

Comments
 (0)