-
Notifications
You must be signed in to change notification settings - Fork 985
Closed
Labels
s2Broken use cases or features (with a workaround). Only humans may set this.Broken use cases or features (with a workaround). Only humans may set this.siteArea: frontend dashboardArea: frontend dashboard
Description
Reproduction:
- Start a brand new deployment.
- Open appearance settings.
- Toggle enabled and add a message. Do not touch the color.
- Submit.
Behavior:
Nothing happens. Checking the network request reveals:
{
"message": "parse color: expected 7 characters:\n github.com/coder/coder/enterprise/coderd.validateHexColor\n /home/coder/coder/enterprise/coderd/appearance.go:114"
}
After manually setting the color submitting always works. It is just that first request where we are not sending any color.
Solution:
- Surface errors
- Set default color if none yet
Metadata
Metadata
Assignees
Labels
s2Broken use cases or features (with a workaround). Only humans may set this.Broken use cases or features (with a workaround). Only humans may set this.siteArea: frontend dashboardArea: frontend dashboard