feat(share): promote Share out of Labs#422
Merged
Merged
Conversation
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
… About Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
graydawnc
added a commit
to AmagiDDmxh/spool
that referenced
this pull request
Jul 15, 2026
VITE_FEATURE_SECURITY and VITE_FEATURE_SHARE were removed when Security Scan (paperboytm#420) and Share (paperboytm#422) were promoted out of Labs; VITE_FEATURE_SHAREPUBLISH is the only flag still read by featureFlags.ts. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
graydawnc
added a commit
to AmagiDDmxh/spool
that referenced
this pull request
Jul 15, 2026
* perf: remove unused packaged ONNX runtime * chore(build): drop retired feature flags from the app build cache key VITE_FEATURE_SECURITY and VITE_FEATURE_SHARE were removed when Security Scan (paperboytm#420) and Share (paperboytm#422) were promoted out of Labs; VITE_FEATURE_SHAREPUBLISH is the only flag still read by featureFlags.ts. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> --------- Co-authored-by: Chen <99816898+donteatfriedrice@users.noreply.github.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The share editor (local export: image / PDF / Markdown / .spool) graduates from a Labs experiment to a standard always-on feature, following the Security Scan promotion (#420). This removes:
shareflag: theVITE_FEATURE_SHAREenv (dropped from thetest:e2escript; release.yml never set it), the localStorage tri-state store (labsFlags.ts,spool.labs.share), and theresolveFeatureRuntime/useFeaturemachinery.featureFlags.tsnow contains only thesharePublishbuild-time gate, which stays until the publish backend ops are ready — its removal is the launch switch.LabsTabcomponent,settings.tab_labs+ thelabs.*i18n block across all 7 locales. Future experiments can reintroduce the scaffolding.shareEnabledgate:App.tsxview gates and ~10 conditional prop spreads, the flag-off bounce-navigation effect (unreachable once the flag is gone),ShortcutsTab/getShortcutGroups(share-editor shortcut group now static — folded into aSHORTCUT_GROUPSconst),useDraftCountForSession.The Labs tab hosted the app's only in-app feedback affordance (the Discord invite). It is relocated to Settings → General → About ("Give feedback", translated in all 7 locales) rather than dropped.
Behavior notes
spool.labs.sharelocalStorage keys are inert (nothing reads them).VITE_FEATURE_SHAREPUBLISH, which prod does not set.Known coverage gap (documented, not new)
The shipped prod configuration is now share-on / publish-off, but every e2e build pins
VITE_FEATURE_SHAREPUBLISH=1, so thepublishEnabled=falsearms (ShareMenu popover, SharesPage tabs, Settings rail) render in no automated test — covering them needs a second flag-less build in CI. Before this PR the gap was moot (share itself was off in prod); it is tracked in the share GA fast-follow pool ("flag-OFF render smoke") and should land before the publish flag flips.Test plan
labsFlags.test.ts(tri-state store), theresolveFeatureRuntimetruth table, andsettings-labs.spec.ts(toggle persistence + flag-off bounce navigation). The Security-always-on assertion from that spec moved tosettings.spec.ts.settings.spec.ts: (1)sidebar-shares+sidebar-securityvisible with no env/opt-in and nosettings-tab-labsin the rail; (2) the relocated feedback link renders in General → About with the Discord href.share-*.spec.tssuites now exercise the always-on path since the e2e build no longer setsVITE_FEATURE_SHARE.🤖 Generated with Claude Code