Rename web app to Buzz (#959)

Signed-off-by: Wes <wesbillman@users.noreply.github.com>
Co-authored-by: Pinky <44b8e82baa6e0e254e0208d68f335c283c94e7b78dd1fa10d5a49d3f13dd0435@sprout-oss.stage.blox.sqprod.co>
This commit is contained in:
Wes
2026-06-10 14:07:02 -07:00
committed by GitHub
parent 510009c11d
commit c5a54dcc39
25 changed files with 146 additions and 95 deletions

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Sprout</title>
<title>Buzz</title>
</head>
<body>

View File

@@ -1,5 +1,5 @@
{
"name": "sprout-web",
"name": "buzz-web",
"private": true,
"version": "0.1.0",
"type": "module",

View File

@@ -13,7 +13,7 @@ function RootLayout() {
to="/"
className="text-sm font-semibold tracking-tight text-foreground"
>
Sprout
Buzz
</Link>
<ThemeToggle />
</header>

View File

@@ -28,7 +28,7 @@ import { relayHttpBaseUrl } from "@/shared/lib/relay-url";
/** Get a repo-specific LightningFS instance backed by IndexedDB. */
export function getFs(owner: string, repoName: string): LightningFS {
return new LightningFS(`sprout-git-${owner}-${repoName}`);
return new LightningFS(`buzz-git-${owner}-${repoName}`);
}
/** Working directory inside the virtual FS. */

View File

@@ -4,13 +4,13 @@ import { relayWsUrl } from "@/shared/lib/relay-url";
import { Button } from "@/shared/ui/button";
export function ConnectButton({ className }: { className?: string }) {
const deepLink = `sprout://connect?relay=${encodeURIComponent(relayWsUrl())}`;
const deepLink = `buzz://connect?relay=${encodeURIComponent(relayWsUrl())}`;
return (
<Button asChild className={className}>
<a href={deepLink}>
<ExternalLink className="h-4 w-4" />
Open in Sprout
Open in Buzz
</a>
</Button>
);

View File

@@ -24,7 +24,7 @@ export function OrgSidebar({ repos }: { repos: Repo[] }) {
return (
<div className="space-y-6">
{/* Open in Sprout */}
{/* Open in Buzz */}
<ConnectButton className="w-full" />
{/* People section */}

View File

@@ -323,7 +323,7 @@ export function RepoDetailPage() {
{/* Sidebar */}
<aside className="hidden w-72 shrink-0 border-l border-border pl-8 lg:block">
<div className="space-y-6">
{/* Open in Sprout */}
{/* Open in Buzz */}
<ConnectButton className="w-full" />
{/* People */}

View File

@@ -1,4 +1,4 @@
import { BookMarked, GitBranch, Sprout } from "lucide-react";
import { BookMarked, GitBranch, Hexagon } from "lucide-react";
import { toast } from "sonner";
import { useEffect, useMemo, useState } from "react";
@@ -45,14 +45,14 @@ function RelayEmptyState() {
return (
<div className="flex flex-1 flex-col items-center justify-center px-4 text-center">
<div className="flex h-16 w-16 items-center justify-center rounded-2xl bg-primary/10">
<Sprout className="h-8 w-8 text-primary" />
<Hexagon className="h-8 w-8 text-primary" />
</div>
<h1 className="mt-6 text-2xl font-semibold tracking-tight">
This relay is empty
</h1>
<p className="mt-2 max-w-md text-sm leading-relaxed text-muted-foreground">
Repositories pushed to this relay will show up here. Open this relay in
the Sprout desktop app to start pushing code.
the Buzz desktop app to start pushing code.
</p>
<ConnectButton className="mt-6" />
</div>

View File

@@ -82,7 +82,7 @@ export function queryEvents(
ws.addEventListener("open", () => {
// Wait briefly for an AUTH challenge before sending REQ.
// Sprout relays always send AUTH, but other relays may not.
// Buzz relays always send AUTH, but other relays may not.
setTimeout(() => sendReq(), 100);
});

View File

@@ -15,7 +15,7 @@ type ThemeContextValue = {
setTheme: (theme: Theme) => void;
};
const STORAGE_KEY = "sprout-web-theme";
const STORAGE_KEY = "buzz-web-theme";
const ThemeContext = createContext<ThemeContextValue | undefined>(undefined);

View File

@@ -1,8 +1,8 @@
import { expect, test } from "@playwright/test";
test("home page loads with Sprout heading", async ({ page }) => {
test("home page loads with Buzz heading", async ({ page }) => {
await page.goto("/");
await expect(page.locator("header")).toContainText("Sprout");
await expect(page.locator("header")).toContainText("Buzz");
});
test("home page shows repositories section", async ({ page }) => {