Skip to content

An AI-powered search engine with a generative UI

feat: remove beta badge for v1.0.0 release

Yoshiki Miura8d35d7336d83
diff --git a/README.md b/README.md
index cae27726..2d3afb7e 100644
--- a/README.md
+++ b/README.md
@@ -81,7 +81,6 @@ Models are configured in `config/models/*.json` with profile-based settings. Whe
- Browser search engine integration
- LLM observability with Langfuse (optional)
- Todo tracking for complex tasks
-- Changelog system for updates
## 🧱 Stack
diff --git a/app/page.tsx b/app/page.tsx
index 1abc98f5..12593f5d 100644
--- a/app/page.tsx
+++ b/app/page.tsx
@@ -1,16 +1,8 @@
import { getCurrentUserId } from '@/lib/auth/get-current-user'
-import { BetaBadge } from '@/components/beta-badge'
-import { ChangelogBanner } from '@/components/changelog-banner'
import { Chat } from '@/components/chat'
export default async function Page() {
const userId = await getCurrentUserId()
- return (
- <>
- <Chat isGuest={!userId} />
- <ChangelogBanner />
- <BetaBadge />
- </>
- )
+ return <Chat isGuest={!userId} />
}
diff --git a/components/beta-badge.tsx b/components/beta-badge.tsx
deleted file mode 100644
index 78395c99..00000000
--- a/components/beta-badge.tsx
+++ /dev/null
@@ -1,34 +0,0 @@
-'use client'
-
-import { useEffect, useState } from 'react'
-
-import { useChangelog } from '@/hooks/use-changelog'
-
-import { Badge } from '@/components/ui/badge'
-
-export function BetaBadge() {
- const { isVisible } = useChangelog()
- const [hasMessages, setHasMessages] = useState(false)
-
- useEffect(() => {
- const handleMessagesChanged = (e: Event) => {
- const customEvent = e as CustomEvent<{ hasMessages: boolean }>
- setHasMessages(customEvent.detail.hasMessages)
- }
-
- window.addEventListener('messages-changed', handleMessagesChanged)
- return () =>
- window.removeEventListener('messages-changed', handleMessagesChanged)
- }, [])
-
- // Don't show if changelog is visible or if there are messages
- if (isVisible || hasMessages) return null
-
- return (
- <div className="fixed bottom-4 right-4 z-40 animate-in slide-in-from-bottom-5 duration-300">
- <Badge variant="secondary" className="px-3 py-1 text-xs font-semibold">
- BETA
- </Badge>
- </div>
- )
-}
diff --git a/components/changelog-banner.tsx b/components/changelog-banner.tsx
deleted file mode 100644
index 68357be9..00000000
--- a/components/changelog-banner.tsx
+++ /dev/null
@@ -1,55 +0,0 @@
-'use client'
-
-import { useEffect, useState } from 'react'
-
-import { X } from 'lucide-react'
-
-import { useChangelog } from '@/hooks/use-changelog'
-
-import { IconLogo } from '@/components/ui/icons'
-
-export function ChangelogBanner() {
- const { changelog, isVisible, dismiss } = useChangelog()
- const [hasMessages, setHasMessages] = useState(false)
-
- useEffect(() => {
- const handleMessagesChanged = (e: Event) => {
- const customEvent = e as CustomEvent<{ hasMessages: boolean }>
- setHasMessages(customEvent.detail.hasMessages)
- }
-
- window.addEventListener('messages-changed', handleMessagesChanged)
- return () =>
- window.removeEventListener('messages-changed', handleMessagesChanged)
- }, [])
-
- // Don't show if there are messages or if not visible
- if (!isVisible || !changelog || hasMessages) return null
-
- return (
- <div className="fixed bottom-4 right-4 z-40 animate-in slide-in-from-bottom-5 duration-300">
- <div className="relative bg-background/95 backdrop-blur border rounded-lg shadow-sm p-3 pr-6 max-w-[300px]">
- <button
- onClick={dismiss}
- className="absolute -top-2 -right-2 bg-background border rounded-full p-1 text-muted-foreground hover:text-foreground transition-colors shadow-sm"
- aria-label="Close"
- >
- <X className="h-3 w-3" />
- </button>
- <div className="flex-1 min-w-0">
- <div className="flex items-center gap-2 mb-1">
- <IconLogo className="h-4 w-4" />
- <span className="text-xs px-1.5 py-0.5 bg-muted rounded-md font-mono">
- v{changelog.version}
- </span>
- </div>
- <ul className="text-xs text-muted-foreground space-y-0.5">
- {changelog.features.map((feature, index) => (
- <li key={index}>β€’ {feature}</li>
- ))}
- </ul>
- </div>
- </div>
- </div>
- )
-}
diff --git a/hooks/use-changelog.ts b/hooks/use-changelog.ts
deleted file mode 100644
index cd4529d5..00000000
--- a/hooks/use-changelog.ts
+++ /dev/null
@@ -1,61 +0,0 @@
-import { useEffect, useState } from 'react'
-
-interface Changelog {
- version: string
- date: string
- features: string[]
- showUntil?: string
- dismissKey: string
-}
-
-export function useChangelog() {
- const [changelog, setChangelog] = useState<Changelog | null>(null)
- const [isVisible, setIsVisible] = useState(false)
-
- useEffect(() => {
- async function fetchChangelog() {
- try {
- const response = await fetch('/changelog.json')
- const data = await response.json()
-
- if (data.current) {
- const dismissKey = data.current.dismissKey
- const isDismissed = localStorage.getItem(dismissKey)
-
- // Check expiration date
- if (data.current.showUntil) {
- const showUntilDate = new Date(data.current.showUntil)
- const now = new Date()
- if (now > showUntilDate) {
- return // Expired, don't show
- }
- }
-
- if (!isDismissed) {
- setChangelog(data.current)
- // Delay display to avoid immediate popup on page load
- setTimeout(() => setIsVisible(true), 1500)
- }
- }
- } catch (error) {
- // Silent fail - notifications are not critical
- console.debug('Failed to fetch changelog', error)
- }
- }
-
- fetchChangelog()
- }, [])
-
- const dismiss = () => {
- if (changelog) {
- localStorage.setItem(changelog.dismissKey, 'true')
- setIsVisible(false)
- }
- }
-
- return {
- changelog,
- isVisible,
- dismiss
- }
-}
diff --git a/public/changelog.json b/public/changelog.json
deleted file mode 100644
index cb9da8ba..00000000
--- a/public/changelog.json
+++ /dev/null
@@ -1,49 +0,0 @@
-{
- "current": {
- "version": "1.0.0 Beta.9",
- "date": "2025-10-28",
- "features": [
- "✨ Smooth word-by-word streaming",
- "🎯 Auto task breakdown in Adaptive mode",
- "πŸ“± Scroll and layout fixes"
- ],
- "showUntil": "2025-11-04",
- "dismissKey": "changelog-v1.0.0-beta.9"
- },
- "history": [
- {
- "version": "1.0.0 Beta.7",
- "date": "2025-09-24",
- "features": [
- "⚑ Faster first replies",
- "❓ Follow-ups stream sooner",
- "πŸ–ΌοΈ Broken thumbnails hidden"
- ]
- },
- {
- "version": "1.0.0 Beta.6",
- "date": "2025-09-17",
- "features": [
- "⚑ Faster chat loading with improved caching",
- "πŸ” Quick search mode now default for better performance",
- "✏️ Improved enter key handling in user text editor"
- ]
- },
- {
- "version": "1.0.0 Beta.5",
- "date": "2025-09-10",
- "features": [
- "🎨 New Research Process UI with grouped sections",
- "πŸ’­ Improved Thoughts display for better readability",
- "πŸ“ Enhanced TODO tracking with progress visualization"
- ]
- },
- {
- "version": "1.0.0 Beta.4",
- "date": "2025-09-03",
- "features": [
- "Morphic reborn - Now with powerful agentic search beyond quick answers"
- ]
- }
- ]
-}