-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13625 from wordpress-mobile/issue/13454-reader-un…
…read-posts-count Adding unread posts count to Reader bottom sheet
- test
- jp-17.6
- jp-17.5
- jp-0.3
- jp-0.2
- jetpack/17.6-rc-3
- jetpack/17.6-rc-2
- jetpack/17.6-rc-1
- alpha-301
- alpha-300
- alpha-299
- alpha-298
- alpha-297
- alpha-296
- alpha-295
- alpha-294
- alpha-293
- alpha-292
- alpha-291
- alpha-290
- alpha-289
- alpha-288
- alpha-287
- alpha-286
- alpha-285
- alpha-284
- alpha-283
- alpha-282
- alpha-281
- alpha-280
- alpha-279
- alpha-278
- alpha-277
- alpha-276
- alpha-275
- alpha-274
- alpha-273
- alpha-271
- alpha-270
- alpha-269
- alpha-268
- alpha-267
- alpha-266
- 25.5
- 25.5-rc-1
- 25.4
- 25.4-rc-1
- 25.3-rc-1
- 25.2.1
- 25.2
- 25.2-rc-2
- 25.2-rc-1
- 25.1
- 25.1-rc-4
- 25.1-rc-3
- 25.1-rc-2
- 25.1-rc-1
- 25.0
- 25.0-rc-1
- 24.9
- 24.9-rc-2
- 24.9-rc-1
- 24.8
- 24.8-rc-3
- 24.8-rc-2
- 24.8-rc-1
- 24.7
- 24.7-rc-3
- 24.7-rc-2
- 24.7-rc-1
- 24.6
- 24.6-rc-2
- 24.6-rc-1
- 24.5
- 24.5-rc-1
- 24.4
- 24.4-rc-2
- 24.4-rc-1
- 24.3.1
- 24.3
- 24.3-rc-1
- 24.2
- 24.2-rc-2
- 24.2-rc-1
- 24.1
- 24.1-rc-3
- 24.1-rc-2
- 24.1-rc-1
- 24.0.2
- 24.0.1
- 24.0
- 24.0-rc-1
- 23.9
- 23.9-rc-3
- 23.9-rc-2
- 23.9-rc-1
- 23.8.1
- 23.8
- 23.8-rc-5
- 23.8-rc-4
- 23.8-rc-3
- 23.8-rc-2
- 23.8-rc-1
- 23.7.1
- 23.7
- 23.7-rc-2
- 23.7-rc-1
- 23.6
- 23.6-rc-1
- 23.5
- 23.5-rc-2
- 23.5-rc-1
- 23.4
- 23.4-rc-3
- 23.4-rc-2
- 23.4-rc-1
- 23.3.1
- 23.3
- 23.3-rc-2
- 23.3-rc-1
- 23.2
- 23.2-rc-1
- 23.1
- 23.1-rc-3
- 23.1-rc-2
- 23.1-rc-1
- 23.0
- 23.0-rc-2
- 23.0-rc-1
- 22.9
- 22.9-rc-1
- 22.8
- 22.8-rc-3
- 22.8-rc-2
- 22.8-rc-1
- 22.7
- 22.7-rc-3
- 22.7-rc-2
- 22.7-rc-1
- 22.6
- 22.6-rc-3
- 22.6-rc-2
- 22.6-rc-1
- 22.5
- 22.5-rc-2
- 22.5-rc-1
- 22.4
- 22.4-rc-2
- 22.4-rc-1
- 22.3
- 22.3-rc-1
- 22.2
- 22.2-rc-4
- 22.2-rc-3
- 22.2-rc-2
- 22.2-rc-1
- 22.1
- 22.1-rc-5
- 22.1-rc-4
- 22.1-rc-3
- 22.1-rc-2
- 22.1-rc-1
- 22.0.1
- 22.0
- 22.0-rc-3
- 22.0-rc-2
- 22.0-rc-1
- 21.9.1
- 21.9
- 21.9-rc-3
- 21.9-rc-2
- 21.9-rc-1
- 21.8
- 21.8-rc-2
- 21.8-rc-1
- 21.7
- 21.7-rc-2
- 21.7-rc-1
- 21.6
- 21.6-rc-2
- 21.6-rc-1
- 21.5
- 21.5-rc-1
- 21.4
- 21.4-rc-2
- 21.4-rc-1
- 21.3
- 21.3-rc-6
- 21.3-rc-3
- 21.3-rc-2
- 21.3-rc-1
- 21.2.1
- 21.2
- 21.2-rc-3
- 21.2-rc-2
- 21.2-rc-1
- 21.1
- 21.1-rc-3
- 21.1-rc-2
- 21.1-rc-1
- 21.0
- 21.0-rc-3
- 21.0-rc-2
- 21.0-rc-1
- 20.9
- 20.9-rc-3
- 20.9-rc-2
- 20.9-rc-1
- 20.8.1
- 20.8
- 20.8-rc-3
- 20.8-rc-2
- 20.8-rc-1
- 20.7
- 20.7-rc-4
- 20.7-rc-3
- 20.7-rc-2
- 20.6.1
- 20.6
- 20.6-rc-3
- 20.6-rc-2
- 20.6-rc-1
- 20.5
- 20.5-rc-2
- 20.5-rc-1
- 20.4
- 20.4-rc-2
- 20.4-rc-1
- 20.3
- 20.3-rc-2
- 20.3-rc-1
- 20.2
- 20.2-rc-4
- 20.2-rc-3
- 20.2-rc-2
- 20.2-rc-1
- 20.1.1
- 20.1
- 20.1-rc-3
- 20.1-rc-2
- 20.1-rc-1
- 20.0
- 20.0-rc-2
- 20.0-rc-1
- 19.9
- 19.9-rc-4
- 19.9-rc-3
- 19.9-rc-2
- 19.9-rc-1
- 19.8.1
- 19.8
- 19.8-rc-3
- 19.8-rc-2
- 19.8-rc-1
- 19.7.1
- 19.7
- 19.7-rc-4
- 19.7-rc-3
- 19.7-rc-2
- 19.7-rc-1
- 19.6
- 19.6-rc-3
- 19.6-rc-2
- 19.6-rc-1
- 19.5
- 19.5-rc-4
- 19.5-rc-3
- 19.5-rc-2
- 19.5-rc-1
- 19.4
- 19.4-rc-2
- 19.4-rc-1
- 19.3
- 19.3-rc-2
- 19.3-rc-1
- 19.2
- 19.2-rc-3
- 19.2-rc-2
- 19.2-rc-1
- 19.1.1
- 19.1
- 19.1-rc-3
- 19.1-rc-2
- 19.1-rc-1
- 19.0.1
- 19.0
- 19.0-rc-4
- 19.0-rc-3
- 19.0-rc-2
- 19.0-rc-1
- 18.9
- 18.9-rc-2
- 18.9-rc-1
- 18.8
- 18.8-rc-2
- 18.8-rc-1
- 18.7
- 18.7-rc-2
- 18.7-rc-1
- 18.6
- 18.6-rc-1
- 18.5
- 18.5-rc-2
- 18.5-rc-1
- 18.4
- 18.4-rc-3
- 18.4-rc-2
- 18.4-rc-1
- 18.3
- 18.3-rc-3
- 18.3-rc-2
- 18.3-rc-1
- 18.2.1
- 18.2
- 18.2-rc-3
- 18.2-rc-2
- 18.2-rc-1
- 18.1
- 18.1-rc-2
- 18.1-rc-1
- 18.0
- 18.0-rc-3
- 18.0-rc-2
- 18.0-rc-1
- 17.9.1
- 17.9
- 17.9-rc-4
- 17.9-rc-3
- 17.9-rc-2
- 17.9-rc-1
- 17.8
- 17.8-rc-3
- 17.8-rc-2
- 17.8-rc-1
- 17.7
- 17.7-rc-2
- 17.7-rc-1
- 17.6.1
- 17.6
- 17.6-rc-4
- 17.6-rc-3
- 17.6-rc-2
- 17.6-rc-1
- 17.5
- 17.5-rc-1
- 17.4
- 17.4-rc-3
- 17.4-rc-2
- 17.4-rc-1
- 17.3.2
- 17.3.1
- 17.3
- 17.3-rc-1
- 17.2
- 17.2-rc-3
- 17.2-rc-2
- 17.2-rc-1
- 17.1
- 17.1-rc-4
- 17.1-rc-3
- 17.1-rc-2
- 17.1-rc-1
- 17.0
- 17.0-rc-2
- 17.0-rc-1
- 16.9
- 16.9-rc-3
- 16.9-rc-2
- 16.9-rc-1
- 16.8.1
- 16.8
- 16.8-rc-3
- 16.8-rc-2
- 16.8-rc-1
- 16.7
- 16.7-rc-7
- 16.7-rc-6
- 16.7-rc-5
- 16.7-rc-4
- 16.7-rc-3
- 16.7-rc-1
- 16.6
- 16.6-rc-2
- 16.6-rc-1
- 16.5
- 16.5-rc-3
- 16.5-rc-2
- 16.5-rc-1
Showing
14 changed files
with
117 additions
and
11 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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 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 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 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
15 changes: 15 additions & 0 deletions
15
WordPress/src/main/java/org/wordpress/android/util/config/UnreadPostsCountFeatureConfig.kt
This file contains 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,15 @@ | ||
package org.wordpress.android.util.config | ||
|
||
import org.wordpress.android.BuildConfig | ||
import org.wordpress.android.annotation.FeatureInDevelopment | ||
import javax.inject.Inject | ||
|
||
/** | ||
* Configuration of the Unread Posts Count | ||
*/ | ||
@FeatureInDevelopment | ||
class UnreadPostsCountFeatureConfig | ||
@Inject constructor(appConfig: AppConfig) : FeatureConfig( | ||
appConfig, | ||
BuildConfig.UNREAD_POSTS_COUNT | ||
) |
8 changes: 8 additions & 0 deletions
8
WordPress/src/main/res/drawable/bg_oval_surface_overlay_emphasis_lowest.xml
This file contains 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,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<shape xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:shape="rectangle"> | ||
<solid android:color="@color/on_surface_emphasis_lowest"/> | ||
|
||
<!-- arbitrary high number --> | ||
<corners android:radius="15dp" /> | ||
</shape> |
This file contains 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 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