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

Remove theme setting #6523

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Remove theme setting #6523

wants to merge 2 commits into from

Conversation

seadowg
Copy link
Member

@seadowg seadowg commented Nov 20, 2024

This removes the theme setting so that Collect will always use the system theme.

Why is this the best possible solution? Were any other approaches considered?

I've made this a pretty "soft" removal: all the code that deals with the setting is still present but disabled behind a feature flag, and I've not removed the appTheme key from preferences schema. This will mean that we can easily add the setting back in if we get given a good reason to.

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

Nothing other than the theme setting should be affected here! The app should now always use the system theme.

Before submitting this PR, please make sure you have:

  • added or modified tests for any new or changed behavior
  • run ./gradlew connectedAndroidTest (or ./gradlew testLab) and confirmed all checks still pass
  • added a comment above any new strings describing it for translators
  • added any new strings with date formatting to DateFormatsTest
  • verified that any code or assets from external sources are properly credited in comments and/or in the about file.
  • verified that any new UI elements use theme colors. UI Components Style guidelines

@seadowg
Copy link
Member Author

seadowg commented Nov 25, 2024

@lognaturel I'm thinking we should put this out in the next major release (with a forum post soon) to test the waters. Interested to hear your thoughts though!

@lognaturel
Copy link
Member

Yep, that works! Do you want to write a quick post in the Ideas category? I think it just needs to say

  • We want to remove this because it causes weird crashes and bad state
  • When we introduced it, it wasn't possible to change the theme at the device level
  • Now 90% of users have the same theme as their device
  • If you have a use case for changing the theme just for Collect, let us know

@seadowg
Copy link
Member Author

seadowg commented Nov 27, 2024

Do you want to write a quick post in the Ideas category?

Will do!

@seadowg seadowg marked this pull request as ready for review November 27, 2024 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants