Additional

Sidebar Notices

Synced from github.com/CoWork-OS/CoWork-OS/docs

The left sidebar has one notification area, just above Automated sessions. Use it for lightweight, dismissable notices: feature discovery, tips, or a prompt to finish setting something up. Don't add one-off banners anywhere else in the sidebar.

  • Component: src/renderer/components/sidebar/SidebarNotices.tsx
  • Styles: src/renderer/components/sidebar/sidebar-notices.css

Adding a notice

Append an entry to SIDEBAR_NOTICES:

{
  id: "my-feature-v1",            // stable and unique; never reuse an old id
  icon: Sparkles,                  // lucide-react icon
  label: "Try the new thing",      // short, one line
  onActivate: () => { /* open the feature */ },
  isVisible: () => true,           // optional runtime gate
  tip: {                          // optional tooltip shown automatically once
    title: "A useful new feature",
    description: "Explain the feature and where to configure it.",
  },
}

Behavior

  • Dismissable: the X shows on hover. Dismissed ids are stored in localStorage under cowork.sidebarNotices.dismissed, and a dismissed notice never comes back. To show a notice again, give it a new id (for example -v2).
  • First-show animation: a notice slides in and its icon pops only the first time it is ever shown. Seen ids are stored in cowork.sidebarNotices.seen. The animation is turned off when the system asks for reduced motion.
  • Order: notices render in array order, so put the most important one first.
  • First-use tooltip: notices with tip open an anchored tooltip on their first display. Got it, Escape, or clicking outside closes it. The tooltip's seen state shares the existing persistent seen ids, so it does not reopen after a reload. Clicking the notice opens its feature or settings; hovering retains a description.

Current notices

idWhat it does
google-search-ending-v1Shows while web search uses Google Custom Search as primary or fallback (useClosingSearchProvider, which re-checks after Search settings are saved). Its first-use tooltip says Google ends the API on 1 January 2027 and names alternatives; the notice opens Settings → AI Models → Web Search. Tracked in #914.
meshy-3d-v1Announces 3D models with Meshy. Its first-use tooltip explains the feature and where to add the key; the notice opens Meshy's setup in Settings → Connectors. See 3D Models with Meshy.
use-cases-gallery-v1Opens the "See how people use CoWork OS" gallery (UseCasesGallery.tsx) centered over the visible composer: the welcome screen or Build. Anywhere else it opens over the whole window.
composer-predictions-v1Appears after the first usable composer prediction. Its first-use tooltip explains Tab acceptance and the on/off setting. The notice and Open settings action open Appearance settings. Hidden on hosts without the prediction API.