Skip to content

feat(blocklist): launch blocking, drop blocklist beta flag - #1189

Merged
bmc08gt merged 1 commit into
code/cashfrom
feat/launch-blocklist
Aug 6, 2026
Merged

feat(blocklist): launch blocking, drop blocklist beta flag#1189
bmc08gt merged 1 commit into
code/cashfrom
feat/launch-blocklist

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

Summary

Launches blocking to all users by removing the blocklist_enabled beta flag and making the feature always-on. Follows the same two-step launch pattern used for Tipping (#1182).

Changes

  • FeatureFlag.kt — deleted the Blocklist flag definition and its title/message arms. KSP regenerates FeatureFlagEntries, so it also drops out of the Labs settings UI.
  • MyAccountMenuItems.kt — the "Blocked" menu item is no longer flag-gated; it shows for everyone.
  • ChatViewModel.kt — removed the flag observe, the blocklistEnabled state field, the BlocklistEnabledChanged event + reducer arm, and the now-unused FeatureFlagController injection/imports. canViewProfile now keys solely off chatType == TIP_DM.
  • MessengerScreen.kt / ChatTopBar.kt / MessageList.kt — refreshed comments that referenced the beta flag (gating logic unchanged; it already keyed off canViewProfile).
  • MainActivity.kt / maestro/blocking.yaml — retired blocklist_enabled from the UI-test launch-arg example and the Maestro blocking flow (now logs in with empty beta flags, matching the tip flows).

The actual blocklist feature (AppRoute.Menu.Blocklist screen, block/unblock flows) is untouched — only the gating is removed.

Testing

  • :featureflags, :myaccount, :messenger, and :app compile (compileDebugKotlin).
  • :myaccount unit tests pass.

Removes the blocklist_enabled beta flag and makes blocking always-on,
following the same launch pattern used for tipping.

- Delete the FeatureFlag.Blocklist definition (title/message arms); KSP
  drops it from FeatureFlagEntries and the Labs UI.
- MyAccount 'Blocked' menu item no longer flag-gated.
- ChatViewModel: remove the flag observe, blocklistEnabled state,
  BlocklistEnabledChanged event/reducer, and the now-unused
  FeatureFlagController injection. canViewProfile keys solely off TIP_DM.
- Refresh comments in messenger UI that referenced the flag.
- Drop blocklist_enabled from the MainActivity test launch-arg example
  and the Maestro blocking flow.
@bmc08gt
bmc08gt merged commit 56e7f42 into code/cash Aug 6, 2026
@bmc08gt
bmc08gt deleted the feat/launch-blocklist branch August 6, 2026 20:05
@github-actions github-actions Bot added the type: feature New functionality label Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: feature New functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant