Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat: add inline file previews and attachment chips across surfaces #11265

Mergedchrisdeeming(GitHub profile, opens in a new tab)merged 135 commits intomain fromrefs/pull/11265/headmerged by juliusmarminge View on GitHub

Showing 260 changed files with 4 additions and 1 deletion (loading 257).

x
0 of 260 viewed, 260 left
0 additions and 0 deletions.pnpm-store/v11/index.dbAdded
View file

Binary file not shown.

1 addition and 0 deletionsapps/desktop/src/electron/ElectronProtocol.test.tsModified
View file
@@ -226,6 +226,7 @@
"https:",
]);
assert.deepEqual(directives["media-src"], ["'self'", "t3code:", "blob:", "http:", "https:"]);
+ assert.deepEqual(directives["frame-src"], ["'self'", "blob:", "http:", "https:"]);
assert.deepEqual(directives["font-src"], ["'self'", "t3code:", "data:"]);
});
});
3 additions and 1 deletionapps/desktop/src/electron/ElectronProtocol.tsModified
View file
@@ -91,7 +91,9 @@
"style-src 'self' 'unsafe-inline'",
`font-src 'self' ${input.scheme}: data:`,
"worker-src 'self' blob:",
- "frame-src 'self' https://challenges.cloudflare.com",
+ // Document viewers use local Blob URLs and signed assets from runtime environments.
+ // HTML viewers retain their own sandbox; the renderer's script policy stays unchanged.
+ "frame-src 'self' blob: http: https:",
"form-action 'self'",
].join("; ");
apps/mobile/modules/t3-composer-editor/android/src/main/java/expo/modules/t3composereditor/T3ComposerEditorModule.ktModified
View file
Loading the diff