Skip to content
This repository was archived by the owner on Feb 4, 2025. It is now read-only.

Conversation

@antonis
Copy link

@antonis antonis commented Jan 2, 2024

Fixes wordpress-mobile/WordPress-Android#19870

WordPress-Android PR: wordpress-mobile/WordPress-Android#19877

Description

This PR removes the remote_feature_flag from the response and passes the following params to the dashboard cards endpoint (similar to the feature flags endpoint):

  • device_id
  • platform
  • build_number
  • marketing_version
  • identifier

To test

Use the wordpress-mobile/WordPress-Android#19877

Note

Please remove the [PR] Not Ready for Merge label and merge after:

  • the backend change is deployed D133371-code
  • the WPAndroid PR is approved so that the two PRs are merged together and no breakages is introduced in trunk

Copy link
Contributor

@justtwago justtwago left a comment

Choose a reason for hiding this comment

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

Awesome work, Antonis! It's nice to move feature flag handling to the backend side 🎉
Tested all the cases from the client PR and it works as described. The code is good to me!
Thank you a lot!

@justtwago
Copy link
Contributor

Proceeding with merging the PR since D133371-code is shipped.
Thanks again!

@justtwago justtwago merged commit 7c5827c into trunk Jan 5, 2024
@justtwago justtwago deleted the issue/19870-backend-card-filtering branch January 5, 2024 20:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🤖 Add backend-driven Dynamic Cards filtering

3 participants