mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-20 18:57:17 +03:00
fix(app): remove session search tip and tighten tip copy (#63677)
This commit is contained in:
@@ -614,13 +614,11 @@ export const dict = {
|
||||
"home.sessions.group.older": "Older",
|
||||
"home.providerTip": "Connect to 75+ providers to use other models, including Claude, GPT, Gemini, etc",
|
||||
"tips.browse.title": "Control your browser",
|
||||
"tips.browse.description": "Let OpenCode work in your browser with the sites you’re already signed in to.",
|
||||
"tips.browse.description": "Let OpenCode work in your browser with your tabs, logins, and extensions.",
|
||||
"tips.browse.install": "Install",
|
||||
"tips.hex.title": "Use your voice",
|
||||
"tips.hex.description": "Hold a key and speak your prompts. Runs entirely locally and works across your whole computer.",
|
||||
"tips.hex.description": "Hold a key and speak your prompts. Runs locally and works across your whole computer.",
|
||||
"tips.hex.install": "Install",
|
||||
"tips.search.title": "Find a past conversation",
|
||||
"tips.search.description": "Search your sessions to pick up where you left off.",
|
||||
"home.workspaceTip": "Start next session in a new workspace to keep changes isolated",
|
||||
|
||||
"session.tab.session": "Session",
|
||||
|
||||
@@ -7,7 +7,6 @@ import { Persist, persisted } from "@/runtime/persistence/storage"
|
||||
import { usePlatform } from "@/runtime/platform/platform"
|
||||
import { ServerConnection, useServers } from "@/runtime/server/registry"
|
||||
import { useGlobal } from "@/runtime/server/runtime"
|
||||
import { useCommand } from "@/shell/commands/command"
|
||||
import { selectTip, TIP_INTERVAL_MS, type Tip } from "./queue"
|
||||
|
||||
const STARTUP_DELAY = 2 * 60 * 1000
|
||||
@@ -24,7 +23,6 @@ export function createTipToasts() {
|
||||
const servers = useServers()
|
||||
const language = useLanguage()
|
||||
const platform = usePlatform()
|
||||
const command = useCommand()
|
||||
|
||||
const server = createMemo(() => {
|
||||
const conn = servers.visible.find(servers.current) ?? servers.visible[0]
|
||||
@@ -74,12 +72,6 @@ export function createTipToasts() {
|
||||
platform.openExternal("https://anoma.ly/hex/?utm_source=opencode-desktop&utm_campaign=tip-hex"),
|
||||
},
|
||||
},
|
||||
{
|
||||
id: "session-search",
|
||||
title: "tips.search.title",
|
||||
description: "tips.search.description",
|
||||
action: { label: "command.session.search", run: () => command.trigger("sessions.search") },
|
||||
},
|
||||
]
|
||||
|
||||
const [history, setHistory, , loaded] = persisted({ ...Persist.global("tips.queue"), sync: true }, History, {
|
||||
|
||||
Reference in New Issue
Block a user