Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 52420fe

Browse files
authored
Merge pull request #6021 from matrix-org/t3chguy/fix/17268
Iterate beta feedback dialog
2 parents 378d0b2 + 607ca17 commit 52420fe

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

res/css/views/dialogs/_BetaFeedbackDialog.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ limitations under the License.
1616

1717
.mx_BetaFeedbackDialog {
1818
.mx_BetaFeedbackDialog_subheading {
19-
color: $secondary-fg-color;
19+
color: $primary-fg-color;
2020
font-size: $font-14px;
2121
line-height: $font-20px;
2222
margin-bottom: 24px;

src/components/views/dialogs/BetaFeedbackDialog.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const BetaFeedbackDialog: React.FC<IProps> = ({featureId, onFinished}) => {
5959
return (<QuestionDialog
6060
className="mx_BetaFeedbackDialog"
6161
hasCancelButton={true}
62-
title={_t("Beta feedback")}
62+
title={_t("%(featureName)s beta feedback", { featureName: info.title })}
6363
description={<React.Fragment>
6464
<div className="mx_BetaFeedbackDialog_subheading">
6565
{ _t(info.feedbackSubheading) }
@@ -87,6 +87,7 @@ const BetaFeedbackDialog: React.FC<IProps> = ({featureId, onFinished}) => {
8787
onChange={(ev) => {
8888
setComment(ev.target.value);
8989
}}
90+
autoFocus={true}
9091
/>
9192

9293
<StyledCheckbox

src/i18n/strings/en_EN.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,7 @@
792792
"%(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.",
793793
"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.",
794794
"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.",
795-
"You’re using an early version of Spaces, your feedback will really help inform the next versions.": "You’re using an early version of Spaces, your feedback will really help inform the next versions.",
795+
"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.",
796796
"Show options to enable 'Do not disturb' mode": "Show options to enable 'Do not disturb' mode",
797797
"Send and receive voice messages": "Send and receive voice messages",
798798
"Render LaTeX maths in messages": "Render LaTeX maths in messages",
@@ -2066,6 +2066,7 @@
20662066
"Close dialog": "Close dialog",
20672067
"Beta feedback": "Beta feedback",
20682068
"Thank you for your feedback, we really appreciate it.": "Thank you for your feedback, we really appreciate it.",
2069+
"%(featureName)s beta feedback": "%(featureName)s beta feedback",
20692070
"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.",
20702071
"To leave the beta, visit your settings.": "To leave the beta, visit your settings.",
20712072
"Feedback": "Feedback",

src/settings/Settings.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ export const SETTINGS: {[setting: string]: ISetting} = {
164164
</>;
165165
},
166166
image: require("../../res/img/betas/spaces.png"),
167-
feedbackSubheading: _td("You’re using an early version of Spaces, " +
168-
"your feedback will really help inform the next versions."),
167+
feedbackSubheading: _td("Your feedback will help make spaces better. " +
168+
"The more detail you can go into, the better."),
169169
feedbackLabel: "spaces-feedback",
170170
},
171171
},

0 commit comments

Comments
 (0)