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:
@@ -575,10 +575,11 @@ describe("translation resources", () => {
|
||||
});
|
||||
|
||||
it("includes remaining utility chrome keys for the Batch 4T migration", () => {
|
||||
expect(en.message.attachments.reviewOne).toBe("Review · 1 comment");
|
||||
expect(en.message.attachments.reviewMany).toBe("Review · {{count}} comments");
|
||||
expect(en.message.attachments.review).toBe("Review");
|
||||
expect(en.message.attachments.commentsOne).toBe("1 comment");
|
||||
expect(en.message.attachments.commentsMany).toBe("{{count}} comments");
|
||||
expect(en.message.attachments.textAttachment).toBe("Text attachment");
|
||||
expect(en.composer.attachments.browserElement).toBe("Element · {{tag}}");
|
||||
expect(en.composer.attachments.element).toBe("Element");
|
||||
expect(en.workspace.hoverCard.scriptsAccessibility).toBe("Workspace scripts");
|
||||
expect(en.branchSwitcher.restoreStashTitle).toBe("Restore stashed changes?");
|
||||
expect(en.branchSwitcher.stashRestored).toBe("Stashed changes restored");
|
||||
|
||||
Reference in New Issue
Block a user