User's Settings / Preferences
See original GitHub issueIs your feature request related to a problem? Please describe. Circiutverse is a growing platform and lack of any way to customize its behaviour by users is starting to make problems. For an example implementation of new emails system (#845) or GDPR Compliance (#379) are impossible due to lack of settings.
Describe the solution you’d like
Create a new settings page on /users/:id/settings
that will match new UX style
The page should contain settings divided into categories. In my opinion, hard-coding options and adding them to the database is a bad decision. I think options should be generated via a configuration file in JSON for example:
{
"name" : "fork-button",
"display_name" : "Hide fork button on project pages",
"category:" : "Platform"
}
That implementation will make settings harder to implement but will benefit in the future. Settings page should be generated via this JSON file. At database, settings can be put into one array cell. The main values like Username
Email
Password
etc. should be hard-coded cause they won’t be changed at all. Also, all settings can be represented as an object.
The settings should be accessible from the user’s dropdown
Example fields in configuration
Account
- Username
- Download your information (GDPR #379)
Email #845
- Receive Emails (main checkbox)
- Receive Newstsleller emails (checkbox)
- Receive fork notification emails (always, only milestones, off)
- Receive star notification emails (always, only milestones, off)
Platform
- Key Bindings (They will be probably added in GOSC’20)
- Language (#963)
Security (#844 contains audit that talks about account security)
- Change Password
- 2FA
- Sign out of all other sessions
- Delete account (GDPR #379)
Describe alternatives you’ve considered There are no other possible implementations at all
Are you working on this? (Yes/No) Yes (since 5 May)
Issue Analytics
- State:
- Created 4 years ago
- Comments:20 (19 by maintainers)
Top GitHub Comments
It’s best you guys divide the work. I agree with @MrBartusek taking up this and @harsha-iiiv working on i18n.
sure