Unify attachment display and enable file uploads on all platforms (#1501)
Attachment pills were drawn by four separate style sets, so files, images, GitHub items, and reviews rendered at different heights in the same tray. Move the frame, the two-line label, and the image thumbnail into shared components so every attachment lines up at one height, across both the composer and sent messages. Sent-message images now open the lightbox, and file uploads work on iOS and Android via expo-document-picker instead of being gated to desktop.
This commit is contained in:
@@ -111,7 +111,7 @@ export const fr: TranslationResources = {
|
||||
removeFile: "Remove file attachment",
|
||||
openGithub: "Ouvrir{{kind}}#{{number}}",
|
||||
removeGithub: "Supprimer{{kind}}#{{number}}",
|
||||
browserElement: "Élément ·{{tag}}",
|
||||
element: "Élément",
|
||||
openBrowserElement: "Ouvrir la pièce jointe de l'élément de navigateur",
|
||||
removeBrowserElement: "Supprimer la pièce jointe d'un élément de navigateur",
|
||||
openReview: "Ouvrir la pièce jointe de l'avis",
|
||||
@@ -258,9 +258,12 @@ export const fr: TranslationResources = {
|
||||
imageUnavailable: "Image indisponible",
|
||||
imagePreviewUnavailable: "Aperçu de l'image indisponible.",
|
||||
imagePreviewLoadFailed: "Impossible de charger l'aperçu de l'image.",
|
||||
reviewOne: "Avis · 1 commentaire",
|
||||
reviewMany: "Révision · Commentaires{{count}}",
|
||||
review: "Revue",
|
||||
commentsOne: "1 commentaire",
|
||||
commentsMany: "{{count}} commentaires",
|
||||
textAttachment: "Texte en pièce jointe",
|
||||
text: "Texte",
|
||||
file: "Fichier",
|
||||
},
|
||||
speak: {
|
||||
header: "Rayon",
|
||||
|
||||
Reference in New Issue
Block a user