-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Contact info api - featureConfig implementation #13804
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
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
8eab0aa
WC: Adding in contact info capability.
8e84102
WC: Updating release notes for contact info.
160a92d
Merge branch 'develop' into contact-info-api-mario
mzorz 16c855c
added ContactIngoBlockFeatureConfig to control GB ContactInfo block a…
mzorz 81bcacb
reverted unwanted changes to .idea/compiler.xml
mzorz 563182e
updated gutenberg-mobile hash
mzorz 5a15271
updated gutenberg-mobile branch
mzorz 5a408ed
fixed merge conflicts - WARNING added mock implemetations of new call…
mzorz 1f66092
Updated gb mobile ref.
jd-alexander 544708e
gb mobile ref updated with bundles.
jd-alexander 6107cc5
fixed merge conflicts
mzorz 2477731
updated gutenberg-mobile commit hash
mzorz c95f9b1
Merge branch 'develop' into contact-info-api-mario
mzorz 8d94051
updated gutenberg-mobile
mzorz 28f4a20
Removing release notes from this branch as user facing changes are be…
mzorz a31c71a
disabled Contact Info block for production (vanilla flavors)
mzorz e32af3f
updated gutenberg-mobile hash with latest develop, already merged gut…
mzorz 977f5f9
updated branch fixed with base branch
mzorz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
9 changes: 9 additions & 0 deletions
9
WordPress/src/main/java/org/wordpress/android/util/config/ContactInfoBlockFeatureConfig.kt
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| package org.wordpress.android.util.config | ||
|
|
||
| import org.wordpress.android.BuildConfig | ||
| import org.wordpress.android.annotation.FeatureInDevelopment | ||
| import javax.inject.Inject | ||
|
|
||
| @FeatureInDevelopment | ||
| class ContactInfoBlockFeatureConfig | ||
| @Inject constructor(appConfig: AppConfig) : FeatureConfig(appConfig, BuildConfig.CONTACT_INFO_BLOCK_AVAILABLE) |
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @illusaen or @mzorz I have a question about the Jetpack version. I am looking at the release notes above and it specifies that the contact info block works on WP.com site and sites with JetPack 9.1 and above. But this value is 8.5 so I am just checking if this is expected i.e I am checking to see if these versions should be the same or not. Thanks 🙇
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good observation @jd-alexander ! My findings tell me the first version of Jetpack shipping with that block was 8.5, so the release notes should be updated accordingly 👍 @illusaen do you want to update it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also another question @mzorz should the block be tested with vanilla debug or vanilla release ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think both should work as long as it's vanilla - I tested vanillaDebug only but it should be the same (the productFlavors work this way)