-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Allow customizing feedback hint and update dialog
- Allow customizing the hint text. - Always show the text input to prevent layout shift - Enable dynamic sizing for hint to prevent layout issues
- Loading branch information
Showing
7 changed files
with
78 additions
and
24 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -157,6 +157,10 @@ class FeedbackConfiguration(core_pydantic.BaseModelStrict): | |
description="Email addresses to send feedback to.", | ||
examples=[[], ["[email protected]"]], | ||
) | ||
hint_text: str = pydantic.Field( | ||
default="Try to be specific. What happened? What were you doing?", | ||
description="Text to display as a hint in the feedback form.", | ||
) | ||
|
||
|
||
class BetaConfiguration(core_pydantic.BaseModelStrict): | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -95,6 +95,7 @@ feedback: | |
recipients: # (1)! | ||
- [email protected] | ||
- [email protected] | ||
hint_text: Try to be specific. What happened? What were you doing? | ||
``` | ||
|
||
Prompts that are associated with a session automatically include anonymized | ||
|
4 changes: 4 additions & 0 deletions
4
frontend/src/app/openapi/model/feedback-configuration-input.ts
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
frontend/src/app/openapi/model/feedback-configuration-output.ts
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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