Repository navigation
feat(settings): answer time range per template and organization background colour - #95
Merged
Merged
Conversation
Admins set the good-answer window (answer_min_seconds, answer_max_seconds; defaults 90/150, 10..600, min < max) in the avatar template form. Payload is forwarded by both pages and composables; client validation and server error mapping with it/en copy. Syncs openapi.json and regenerates types/api.ts.
Adds a background colour to the branding form: Dark/Light presets, native picker, hex field and clear (null = default dark canvas). Syncs the OpenAPI spec and regenerates the types.
…s opened Both pages reused one AvatarTemplateForm instance across templates, keeping the previous name, config, persona and answer-range errors. Key the form on the template id so the whole draft re-seeds, and drop the partial answer-range watcher it made redundant.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Two features on one stacked branch (native-review approved):
answer_min_secondsandanswer_max_seconds(defaults 90 and 150, integer 10..600, min < max) with client validation and per-reason server error copy. Both template pages key the form on every opened draft so the whole draft re-seeds.#0f172a) and Light (#f1f5f9) presets, a free colour field and Clear (empty means the default dark candidate canvas). Candidate-only: the backoffice theme is unchanged.API contract and generated types come from api
feature/org-background-color.Checks