Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Survey v2 for product market fit #1082

Merged
merged 11 commits into from
Jun 2, 2021
2 changes: 1 addition & 1 deletion packages/files-ui/src/Components/FilesRoutes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const ROUTE_LINKS = {
Settings: `${SETTINGS_BASE}/:path`,
SettingsDefault: `${SETTINGS_BASE}`,
PurchasePlan: "/purchase",
UserSurvey: "https://shrl.ink/8eeP",
UserSurvey: "https://shrl.ink/kmAL",
GeneralFeedbackForm: "https://shrl.ink/gvVJ"
}

Expand Down
12 changes: 7 additions & 5 deletions packages/files-ui/src/Components/SurveyBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,24 @@ import React, { useCallback } from "react"
import { CSFTheme } from "../Themes/types"
import { ROUTE_LINKS } from "./FilesRoutes"

const SURVEY_VERSION = 1
const SURVEY_VERSION = 2
export const DISMISSED_SURVEY_KEY = `csf.dismissedSurveyBannerV${SURVEY_VERSION}`

const useStyles = makeStyles(
({ constants, palette }: CSFTheme) => {
({ constants }: CSFTheme) => {
return createStyles({
root: {
backgroundColor: palette.primary.main,
background: "linear-gradient(90deg, rgba(81,101,220,1) 0%, rgba(3,150,166,1) 68%, rgba(22,212,96,1) 100%);",
padding: constants.generalUnit,
paddingLeft: constants.generalUnit * 2,
marginTop: constants.generalUnit,
borderRadius: 2,
display: "flex"
},
banner: {
color: constants.surveyBanner.color
color: constants.surveyBanner.color,
fontWeight: 600,
paddingRight: constants.generalUnit
},
link: {
marginLeft: constants.generalUnit * 2,
Expand Down Expand Up @@ -75,7 +77,7 @@ const SurveyBanner = ({ onHide }: Props) => {
variant="body1"
className={classes.banner}>
<Trans>
Help us make Files better in under 30 seconds.
Are we on the right track? Let us know in less than 1 minute.
</Trans>
<span
className={classes.link}
Expand Down
6 changes: 3 additions & 3 deletions packages/files-ui/src/locales/en/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ msgstr "Add more files"
msgid "Approve"
msgstr "Approve"

msgid "Are we on the right track? Let us know in less than 1 minute."
msgstr "Are we on the right track? Let us know in less than 1 minute."

msgid "Backup phrase"
msgstr "Backup phrase"

Expand Down Expand Up @@ -241,9 +244,6 @@ msgstr "Great! You’re all done."
msgid "Hello again!"
msgstr "Hello again!"

msgid "Help us make Files better in under 30 seconds."
msgstr "Help us make Files better in under 30 seconds."

msgid "Hey! You only have two sign-in methods. If you lose that and have only one left, you will be locked out of your account forever."
msgstr "Hey! You only have two sign-in methods. If you lose that and have only one left, you will be locked out of your account forever."

Expand Down
Binary file modified packages/files-ui/src/locales/fr/messages.mo
Binary file not shown.
8 changes: 4 additions & 4 deletions packages/files-ui/src/locales/fr/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ msgstr "Ajoute d'autres fichiers"
msgid "Approve"
msgstr "Accepter"

msgid "Are we on the right track? Let us know in less than 1 minute."
msgstr "Sommes nous sur les bons rails ? Dites le nous en moins d'1 minute (en anglais)."

msgid "Backup phrase"
msgstr "Phrase de secours"

Expand Down Expand Up @@ -242,9 +245,6 @@ msgstr "Génial! Vous avez terminé."
msgid "Hello again!"
msgstr "Ravis de vous revoir!"

msgid "Help us make Files better in under 30 seconds."
msgstr ""

msgid "Hey! You only have two sign-in methods. If you lose that and have only one left, you will be locked out of your account forever."
msgstr "Hey! Tu ne disposes que de deux méthodes d'authentification. Si tu en perds une, tu seras bloqué pour toujours et ne pourras plus te connecter à ton compte Files."

Expand Down Expand Up @@ -384,7 +384,7 @@ msgid "Please provide a password"
msgstr "Merci de donner un mot de passe"

msgid "Please select a file to upload"
msgstr ""
msgstr "Merci de sélectionner un fichier à uploader"

msgid "Preview"
msgstr "Aperçu"
Expand Down