Commit Graph

501 Commits

Author SHA1 Message Date
npub1223z34hd7vtwc6qj4s7flsxkj644nlre2nthu7lrrmkumhu3xddsrx9r6w
0ca05eddc5 test(e2e): derive preview-feature list from features.json
Both the screenshot 'all on' test and the bridge mock seed were
hand-maintaining a parallel array of preview feature ids. tier
transitions (e.g. promoting huddles to stable) required updating
two places that the type system couldn't help us with.

Add tests/helpers/features.ts as a single source of truth that
imports /features.json directly and filters tier === 'preview'.
The 'all on' test now loops over PREVIEW_FEATURE_IDS, and bridge.ts
re-uses the same constant for its localStorage seeding.

12/12 screenshot-feature-flags tests pass locally.

Signed-off-by: npub1223z34hd7vtwc6qj4s7flsxkj644nlre2nthu7lrrmkumhu3xddsrx9r6w <52a228d6edf316ec6812ac3c9fc0d696ab59fc7954d77e7be31eedcddf91335b@sprout-oss.stage.blox.sqprod.co>
Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
2026-06-08 13:02:59 -07:00
npub1223z34hd7vtwc6qj4s7flsxkj644nlre2nthu7lrrmkumhu3xddsrx9r6w
0c5c43d591 fix: auto-seed preview features in E2E mock bridge
CI was failing 16 smoke tests (workflows.spec, channels.spec, smoke.spec,
file-attachment.spec) because preview-gated UI (workflows, forum, pulse,
projects) didn't render in mock-bridge tests. Tests clicked testIDs that
were behind <FeatureGate>, timing out.

- bridge.ts: seed sprout-feature-overrides-v1 in localStorage with all
  preview feature IDs enabled by default via addInitScript. New
  seedPreviewFeatures option (default true) opts out for specs that
  exercise the toggle UI itself.
- screenshot-feature-flags.ts: pass seedPreviewFeatures: false so the
  Experiments toggle flow still drives each feature on via the UI.

59/59 affected smoke tests passing locally.

Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
2026-06-08 13:02:59 -07:00
Taylor Ho
dcd558910d fix: promote Huddles back to stable — remove all gating
- Remove huddles entry from features.json (stable = no manifest entry)
- Unwrap FeatureGate wrappers in AppShell.tsx and ChannelMembersBar.tsx
- Remove unused FeatureGate imports
- Remove huddles screenshot test and view-huddles.png
- Remove huddles toggle from 'all on' test (now 4 features)

12/12 E2E tests passing.

Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
2026-06-08 13:02:59 -07:00
Taylor Ho
80b0838f3b fix: rename to Experiments, add body title, fix formatting
- Rename sidebar label from 'Experimental' to 'Experiments'
- Add h2 title in main body to match other settings panels
- Fix biome formatting: collapse FeatureGate JSX, expand sections array

Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
2026-06-08 13:02:59 -07:00
Taylor Ho
09ddabc8cb fix: move Experiments into App nav group in settings sidebar
Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
2026-06-08 13:02:59 -07:00
Taylor Ho
e923241e2e feat: promote mesh-compute to stable (remove from preview list)
Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
2026-06-08 13:02:59 -07:00
Taylor Ho
7194016d48 fix: regenerate E2E screenshots for 2-tier feature system
- Rewrote screenshot-feature-flags.ts: removed stale 'unstable' tier
  references (relay-members, identity-archive), updated close button
  selector to settings-back-to-app
- Deleted all old screenshots + feature-flags-tour/ artifacts
- Regenerated 13 fresh screenshots matching current UI
- Added Experiments nav group to SettingsView (was defined but missing
  from settingsNavGroups)
- Registered test in playwright.config.ts smoke project

Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
2026-06-08 13:02:58 -07:00
Taylor Ho
185d94db61 fix: gate huddles UI behind feature flag
- Wrap HuddleIndicator in ChannelMembersBar with FeatureGate
- Wrap HuddleBar in AppShell with FeatureGate
- Keep HuddleProvider in place (useHuddle called unconditionally elsewhere)
- Huddles now properly hidden when preview toggle is off

Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
2026-06-08 13:02:58 -07:00
Taylor Ho
3cf8c38484 refactor: remove unstable tier, simplify to stable/preview only
- Remove 'unstable' from FeatureTier type and resolveEnabled logic
- Remove identity-archive and relay-members from manifest (stable, permission-gated)
- Move mesh-compute to preview tier
- Flatten ExperimentalFeaturesCard to simple list (no disclosure/badges)
- Fix semantic HTML: replace <label> with <div> + aria-labelledby
- Remove featureGate from relay-members settings (role-gated only)
- Remove unstable tier tests

Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
2026-06-08 13:02:58 -07:00
Taylor Ho
92064820f9 feat: flatten experimental settings into single list with unstable disclosure
- Rename tab label from 'Preview & Unstable' to 'Experimental'
- Show preview features as a flat list (no section heading)
- Add collapsible disclosure button at bottom to reveal unstable features
- Unstable rows get a warning badge; otherwise visually identical to preview rows
- Collapsed/expanded state is local (not persisted)

Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
2026-06-08 13:02:58 -07:00
Taylor Ho
a5ea4ce7b3 refactor: rename tiers to stable/preview/unstable, remove dev-build gate
Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
2026-06-08 13:02:58 -07:00
Taylor Ho
8af3aa17e3 feat: gate pulse behind experimental feature flag
Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
2026-06-08 13:02:58 -07:00
Taylor Ho
ba3da8aa46 feat: gate forum channels behind experimental feature flag
Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
2026-06-08 13:02:58 -07:00
Taylor Ho
6096318861 refactor: remove feature flags migration — experimental features are opt-in only
Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
2026-06-08 13:02:58 -07:00
Taylor Ho
eadd698f23 fix: only seed experimental features for existing users
Detect existing installs via prior localStorage keys (sprout-theme,
sprout-workspaces). New installs get clean opt-in; existing users
keep features they were already using.

Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
2026-06-08 13:02:58 -07:00
Taylor Ho
5a58fd2b4a fix: address review feedback — migration, reactivity, standards, tests
1. Migration: existing users auto-seed experimental features as enabled
   on first load (no feature loss on upgrade). New installs get opt-in UX.
2. Reactivity: SettingsView uses useFeatureSnapshot() so section list
   updates instantly when toggles change (fixes stale useMemo deps).
3. Standards: Switch component replaces raw checkboxes, data-testid on
   every toggle (feature-toggle-{id}, feature-toggle-dev-global).
4. Tests: 11 unit tests for resolveEnabled covering all tiers + edge cases.
5. Architecture: @features-manifest Vite alias replaces fragile ../../../../
   relative import. Test loader also resolves the alias.
6. Versioned localStorage: keys now use -v1 suffix aligned to manifest version.
7. Cache: JSON.parse result cached across hook instances per render cycle.
8. Dev warning: console.warn in dev when getFeature() returns undefined.

Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
2026-06-08 13:02:58 -07:00
Taylor Ho
eb155c973f feat: add feature flags system with tiered gating
- Add features.json manifest at repo root (single source of truth)
- Implement useFeatureEnabled hook + FeatureGate component
- Add ExperimentalFeaturesCard settings panel with opt-in toggles
- Gate sidebar items: managed-agents, projects, workflows
- Gate settings sections via featureGate descriptor field
- Three tiers: stable (always on), experimental (opt-in), dev (dev-only)
- Global 'Show developer features' toggle for dev tier suppression
- localStorage persistence for user overrides
- Designed for Flutter consumption (JSON manifest, platforms field)

Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
2026-06-08 13:02:58 -07:00
klopez4212
dd08f988de Animate reaction counts (#904) 2026-06-08 10:47:24 -07:00
Wes
d8278f7588 chore(release): release version 0.3.13 (#903) 2026-06-08 09:36:16 -07:00
klopez4212
ecca5e77e4 Collapse channel header actions (#901) 2026-06-08 16:18:11 +00:00
Wes
4ec7f8125e sprout-agent: make Databricks defaults env-only (#868)
Signed-off-by: Wes <wesbillman@users.noreply.github.com>
Co-authored-by: Pinky <44b8e82baa6e0e254e0208d68f335c283c94e7b78dd1fa10d5a49d3f13dd0435@sprout-oss.stage.blox.sqprod.co>
2026-06-08 09:17:30 -07:00
klopez4212
b384354e2b Restyle settings sections (#894) 2026-06-08 14:59:26 +00:00
klopez4212
fdcbb696fe Add emoji reaction particles (#890) 2026-06-08 07:37:47 -07:00
klopez4212
32039b9a25 Move settings into the app shell (#893) 2026-06-08 07:23:11 -07:00
klopez4212
45f3dfe5ba Tune chat text sizing (#891) 2026-06-08 07:13:22 -07:00
klopez4212
29f6ccf9e9 Style channel header navigation (#889) 2026-06-08 07:03:06 -07:00
tlongwell-block
2ebe551741 fix: rename missed known_acp_provider_exact → known_acp_runtime_exact (#900) 2026-06-08 09:29:12 -04:00
Will Pfleger
0a6067ca1b refactor: rename ACP "provider" to "runtime" across the codebase (#783) 2026-06-07 14:40:59 -04:00
klopez4212
056b87d3da Unify avatar radius (#892) 2026-06-07 09:41:15 -04:00
Wes
9bbb85b439 chore(release): release version 0.3.12 (#886) 2026-06-05 21:17:01 +00:00
Wes
1b7b6978fc Show hover cards for inline message emoji (#885)
Signed-off-by: Wes <wesbillman@users.noreply.github.com>
Co-authored-by: Pinky <44b8e82baa6e0e254e0208d68f335c283c94e7b78dd1fa10d5a49d3f13dd0435@sprout-oss.stage.blox.sqprod.co>
2026-06-05 14:01:06 -07:00
Wes
5268fac2d8 Fix monotonic read-state merges (#884)
Signed-off-by: Wes <wesbillman@users.noreply.github.com>
Co-authored-by: Pinky <44b8e82baa6e0e254e0208d68f335c283c94e7b78dd1fa10d5a49d3f13dd0435@sprout-oss.stage.blox.sqprod.co>
2026-06-05 14:00:50 -07:00
klopez4212
0a4783c6f8 Refine sidebar behavior and borders (#869) 2026-06-05 14:00:37 -07:00
Will Pfleger
5d7c748969 fix(presence): clear on disconnect, fix heartbeat/TTL, drop broken REST path (#877) 2026-06-05 13:28:00 -07:00
Will Pfleger
2f50011bdd docs(sprout-acp): add communication discipline rules to base prompt + deprecate --mention flag (#883) 2026-06-05 15:52:05 -04:00
klopez4212
5c2476a71e Polish thread summaries and reactions (#881) 2026-06-05 20:50:19 +01:00
klopez4212
b84f8e6a01 Polish message row hover states (#880) 2026-06-05 20:32:35 +01:00
Wes
bc53008676 Improve emoji naming and custom emoji UX (#878)
Signed-off-by: Wes <wesbillman@users.noreply.github.com>
Co-authored-by: Pinky <44b8e82baa6e0e254e0208d68f335c283c94e7b78dd1fa10d5a49d3f13dd0435@sprout-oss.stage.blox.sqprod.co>
2026-06-05 18:51:46 +00:00
Will Pfleger
f1c672fea5 chore: deprecate sprout-mcp — fill CLI gaps, remove crate and all references (#850) 2026-06-05 12:31:52 -04:00
Wes
5bdac0566f Fix custom emoji status in profile popover (#874)
Signed-off-by: Wes <wesbillman@users.noreply.github.com>
Co-authored-by: Pinky <44b8e82baa6e0e254e0208d68f335c283c94e7b78dd1fa10d5a49d3f13dd0435@sprout-oss.stage.blox.sqprod.co>
2026-06-05 09:26:13 -07:00
thomaspblock
d4bb7f66e0 fix(desktop): simplify profile popover header (#853)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-05 07:07:12 -07:00
thomaspblock
ccff5464a4 fix(desktop): remove thread comment hover outline (#861)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-05 07:04:59 -07:00
tlongwell-block
ad7ab482eb feat(desktop): always show channel section search/add buttons (#856)
Signed-off-by: Tyler Longwell <tlongwell@squareup.com>
2026-06-05 09:32:49 -04:00
Wes
baf1f7705f chore(release): release version 0.3.11 (#865) 2026-06-04 17:34:15 -07:00
Will Pfleger
269b35e8de fix(mobile+desktop): cross-device read state sync + diagnostic logging (#843) 2026-06-04 18:55:40 -04:00
Will Pfleger
36d7dbd7ca feat: desktop-screenshot skill to stop agents uploading relay media to PRs (#862) 2026-06-04 18:35:10 -04:00
Wes
c10b4f8f5c feat(desktop): star channels (Slack-style favorites) (#860)
Signed-off-by: Wes <wesbillman@users.noreply.github.com>
Co-authored-by: Brain <21994759fc7a6fa6b965551d35cfd7897d262f2495467f2d78694ddcfa6a5c7e@sprout-oss.stage.blox.sqprod.co>
2026-06-04 15:32:28 -07:00
Will Pfleger
f748f71268 fix(desktop): handle symlinked persona pack directories (#859) 2026-06-04 17:52:36 -04:00
Will Pfleger
1fe7bf2872 feat: channel muting for desktop and mobile (#838) 2026-06-04 15:53:53 -04:00
thomaspblock
759e5cd923 fix(desktop): eliminate image-hover layout jump in messages (#813)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-04 09:55:02 -07:00