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

[2870] Add an in-app changelog #3810

Merged

Conversation

naivekook
Copy link
Contributor

@naivekook naivekook commented Feb 5, 2021

Description

Add new screen to show all our new functionality to users in a fancy way.

Related issues

Linked issue #{2870}

Related PRs

Screenshots

photo5253948161242804625

.observeOn(AndroidSchedulers.mainThread())
.subscribe(
{ items -> recyclerView.adapter = ChangelogAdapter(items) },
{ throwable -> throwable.printStackTrace() }
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Do we need to log this somehow?

@@ -420,6 +421,10 @@ class MainActivity : BaseActivity(), NavigationDrawerListener {
binding.bottomNavigationInclude.bottomNavigation.selectNavigationItem(0)
binding.bottomNavigationInclude.bottomNavigation.installBottomNavigation(this)
handleIntent(intent)

if (isFlavors(AppFlavors.OFF)) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

only for OFF now

@teolemon teolemon requested a review from VaiTon February 5, 2021 09:36
@naivekook naivekook force-pushed the feature/add-changelog-screen branch from f338d81 to 836b148 Compare February 5, 2021 09:46
@naivekook
Copy link
Contributor Author

@teolemon @VaiTon I need help to add "changelog" files to crowdin

@teolemon teolemon linked an issue Feb 5, 2021 that may be closed by this pull request
@teolemon teolemon requested a review from a team February 5, 2021 13:05
@naivekook naivekook closed this Feb 5, 2021
@naivekook naivekook reopened this Feb 5, 2021
@teolemon teolemon force-pushed the feature/add-changelog-screen branch from 0594542 to a6ab8af Compare February 10, 2021 18:57
@sonarcloud
Copy link

sonarcloud bot commented Feb 10, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Member

@VaiTon VaiTon left a comment

Choose a reason for hiding this comment

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

Code-wise it's ok. @teolemon have you tested?

@teolemon
Copy link
Member

Not yet, but it looks good. My biggest concern was architecture wise (so that we don't show the message twice, and that we have a simple translation path)

@VaiTon
Copy link
Member

VaiTon commented Feb 15, 2021

@naivekook isn't there anything to use the resources created by fastlane with the versioncode.txt file?

@naivekook
Copy link
Contributor Author

@VaiTon sorry I don't understand the question
artifacts from fastlane are not included in apk

@teolemon
Copy link
Member

Ok, let's merge and debug in the internal release 👍 YOLO :-)

@teolemon teolemon merged commit a2093df into openfoodfacts:develop Feb 20, 2021
@naivekook naivekook deleted the feature/add-changelog-screen branch February 20, 2021 12:29
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.

Add an in-app changelog
3 participants