-
Notifications
You must be signed in to change notification settings - Fork 1.4k
refactor: Separate Gutenberg editor implementations #21493
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
Changes from all commits
2b6a2d4
96b0e1e
b843c3c
b9278c7
4b67a37
43a17b5
a8a6937
e862f40
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Long term, we might also consider how this implementation could be simplified, creating clear and useful separation between Aztec, Gutenberg Mobile, and GutenbergKit. |
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| package org.wordpress.android.util.config | ||
|
|
||
| import org.wordpress.android.BuildConfig | ||
| import org.wordpress.android.annotation.Feature | ||
| import javax.inject.Inject | ||
|
|
||
| private const val GUTENBERG_KIT_FEATURE_REMOTE_FIELD = "experimental_block_editor" | ||
|
|
||
| @Feature(GUTENBERG_KIT_FEATURE_REMOTE_FIELD, false) | ||
| class GutenbergKitFeatureConfig @Inject constructor( | ||
| appConfig: AppConfig | ||
| ) : FeatureConfig( | ||
| appConfig, | ||
| BuildConfig.ENABLE_GUTENBERG_KIT, | ||
| GUTENBERG_KIT_FEATURE_REMOTE_FIELD | ||
| ) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| package org.wordpress.android.util.config | ||
|
|
||
| import org.wordpress.android.BuildConfig | ||
| import org.wordpress.android.annotation.Feature | ||
| import javax.inject.Inject | ||
|
|
||
| private const val GUTENBERG_KIT_THEME_STYLES_FEATURE_REMOTE_FIELD = "experimental_block_editor_theme_styles" | ||
|
|
||
| @Feature(GUTENBERG_KIT_THEME_STYLES_FEATURE_REMOTE_FIELD, false) | ||
| class GutenbergKitThemeStylesFeatureConfig @Inject constructor( | ||
| appConfig: AppConfig | ||
| ) : FeatureConfig( | ||
| appConfig, | ||
| BuildConfig.ENABLE_GUTENBERG_KIT_THEME_STYLES, | ||
| GUTENBERG_KIT_THEME_STYLES_FEATURE_REMOTE_FIELD | ||
| ) |
This file was deleted.
This file was deleted.
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.
The term "new" is problematic, as it provides little context and can become outdated/incorrect in the future. I replaced it with a more meaningful name.