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

Sort shared preferences #44

Open
2 tasks done
JonatanPlesko opened this issue Aug 10, 2023 · 0 comments
Open
2 tasks done

Sort shared preferences #44

JonatanPlesko opened this issue Aug 10, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@JonatanPlesko
Copy link
Collaborator

⚠️ Is your feature request related to a problem? Please describe

Shared preferences do not seem to have any defined order in the UI (see PreferencesCollector.kt). The default order seems to be on the order of initialization, but that means that any custom (e.g., feature flag) preferences are pushed to the bottom, making them less accessible than some of the less-important ones.

💡 Describe the solution you'd like

The simplest solution would be to introduce a sorting logic that can be easily affected by the developer - for example, sorting by shared prefs name. That way, you could name the shared preferences in a way they get sorted at the top of the list.

📊 Describe alternatives you've considered

Ideally, there would be a way to sort and/or filter out unimportant preferences (preference files) in the UI. But this solution might be too much effort for something that is not so important.

🙋 Do you want to develop this feature yourself?

  • Yes --> for the simple solution
  • No --> for the more complex solutions
@JonatanPlesko JonatanPlesko added the enhancement New feature or request label Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant