Skip to content

Commit 58e1862

Browse files
committed
Update default star count abbreviation to 1.2k
1 parent 8261d3a commit 58e1862

File tree

12 files changed

+14
-14
lines changed

12 files changed

+14
-14
lines changed

app/api/github-stars/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ export async function GET() {
3636
} catch (error) {
3737
console.error('Error fetching GitHub stars:', error)
3838
// Return cached value or fallback
39-
return NextResponse.json({ stars: cachedStars || 994 })
39+
return NextResponse.json({ stars: cachedStars || 1200 })
4040
}
4141
}

app/repos/new/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ export default function NewRepoPage() {
182182
onToggleMobileMenu={toggleSidebar}
183183
actions={
184184
<div className="flex items-center gap-2 h-8">
185-
<GitHubStarsButton initialStars={1056} />
185+
<GitHubStarsButton initialStars={1200} />
186186
{/* Deploy to Vercel Button */}
187187
<Button
188188
asChild

components/github-stars-button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ interface GitHubStarsButtonProps {
1010
initialStars?: number
1111
}
1212

13-
export function GitHubStarsButton({ initialStars = 1100 }: GitHubStarsButtonProps) {
13+
export function GitHubStarsButton({ initialStars = 1200 }: GitHubStarsButtonProps) {
1414
return (
1515
<Button asChild variant="ghost" size="sm" className="h-8 px-2 sm:px-3 gap-1.5">
1616
<a href={GITHUB_REPO_URL} target="_blank" rel="noopener noreferrer" className="flex items-center">

components/home-page-content.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export function HomePageContent({
3636
initialKeepAlive = false,
3737
maxSandboxDuration = 300,
3838
user = null,
39-
initialStars = 1056,
39+
initialStars = 1200,
4040
}: HomePageContentProps) {
4141
const [isSubmitting, setIsSubmitting] = useState(false)
4242
const [selectedOwner, setSelectedOwnerState] = useState(initialSelectedOwner)

components/home-page-header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export function HomePageHeader({
4141
onOwnerChange,
4242
onRepoChange,
4343
user,
44-
initialStars = 1056,
44+
initialStars = 1200,
4545
}: HomePageHeaderProps) {
4646
const { toggleSidebar } = useTasks()
4747
const routerNav = useRouter()

components/home-page-mobile-footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interface HomePageMobileFooterProps {
1111
initialStars?: number
1212
}
1313

14-
export function HomePageMobileFooter({ initialStars = 1056 }: HomePageMobileFooterProps) {
14+
export function HomePageMobileFooter({ initialStars = 1200 }: HomePageMobileFooterProps) {
1515
return (
1616
<div className="md:hidden fixed bottom-0 left-0 right-0 bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60 z-20">
1717
<div className="flex items-center justify-center gap-3 p-4">

components/repo-layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ interface RepoLayoutProps {
2222
children: React.ReactNode
2323
}
2424

25-
export function RepoLayout({ owner, repo, user, authProvider, initialStars = 1056, children }: RepoLayoutProps) {
25+
export function RepoLayout({ owner, repo, user, authProvider, initialStars = 1200, children }: RepoLayoutProps) {
2626
const { toggleSidebar } = useTasks()
2727
const pathname = usePathname()
2828
const router = useRouter()

components/repo-page-client.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ interface RepoPageClientProps {
2121
initialStars?: number
2222
}
2323

24-
export function RepoPageClient({ owner, repo, user, authProvider, initialStars = 1056 }: RepoPageClientProps) {
24+
export function RepoPageClient({ owner, repo, user, authProvider, initialStars = 1200 }: RepoPageClientProps) {
2525
const { toggleSidebar } = useTasks()
2626
const [activeTab, setActiveTab] = useState('commits')
2727

components/task-page-client.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export function TaskPageClient({
2525
taskId,
2626
user,
2727
authProvider,
28-
initialStars = 1056,
28+
initialStars = 1200,
2929
maxSandboxDuration = 300,
3030
}: TaskPageClientProps) {
3131
const { task, isLoading, error } = useTask(taskId)

components/task-page-header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ interface TaskPageHeaderProps {
1717
initialStars?: number
1818
}
1919

20-
export function TaskPageHeader({ task, user, authProvider, initialStars = 1056 }: TaskPageHeaderProps) {
20+
export function TaskPageHeader({ task, user, authProvider, initialStars = 1200 }: TaskPageHeaderProps) {
2121
const { toggleSidebar } = useTasks()
2222

2323
return (

0 commit comments

Comments
 (0)