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

Edit settings page #48

Closed
6 tasks
starfys opened this issue Oct 25, 2018 · 2 comments
Closed
6 tasks

Edit settings page #48

starfys opened this issue Oct 25, 2018 · 2 comments
Labels
new feature For new features web frontend For code related to the web UI

Comments

@starfys
Copy link
Member

starfys commented Oct 25, 2018

Please describe your issue.
the reason we want to be able to log in with a web ui and qr code is so that users can save their settings

Describe the solution you'd like
form in the web frontend with:

  • name: user's name. cap it at 200 bytes
  • profile text color: color picker, used to display the name
  • profile background color: color picker, used to display the name
  • preview of name with text color and background color
  • volume slider. corresponds to a floating point value from 0.0 to 1.0
  • if you have any other ideas, include them! Preferably no uploads, since we probably don't want to have to deal with hosting a file server with public upload
  • submitting the form to hostname/api/v1/edit_settings with json body {name, profile_fgcolor, profile_bgcolor, volume}
@madagas-karrh
Copy link
Contributor

So, sending a POST request to hostname/api/v1/edit_settings, but also should be using GET request to load data if the user has already set it.. what is the endpoint going to be for that?

@madagas-karrh
Copy link
Contributor

Oh nevermind!!! I see issue 55 (check settings endpoint) is a different issue altogether. I will just set up GET request to something arbitrary and reference that issue as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature For new features web frontend For code related to the web UI
Projects
None yet
Development

No branches or pull requests

2 participants