Skip to content

chore(scanner): retire the ScanFromGallery flag - #1520

Merged
bmc08gt merged 1 commit into
code/cashfrom
chore/retire-scan-from-gallery-flag
Sep 21, 2026
Merged

bmc08gt merged 1 commit into
code/cashfrom
chore/retire-scan-from-gallery-flag

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Sep 21, 2026

Copy link
Copy Markdown
Collaborator

The gallery button in the scanner draws whenever no bill is up, for everyone.

The flag defaulted to false and inherited FeatureTrack.Internal, which the Labs
screen hides without the beta override, so the feature only ever reached staff. It
was a rollout gate; shipping the rollout is what removes it.

Three deletions:

  • FeatureFlag.ScanFromGallery and its title / message entries. FeatureFlagEntries
    is generated from @FeatureFlagMarker, so it leaves the Labs list on its own.
  • The remembered observe(..) flow in ScannableContainer. The button's gate is now
    just billState.bill == null, which is the modal-scrim guard, not a rollout one.
  • :apps:flipcash:shared:featureflags from the scanner module's build file — that
    observation was the module's only FeatureFlag reference.

The persistLogOut = true the flag carried has no successor. Its DataStore key stays
behind unread, the same as the other retired flags.

Follows the shape of #1472.

The gallery button draws whenever no bill is up, for everyone. The flag defaulted
to false and inherited FeatureTrack.Internal, so the feature only ever reached
staff with the beta override — it was a rollout gate, and the rollout is the
point of removing it.

Dropping the observation also takes the scanner's only FeatureFlag reference, so
`:apps:flipcash:shared:featureflags` leaves the module's build file with it. The
`persistLogOut = true` the flag carried has no successor: the preference key stays
in DataStore unread, the same as the other retired flags.
@bmc08gt bmc08gt self-assigned this Sep 21, 2026
@github-actions github-actions Bot added area: scanner QR/Kikcode scanning, camera type: chore Maintenance, config, CI/CD labels Sep 21, 2026
@bmc08gt
bmc08gt merged commit bab3b6b into code/cash Sep 21, 2026
3 checks passed
@bmc08gt
bmc08gt deleted the chore/retire-scan-from-gallery-flag branch September 23, 2026 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: scanner QR/Kikcode scanning, camera type: chore Maintenance, config, CI/CD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant