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

refactor: Clean up enum preferences #946

Open
2 of 6 tasks
nikclayton opened this issue Sep 26, 2024 · 0 comments
Open
2 of 6 tasks

refactor: Clean up enum preferences #946

nikclayton opened this issue Sep 26, 2024 · 0 comments
Labels
good first issue Good for newcomers refactor Suggestions for code refactorings

Comments

@nikclayton
Copy link
Contributor

nikclayton commented Sep 26, 2024

After #945 lands there's a framework for managing enums as preferences. Extend that to cover all the existing enums-as-preferences.

This should remove some of the string arrays that are in use for preference values, keeping the values closer to where they're used. It also keeps the code style consistent, so code that does the same thing looks the same.

At least:

In Account prefs:

  • Default post privacy

Others to consider

  • Text size (STATUS_TEXT_SIZE)
  • Main nav position (MAIN_NAV_POSITION)
@nikclayton nikclayton added good first issue Good for newcomers refactor Suggestions for code refactorings labels Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers refactor Suggestions for code refactorings
Projects
Status: Todo
Development

No branches or pull requests

1 participant