Iterate beta feedback dialog

This commit is contained in:
Michael Telatynski 2021-05-12 16:11:38 +01:00
parent 5d02e44293
commit 607ca17971
4 changed files with 7 additions and 5 deletions

View file

@ -16,7 +16,7 @@ limitations under the License.
.mx_BetaFeedbackDialog { .mx_BetaFeedbackDialog {
.mx_BetaFeedbackDialog_subheading { .mx_BetaFeedbackDialog_subheading {
color: $secondary-fg-color; color: $primary-fg-color;
font-size: $font-14px; font-size: $font-14px;
line-height: $font-20px; line-height: $font-20px;
margin-bottom: 24px; margin-bottom: 24px;

View file

@ -59,7 +59,7 @@ const BetaFeedbackDialog: React.FC<IProps> = ({featureId, onFinished}) => {
return (<QuestionDialog return (<QuestionDialog
className="mx_BetaFeedbackDialog" className="mx_BetaFeedbackDialog"
hasCancelButton={true} hasCancelButton={true}
title={_t("Beta feedback")} title={_t("%(featureName)s beta feedback", { featureName: info.title })}
description={<React.Fragment> description={<React.Fragment>
<div className="mx_BetaFeedbackDialog_subheading"> <div className="mx_BetaFeedbackDialog_subheading">
{ _t(info.feedbackSubheading) } { _t(info.feedbackSubheading) }
@ -87,6 +87,7 @@ const BetaFeedbackDialog: React.FC<IProps> = ({featureId, onFinished}) => {
onChange={(ev) => { onChange={(ev) => {
setComment(ev.target.value); setComment(ev.target.value);
}} }}
autoFocus={true}
/> />
<StyledCheckbox <StyledCheckbox

View file

@ -792,7 +792,7 @@
"%(brand)s will reload with Spaces enabled. Communities and custom tags will be hidden.": "%(brand)s will reload with Spaces enabled. Communities and custom tags will be hidden.", "%(brand)s will reload with Spaces enabled. Communities and custom tags will be hidden.": "%(brand)s will reload with Spaces enabled. Communities and custom tags will be hidden.",
"You can leave the beta any time from settings or tapping on a beta badge, like the one above.": "You can leave the beta any time from settings or tapping on a beta badge, like the one above.", "You can leave the beta any time from settings or tapping on a beta badge, like the one above.": "You can leave the beta any time from settings or tapping on a beta badge, like the one above.",
"Beta available for web, desktop and Android. Some features may be unavailable on your homeserver.": "Beta available for web, desktop and Android. Some features may be unavailable on your homeserver.", "Beta available for web, desktop and Android. Some features may be unavailable on your homeserver.": "Beta available for web, desktop and Android. Some features may be unavailable on your homeserver.",
"Youre using an early version of Spaces, your feedback will really help inform the next versions.": "Youre using an early version of Spaces, your feedback will really help inform the next versions.", "Your feedback will help make spaces better. The more detail you can go into, the better.": "Your feedback will help make spaces better. The more detail you can go into, the better.",
"Show options to enable 'Do not disturb' mode": "Show options to enable 'Do not disturb' mode", "Show options to enable 'Do not disturb' mode": "Show options to enable 'Do not disturb' mode",
"Send and receive voice messages": "Send and receive voice messages", "Send and receive voice messages": "Send and receive voice messages",
"Render LaTeX maths in messages": "Render LaTeX maths in messages", "Render LaTeX maths in messages": "Render LaTeX maths in messages",
@ -2066,6 +2066,7 @@
"Close dialog": "Close dialog", "Close dialog": "Close dialog",
"Beta feedback": "Beta feedback", "Beta feedback": "Beta feedback",
"Thank you for your feedback, we really appreciate it.": "Thank you for your feedback, we really appreciate it.", "Thank you for your feedback, we really appreciate it.": "Thank you for your feedback, we really appreciate it.",
"%(featureName)s beta feedback": "%(featureName)s beta feedback",
"Your platform and username will be noted to help us use your feedback as much as we can.": "Your platform and username will be noted to help us use your feedback as much as we can.", "Your platform and username will be noted to help us use your feedback as much as we can.": "Your platform and username will be noted to help us use your feedback as much as we can.",
"To leave the beta, visit your settings.": "To leave the beta, visit your settings.", "To leave the beta, visit your settings.": "To leave the beta, visit your settings.",
"Feedback": "Feedback", "Feedback": "Feedback",

View file

@ -164,8 +164,8 @@ export const SETTINGS: {[setting: string]: ISetting} = {
</>; </>;
}, },
image: require("../../res/img/betas/spaces.png"), image: require("../../res/img/betas/spaces.png"),
feedbackSubheading: _td("Youre using an early version of Spaces, " + feedbackSubheading: _td("Your feedback will help make spaces better. " +
"your feedback will really help inform the next versions."), "The more detail you can go into, the better."),
feedbackLabel: "spaces-feedback", feedbackLabel: "spaces-feedback",
}, },
}, },