Open platform to collect and prioritize feedback
Fixed translation error and improved idea title behaviour (#1351)
JimKnoxx67ca548f2600
diff --git a/locale/fr/client.json b/locale/fr/client.jsonindex 7e711513d..c240c7e35 100644--- a/locale/fr/client.json+++ b/locale/fr/client.json@@ -38,7 +38,7 @@"error.pagenotfound.title": "Page non trouvée","error.unauthorized.text": "Vous n'êtes pas autorisé à accéder à cette page.","error.unauthorized.title": "Non autorisé",- "home.filter.label": "Flitrer",+ "home.filter.label": "Filtrer","home.filter.search.label": "Rechercher dans les filtres...","home.form.defaultinvitation": "Entrez votre suggestion ici...","home.form.defaultwelcomemessage": "Nous aimerions savoir ce que vous pensez.\n\nQue pouvons-nous faire de mieux ? C'est ici que vous pouvez voter, discuter et partager vos idées.",diff --git a/public/pages/Home/components/ShareFeedback.tsx b/public/pages/Home/components/ShareFeedback.tsxindex 20168232d..2f928497a 100644--- a/public/pages/Home/components/ShareFeedback.tsx+++ b/public/pages/Home/components/ShareFeedback.tsx@@ -139,8 +139,9 @@ export const ShareFeedback: React.FC<ShareFeedbackProps> = (props) => {setCachedTitle(value)// If this is a manual edit (not auto-generated from description),// mark the title as manually edited so we stop auto-populating+ // If the user clears the title, we still want to allow auto-populationif (isManualEdit) {- setTitleManuallyEdited(true)+ setTitleManuallyEdited(value !== "")}}@@ -157,6 +158,12 @@ export const ShareFeedback: React.FC<ShareFeedbackProps> = (props) => {const handleDescriptionChange = (value: string, plainText?: string) => {setCachedDescription(value)++ // If the description starts with an image attachment, we don't want to set it as the title+ if (value.startsWith(") {+ return+ }+setDescription(value)// Store plain text version if provided