Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-selection: Add a new feature flag for multi-selection #5464

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

0nko
Copy link
Member

@0nko 0nko commented Jan 14, 2025

Task/Issue URL: https://app.asana.com/0/1207418217763355/1209148925370449/f

Description

This PR adds a feature flag for the tab multi-selection project.

Steps to test this PR

Nothing to test, this will serve as a feature branch.

@0nko 0nko added the QA-Optional label Jan 14, 2025 — with Graphite App
@0nko 0nko marked this pull request as ready for review January 14, 2025 11:07
@0nko 0nko force-pushed the feature/ondrej/tab-multi-selection branch from 42e94eb to 0d73e35 Compare January 14, 2025 11:09
@0nko 0nko changed the title Add a new feature flag for multi-selection Multi-selection: Add a new feature flag for multi-selection Jan 14, 2025
@0nko 0nko force-pushed the feature/ondrej/tab-multi-selection branch from 0b382b2 to 8492b52 Compare January 15, 2025 17:28
@0nko 0nko force-pushed the feature/ondrej/tab-multi-selection branch from 8492b52 to c4c3cf8 Compare January 27, 2025 10:12
@0nko 0nko force-pushed the feature/ondrej/tab-multi-selection branch 2 times, most recently from c3270a9 to e6e2148 Compare January 31, 2025 15:26
@0nko 0nko force-pushed the feature/ondrej/tab-multi-selection branch from e6e2148 to ff15dd9 Compare February 3, 2025 20:20
@0nko 0nko force-pushed the feature/ondrej/tab-multi-selection branch from ff15dd9 to 02fb482 Compare February 13, 2025 10:54
@0nko 0nko requested review from mikescamell and removed request for malmstein and nalcalag February 13, 2025 10:58
@mikescamell mikescamell self-assigned this Feb 13, 2025
Comment on lines 39 to 36
@ContributesMultibinding(
scope = AppScope::class,
boundType = ApiInterceptorPlugin::class,
)
class BlockListInterceptorApiPlugin @Inject constructor(
class BlockListInterceptorApiPlugin constructor(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❓ Why was this removed?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, seems like this was added with a rebase.

Copy link
Contributor

@mikescamell mikescamell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good apart from that BlockListInterceptorApiPlugin change 👍

@0nko 0nko force-pushed the feature/ondrej/tab-multi-selection branch 2 times, most recently from eab74f4 to 3d62cf6 Compare February 14, 2025 14:01
@0nko 0nko force-pushed the feature/ondrej/tab-multi-selection branch from 3d62cf6 to 01126c4 Compare February 27, 2025 17:15
@0nko 0nko mentioned this pull request Feb 27, 2025
19 tasks
@0nko 0nko force-pushed the feature/ondrej/tab-multi-selection branch from 01126c4 to b38ddf4 Compare February 28, 2025 17:43
@0nko 0nko mentioned this pull request Feb 28, 2025
31 tasks
@0nko 0nko force-pushed the feature/ondrej/tab-multi-selection branch 2 times, most recently from cca1829 to da3cae9 Compare March 3, 2025 20:28
@0nko 0nko force-pushed the feature/ondrej/tab-multi-selection branch 3 times, most recently from 3536b27 to 4b5cef8 Compare March 5, 2025 10:02
mikescamell and others added 2 commits March 6, 2025 15:11
Task/Issue URL:
https://app.asana.com/0/1207908166761516/1209138029097313/f

Address Ship Review comments regarding not being able to see Ppro
settings items when subscriptions expired.

It was necessary to consider available Products ([you may see these
referred to as "features" internally in the subscription
module](https://app.asana.com/0/414730916066338/1209117572597478/f))
when a user's subscription has expired or they are in a waiting state,
as their entitlements would end up being empty.

Now we know what Products are available to the user, we can display them
correctly in their disabled state to match the new Settings design.

Prerequisite: `newSettings` feature flag is enabled

Follow these
[instructions](https://app.asana.com/0/1142021229838617/1208861246073828/f)
to install Play Billing Lab so you can test US and ROW subscription
plans

**US**

Prerequisite: Country/Region is set to US in Play Billing Lab

_New Settings Top Level_
- [x] Open Settings screen
- [x] Verify items displayed match design Not Subscribed state

_Subscribed State_
- [ ] Tap "Get Privacy Pro"
- [ ] Purchase Ppro monthly
- [ ] One Purchase is completed return to top level settings screen
- [ ] Verify VPN, PIR, ITR and Settings items are displayed, matching
design Subscribed state
- [ ] Turn on VPN
- [ ] Return to top level settings screen
- [ ] Ensure VPN status indicator is on
- [ ] Turn VPN off
- [ ] Return to top level settings screen
- [ ] Ensure VPN status is off

_Expired State_
- [ ] Tap "Subscription Settings"
- [ ] Click "Update Plan or Cancel" item
- [ ] Cancel the Subscription
- [ ] Wait 5 mins
- [ ] Return to top level settings screen
- [ ] Verify VPN, PIR, ITR are in a disabled state like designs
- [ ] Verify VPN, PIR, ITR are not clickable
- [ ] Verify Settings item is in expired state

_Remove subscription_
- [ ] Re-purchase Ppro
- [ ] From the Subscription Settings screen click "Remove From this
Device"
- [ ] Return to top level settings screen
- [ ] Verify you're in the Not Subscribed state

_Activating State_

Prerequisite: Apply patch in
[task](https://app.asana.com/0/1207908166761516/1209138029097313/f) as
this is hard to reproduce via device

- [ ] Apply patch
- [ ] Open settings
- [ ] Verify Ppro is in Activating state like designs
- [ ] Verify VPN, PIR, ITR are not clickable
- [ ] Re-purchase Ppro
- [ ] From the Subscription Settings screen click "Remove From this
Device"
- [ ] Return to top level settings screen
- [ ] Verify you're in the Not Subscribed state

**ROW**

Prerequisite: Country/Region is set to UK in Play Billing Lab

_New Settings Top Level_
- [ ] Open Settings screen
- [ ] Verify items displayed match design Not Subscribed state

_Subscribed State_
- [ ] Tap "Get Privacy Pro"
- [ ] Purchase Ppro monthly
- [ ] One Purchase is completed return to top level settings screen
- [ ] Verify only VPN, ITR and Settings items are displayed and match
design Subscribed state
- [ ] Turn on VPN
- [ ] Return to top level settings screen
- [ ] Ensure VPN status indicator is on
- [ ] Turn VPN off
- [ ] Return to top level settings screen
- [ ] Ensure VPN status is off

_Expired State_
- [ ] Tap "Subscription Settings"
- [ ] Click "Update Plan or Cancel" item
- [ ] Cancel the Subscription
- [ ] Wait 5 mins
- [ ] Return to top level settings screen
- [ ] Verify only VPN, ITR are in a disabled state like designs
- [ ] Verify VPN, ITR are not clickable
- [ ] Verify Settings item is in expired state

_Remove subscription_
- [ ] Re-purchase Ppro
- [ ] From the Subscription Settings screen click "Remove From this
Device"
- [ ] Return to top level settings screen
- [ ] Verify you're in the Not Subscribed state

No UI changes but it's helpful to see the
[designs](https://www.figma.com/design/CjH849hL53lhsPlf6Ufeo4/%E2%9A%99%EF%B8%8F-Browser-Settings-Documentation-(All-Platforms)?node-id=7605-431390&t=RdmuNULWUyR1cMH7-4)
to remember our new states
@0nko 0nko force-pushed the feature/ondrej/tab-multi-selection branch from 4b5cef8 to 32bdd14 Compare March 6, 2025 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants