Skip to content
Merged
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]

### Removed
- Removed the Ask Sourcebot first-visit tutorial banner. [#1675](https://github.com/sourcebot-dev/sourcebot/pull/1675)

## [5.1.14] - 2026-09-17

### Added
Expand Down
Binary file removed packages/web/public/ask_sb_tutorial_at_mentions.png
Binary file not shown.
Binary file removed packages/web/public/ask_sb_tutorial_citations.png
Binary file not shown.
Binary file not shown.
12 changes: 1 addition & 11 deletions packages/web/src/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { createLogger, env, generateApiKey, getTokenFromConfig } from "@sourcebo
import { StatusCodes } from "http-status-codes";
import { cookies } from "next/headers";
import { getBrowsePath } from "./app/(app)/browse/hooks/utils";
import { AGENTIC_SEARCH_TUTORIAL_DISMISSED_COOKIE_NAME, MOBILE_UNSUPPORTED_SPLASH_SCREEN_DISMISSED_COOKIE_NAME } from "./lib/constants";
import { MOBILE_UNSUPPORTED_SPLASH_SCREEN_DISMISSED_COOKIE_NAME } from "./lib/constants";
import { RepositoryQuery } from "./lib/types";
import { withAuth, withOptionalAuth } from "./middleware/withAuth";

Expand Down Expand Up @@ -367,16 +367,6 @@ export const getRepoImage = async (repoId: number): Promise<ArrayBuffer | Servic
})
});

// eslint-disable-next-line authz/require-auth-wrapper -- UI-only preference cookie, no DB access
export const setAgenticSearchTutorialDismissedCookie = async (dismissed: boolean) => sew(async () => {
const cookieStore = await cookies();
cookieStore.set(AGENTIC_SEARCH_TUTORIAL_DISMISSED_COOKIE_NAME, dismissed ? "true" : "false", {
httpOnly: false, // Allow client-side access
maxAge: 365 * 24 * 60 * 60, // 1 year in seconds
});
return true;
});

// eslint-disable-next-line authz/require-auth-wrapper -- UI-only preference cookie, no DB access
export const dismissMobileUnsupportedSplashScreen = async () => sew(async () => {
const cookieStore = await cookies();
Expand Down
349 changes: 0 additions & 349 deletions packages/web/src/app/(app)/chat/components/tutorialDialog.tsx

This file was deleted.

Loading
Loading