mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
refactor(clients): standardize product naming on community (#1858)
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:
@@ -5,7 +5,7 @@ import { Button } from "@/shared/ui/button";
|
||||
const DOWNLOAD_URL = "https://github.com/block/buzz/releases/latest";
|
||||
|
||||
/**
|
||||
* Landing page for a relay invite link (`/invite/<code>`).
|
||||
* Landing page for a community invite link (`/invite/<code>`).
|
||||
*
|
||||
* The code is not validated here — validation happens in the desktop app when
|
||||
* the invite is claimed against `POST /api/invites/claim`, signed by the
|
||||
|
||||
@@ -20,7 +20,7 @@ export const mockRepos: Repo[] = [
|
||||
id: "buzz-desktop",
|
||||
name: "buzz-desktop",
|
||||
description:
|
||||
"The desktop client for collaborating with people and agents across Buzz workspaces.",
|
||||
"The desktop client for collaborating with people and agents across Buzz communities.",
|
||||
cloneUrls: ["https://example.com/buzz-desktop.git"],
|
||||
webUrl: null,
|
||||
channelId: null,
|
||||
@@ -115,7 +115,7 @@ export const mockRepoCommits: CommitInfo[] = [
|
||||
export const mockRepoReadme: ReadmeResult = {
|
||||
filename: "README.md",
|
||||
content:
|
||||
"# Buzz Desktop\n\nA focused workspace for people and agents to collaborate.\n\n## Getting started\n\nInstall dependencies, then start the development app.",
|
||||
"# Buzz Desktop\n\nA focused community for people and agents to collaborate.\n\n## Getting started\n\nInstall dependencies, then start the development app.",
|
||||
};
|
||||
|
||||
export function getMockBlob(
|
||||
|
||||
@@ -45,7 +45,7 @@ function SearchEmptyState() {
|
||||
);
|
||||
}
|
||||
|
||||
function RelayEmptyState() {
|
||||
function CommunityEmptyState() {
|
||||
return (
|
||||
<div className="flex flex-1 items-center justify-center bg-[#F3F3F3] px-4 py-16 text-center dark:bg-[#171717]">
|
||||
<div className="flex w-full max-w-xl flex-col items-center px-6 py-10 sm:px-12 sm:py-12">
|
||||
@@ -56,11 +56,11 @@ function RelayEmptyState() {
|
||||
<img alt="Buzz" className="h-full w-full" src={buzzAppIcon} />
|
||||
</div>
|
||||
<h1 className="mt-6 text-2xl font-semibold tracking-tight text-black dark:text-white">
|
||||
This relay is empty
|
||||
This community is empty
|
||||
</h1>
|
||||
<p className="mt-2 max-w-md text-sm leading-relaxed text-black/60 dark:text-white/60">
|
||||
Repositories pushed to this relay will show up here. Open this relay
|
||||
in the Buzz desktop app to start pushing code.
|
||||
Repositories pushed to this community will show up here. Open this
|
||||
community in the Buzz desktop app to start pushing code.
|
||||
</p>
|
||||
<ConnectButton className="mt-6" />
|
||||
</div>
|
||||
@@ -142,7 +142,7 @@ export function ReposPage() {
|
||||
}
|
||||
|
||||
if (!repos || repos.length === 0) {
|
||||
return <RelayEmptyState />;
|
||||
return <CommunityEmptyState />;
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user