feat(web): ask before sending analytics, drop team screens, hide v1-absent memory features (P1.3a)
- Analytics are opt-in (decision Q7, ADR-0006). PostHog does not start or capture anything until the user clicks Allow in a first-run dialog that says what is sent. Escape or closing stores nothing and asks again. The existing Privacy & Telemetry toggle in Settings withdraws consent at once. Builds without VITE_POSTHOG_KEY show no dialog and send nothing. - Remove the remaining upsell copy: the /team page with its per-seat price, Stripe and Teams wording in the erase-data dialog, Teams/Enterprise hints. - Remove team screens (decision Q3): Waggle Dance, team presence in chat, team storage and sharing in workspace creation, storage and files. - Hide memory features that are not in v1 (decision Q2) behind one map in lib/memory-features.ts: the knowledge graph, import history, wiki, agent memory hooks and Room launches. The map is the seam P1.5 fills from the memory store's capabilities. - Say Windows, macOS and Linux instead of "Linux soon". - Update the e2e specs for the removed and hidden screens. Also logs UF-029: the Settings "Import Data" button has no handler.
This commit is contained in:
@@ -346,16 +346,14 @@ const LoginBriefing = ({ onDismiss, onOpenWorkspace }: LoginBriefingProps) => {
|
||||
<div className="flex items-center justify-between mb-1">
|
||||
<div className="flex items-center gap-2">
|
||||
<span className="text-sm font-display font-medium text-foreground">{ws.name}</span>
|
||||
{/* FR #27: tooltip clarifies what the Personal/Team
|
||||
tag means. Personal workspaces are private to the
|
||||
account; Team workspaces are
|
||||
shared. Without this hint the colored chip reads
|
||||
{/* FR #27: tooltip clarifies what the group tag
|
||||
means. Without this hint the colored chip reads
|
||||
as decorative metadata. */}
|
||||
<HintTooltip
|
||||
content={
|
||||
ws.group === 'Personal'
|
||||
? 'Personal workspaces are visible only to you.'
|
||||
: 'Team workspaces (Teams/Enterprise) are shared across the organisation.'
|
||||
: `${ws.group} is a group for sorting your workspaces.`
|
||||
}
|
||||
>
|
||||
<span className="text-[11px] px-1.5 py-0.5 rounded-full bg-muted text-muted-foreground cursor-help">{ws.group}</span>
|
||||
|
||||
Reference in New Issue
Block a user