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

[pull] main from tldraw:main #1

Open
wants to merge 2,543 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
2543 commits
Select commit Hold shift + click to select a range
0895148
fix: fix broken bluesky link with old handle name (#5120)
shuuji3 Dec 17, 2024
de9694f
Add name and timeout params. (#5129)
MitjaBezensek Dec 17, 2024
0d88f3e
Execute reactor immediately on listen (#5133)
ds300 Dec 18, 2024
a0088a0
Add snow (#5141)
steveruizok Dec 20, 2024
383dfd1
Reduce snow motion (#5148)
steveruizok Dec 20, 2024
9e5acfe
Update README.md
steveruizok Dec 22, 2024
8e16c48
add snowstorm example, remove snowstorm from app (#5157)
steveruizok Dec 28, 2024
5bf49a5
Update docs. (#5167)
MitjaBezensek Jan 6, 2025
5f5f8c6
Create SECURITY.md (#5169)
steveruizok Jan 6, 2025
c01564b
Fix relative CSS import rules failing to be fetched (#5172)
trygve-aaberge-adsk Jan 6, 2025
48cd187
Allow expandSelectionOutlinePx to return a Box (#5168)
trygve-aaberge-adsk Jan 6, 2025
5694568
Fix max image dimension prop not getting applied. (#5176)
MitjaBezensek Jan 7, 2025
f9d4bdb
embeds: fix Gist; fix Val Town; add support for <iframe> (#5143)
mimecuvalo Jan 7, 2025
e9078a3
Gist embed: restrict the url to a more strict format (#5170)
mimecuvalo Jan 7, 2025
f5aef12
Update CHANGELOG.md [skip ci]
huppy-bot[bot] Jan 7, 2025
ae594c6
Move to kysely (#5140)
MitjaBezensek Jan 8, 2025
4569e7d
Provided an ability to select multiple arrow labels using ctrl/cmd ke…
melnikkk Jan 8, 2025
0bbbc9e
Fix lint. (#5182)
MitjaBezensek Jan 8, 2025
ab23d1d
Fix some video issues on the blog (#5171)
TodePond Jan 9, 2025
c422deb
remove huppy-bot (#5189)
SomeHats Jan 9, 2025
ed9c077
pass custom migrations to useLocalStore (#5135)
ds300 Jan 13, 2025
b4d10d9
Show quick actions panel above toolbar when not logged in. (#5180)
MitjaBezensek Jan 13, 2025
58beacd
[botcom] Translation tweaks (#5184)
steveruizok Jan 13, 2025
d9f1dbe
add latest strings (#5206)
mimecuvalo Jan 13, 2025
dd058c1
i18n: augment the list so that we hit the top 40 languages (#5208)
mimecuvalo Jan 13, 2025
888d6f3
i18n: rename two locale codes (#5212)
mimecuvalo Jan 14, 2025
09b6e25
Fixed a typo in quick-start.mdx (#5210)
onurmatik Jan 14, 2025
c5f3975
strings: rm some old ones, use nice apostrophes (#5213)
mimecuvalo Jan 14, 2025
c83a018
[botcom] Use clerk cookie to control routing (#5207)
ds300 Jan 14, 2025
e81e305
Allow slurping of legacy multiplayer routes. (#5181)
MitjaBezensek Jan 14, 2025
c44d4fe
send extra data to sentry properly (#5216)
ds300 Jan 15, 2025
1dda672
close sockets on 'close' event (#5214)
ds300 Jan 15, 2025
f9152df
[botcom] save document name on blur in side bar (#5217)
ds300 Jan 15, 2025
30b7333
fix clipboard file upload (#5223)
SomeHats Jan 16, 2025
bc46284
Set up posthog (#5220)
SomeHats Jan 16, 2025
7f52c14
worker debug logging (#5219)
ds300 Jan 17, 2025
8e5b287
improve cookie microcopy (#5229)
ds300 Jan 17, 2025
c45a05a
[botcom] don't broadcast mutation rejections (#5230)
ds300 Jan 20, 2025
9d96104
Added toast instead of throwing an error for the case when the amount…
melnikkk Jan 20, 2025
80294e6
error logging: add more context for errors (#5221)
mimecuvalo Jan 20, 2025
00b5ddf
i18n: fix download workflow (#5234)
mimecuvalo Jan 20, 2025
a5d0840
i18n: fix workflow perms (#5237)
mimecuvalo Jan 20, 2025
46ed9df
Always override session state on initial load (#5233)
ds300 Jan 20, 2025
9dece73
Rename files in window.prompt on mobile (#5236)
ds300 Jan 20, 2025
9624224
i18n: make sure we use ICU format in exports (#5239)
mimecuvalo Jan 20, 2025
5ed55f1
Exports DX pass (#5114)
SomeHats Jan 20, 2025
61db777
i18n: workaround Lokalise's broken plural system (#5242)
mimecuvalo Jan 21, 2025
e7a2203
Lokalise: Translations update (#5248)
TodePond Jan 21, 2025
37aeac1
i18n: fix up locale messup for lokalise (#5249)
mimecuvalo Jan 21, 2025
fa7c40c
Use localStorage instead of cookie to detect logged in state (#5251)
ds300 Jan 21, 2025
5049cd2
Use sign up button on /preview (#5252)
ds300 Jan 21, 2025
5c4b048
Asset uploads (#5218)
MitjaBezensek Jan 22, 2025
c860b35
Focus file input on create/duplicate (#5253)
ds300 Jan 22, 2025
a70cbfe
Remove unused env vars (#5260)
MitjaBezensek Jan 22, 2025
13943ae
Fix the blue text color on mobile (#5262)
MitjaBezensek Jan 23, 2025
3cf01fe
Improve focus mode button position and focus mode interaction with th…
MitjaBezensek Jan 23, 2025
16f0800
Welcome dialog for preview users (#5263)
ds300 Jan 23, 2025
5f514ab
botcom redirect + copy fix (#5264)
ds300 Jan 23, 2025
58ae248
Revert "botcom redirect + copy fix" (#5265)
ds300 Jan 23, 2025
908f004
fixes (#5266)
ds300 Jan 23, 2025
5d3e4a1
Fix sentry error (#5269)
MitjaBezensek Jan 23, 2025
1fd1056
Fix an issue with legacy assets not getting their urls changed when t…
MitjaBezensek Jan 23, 2025
7c5f960
Make the bottom padding the same as other ones. (#5271)
MitjaBezensek Jan 23, 2025
0d2df55
Prevent slurping for some cases. (#5272)
MitjaBezensek Jan 23, 2025
d0e779c
Use sign in instead of sign up. (#5268)
MitjaBezensek Jan 23, 2025
a736cb3
Move examples from CodeSandbox to StackBlitz (#5255)
steveruizok Jan 23, 2025
15e81d4
Fix url (#5276)
MitjaBezensek Jan 23, 2025
6723e18
fix bottom padding again (#5277)
ds300 Jan 23, 2025
e055e1a
Update link (#5278)
steveruizok Jan 23, 2025
0758b9a
hard code context id for dialogs (#5279)
ds300 Jan 24, 2025
4e8dbf1
Fix for resizing snapshot bug (#5211)
steveruizok Jan 24, 2025
09748bd
David/int 677 guests see slurp failure modal (#5280)
ds300 Jan 24, 2025
e6516a2
Style changing duration reduced from 2 to 1 second (#5158)
melnikkk Jan 25, 2025
a046fbc
Tooltip tweaks (#5287)
steveruizok Jan 26, 2025
da7502d
Update editor.mdx (#5286)
Cygra Jan 26, 2025
99db191
edit menu: don't disable if not in select tool (#5274)
mimecuvalo Jan 26, 2025
ac399b9
Move account menu side to end (#5288)
steveruizok Jan 26, 2025
40e7d63
[automated] update i18n strings (#5289)
github-actions[bot] Jan 27, 2025
b00da02
fix 2 bad translations from Lokalise (#5290)
mimecuvalo Jan 27, 2025
d3fdd78
e2e: fix tests now that it has a translations (#5297)
mimecuvalo Jan 28, 2025
d4f1bcb
i18n: fix more download script papercuts (#5294)
mimecuvalo Jan 28, 2025
1918a14
Revert "Fix for resizing snapshot bug (#5211)" (#5292)
mimecuvalo Jan 28, 2025
7a17cab
Add an onCrop handler to ShapeUtil (#5137)
trygve-aaberge-adsk Jan 28, 2025
4703b60
Fix an error when embed util is not present. (#5296)
MitjaBezensek Jan 28, 2025
0370480
Add editor option to allow sticky note resizing by scale (#5273)
steveruizok Jan 28, 2025
276d0a7
Use the uncropped width when requesting an image shape asset (#5300)
trygve-aaberge-adsk Jan 28, 2025
31edbb2
Prevent radix dialog warning (#5302)
ds300 Jan 28, 2025
d6f0beb
fix pasting text/plain with keyboard shortcut (#5303)
ds300 Jan 28, 2025
c5d6281
fix copy/export as PNG (#5304)
ds300 Jan 28, 2025
ab78258
post release backend error handling (#5306)
ds300 Jan 28, 2025
b53fbf4
Fix images in preview builds (#5309)
MitjaBezensek Jan 29, 2025
ff19d0d
Don't nullify cache (#5310)
ds300 Jan 29, 2025
cd98936
Cmd+click on active file opens in new tab (#5311)
ds300 Jan 29, 2025
092eed6
Fix line wobble issue (#5281)
jamesbvaughan Jan 29, 2025
29aefe4
Add `/new` route for file creation. (#5314)
MitjaBezensek Jan 29, 2025
98976db
fix: consider font style in text measuring (#5313)
ricardo-crespo Jan 29, 2025
d0d3a3c
tweak pricing copy (#5316)
SomeHats Jan 29, 2025
dbd1f56
Emit a before-event from Editor (#5319)
trygve-aaberge-adsk Jan 30, 2025
9b13f6b
separately export default external content/asset handlers (#5298)
SomeHats Jan 30, 2025
9eec0b3
support react 19 (#5293)
SomeHats Jan 30, 2025
74a6f82
Unify the menus (logged in vs not logged in). (#5322)
MitjaBezensek Jan 30, 2025
0d9e251
Fix the border around the guest icon in Safari (#5323)
MitjaBezensek Jan 30, 2025
490d299
Public preview opt-in (#5324)
ds300 Jan 30, 2025
591f26e
add analytics event for clicking the preview button (#5331)
ds300 Jan 30, 2025
31c9612
Disable rename dialog on file create on mobile (#5329)
ds300 Jan 30, 2025
fc0f484
Combined sign in/up for dotcom (#5325)
SomeHats Jan 30, 2025
ae1857b
prettier: reformat with new package updates (#5328)
mimecuvalo Jan 30, 2025
a6600c0
Fix vscode publishing. (#5327)
MitjaBezensek Jan 31, 2025
64e1b50
only accept socket connections when upgrade header is set (#5334)
ds300 Jan 31, 2025
da8c7dd
fix duplicating + publishing rooms with big snapshots (#5333)
ds300 Jan 31, 2025
2e22167
Make sure that pinned files don't take precedence. (#5335)
MitjaBezensek Jan 31, 2025
7d33670
Don't allow setting file name to null. Fix drag and drop import. (#5344)
MitjaBezensek Feb 3, 2025
32f617d
Add "select geo tool" shortcut (#5341)
steveruizok Feb 4, 2025
86aae29
Move to server side slurping. (#5348)
MitjaBezensek Feb 5, 2025
0aaab49
Fix tldr file upload (#5350)
ds300 Feb 5, 2025
5b59bb8
add a captureException to catch file.name not being defined (#5353)
ds300 Feb 5, 2025
4de301b
Add option to disable numbered shortcuts on the toolbar (#5340)
steveruizok Feb 5, 2025
0ec8b1e
make websocket bootstrap time much faster (#5351)
ds300 Feb 5, 2025
13edafe
Fix keyboard shortcut `1` not working for selecting the first tool (#…
MitjaBezensek Feb 5, 2025
d21c293
Only send once. (#5355)
MitjaBezensek Feb 5, 2025
de1f37f
Improve frame heading perf (#5357)
steveruizok Feb 6, 2025
8a11e00
Don't pass through mousewheel events on scrollable elements (#5356)
steveruizok Feb 6, 2025
591de9f
Add 'report a problem' dialog (#5359)
ds300 Feb 6, 2025
d24380a
better copy on feedback form (#5364)
ds300 Feb 6, 2025
2aae7f7
buffer posthog events submitted before posthog initializes (#5367)
ds300 Feb 6, 2025
1c89897
Commit the copy changes. (#5365)
MitjaBezensek Feb 6, 2025
59c5a9d
Fix dialog interactions. (#5366)
MitjaBezensek Feb 6, 2025
1d573ea
Landing page tweaks 2 (#5368)
steveruizok Feb 6, 2025
79f4a15
Fix dancing icons. (#5369)
MitjaBezensek Feb 6, 2025
7764274
Landing page text (#5372)
steveruizok Feb 6, 2025
5e1a868
Fix pricing and license links (#5370)
TodePond Feb 6, 2025
8c96638
Use tick for asset debounce (#5361)
steveruizok Feb 6, 2025
811fed7
dotdev: add hubspot tracking and cookie policy (#5373)
mimecuvalo Feb 6, 2025
1a9d688
Track tracking (#5377)
steveruizok Feb 7, 2025
fcad75f
Numeric shortcuts were still getting triggered when used inside some …
MitjaBezensek Feb 7, 2025
04c1c66
Fix local drafts (#5379)
steveruizok Feb 7, 2025
f50a5a2
Fix delete file + duplication tracking (#5381)
ds300 Feb 7, 2025
be65d36
Track user do cold start time on server side replicator (#5380)
MitjaBezensek Feb 7, 2025
66da91c
Make sure compiled localizations are up to date. (#5383)
MitjaBezensek Feb 7, 2025
dfac53c
add missing socket upgrade check (#5384)
ds300 Feb 7, 2025
8792d99
Improve published file experience (#5371)
ds300 Feb 7, 2025
3f23e0d
Shape options (#5349)
steveruizok Feb 7, 2025
fb23b0a
[automated] update i18n strings (#5395)
github-actions[bot] Feb 10, 2025
f1c6d1a
Dismiss the sidebar on mobile (after you select a file). (#5390)
MitjaBezensek Feb 10, 2025
8d4f5bf
Add dev env variable (makes the asset association work locally) (#5394)
MitjaBezensek Feb 10, 2025
517d808
Show errors when loading legacy multiplayer rooms and when logged in …
MitjaBezensek Feb 10, 2025
fec1c4b
Remove file delete route (#5398)
MitjaBezensek Feb 10, 2025
6e734d8
Make updates less frequent (#5397)
MitjaBezensek Feb 10, 2025
dcbfd19
yeet legacy pages into sun (#5385)
ds300 Feb 10, 2025
9ba9ef2
ShapeUtil.configure for shape options (#5399)
SomeHats Feb 10, 2025
aa9a874
Add more info to the log (#5403)
MitjaBezensek Feb 11, 2025
43410d6
Fix file permissions (#5400)
MitjaBezensek Feb 11, 2025
b78121f
Make sure we only allow asset uploads. (#5404)
MitjaBezensek Feb 11, 2025
7271b6d
temporarily disable idb deletion after successful slurp of local file…
ds300 Feb 11, 2025
355a415
Add is_signed_in property to posthog events (#5407)
ds300 Feb 11, 2025
c750a44
add create-user event (#5406)
ds300 Feb 11, 2025
7936253
Create a new stub each time (#5409)
MitjaBezensek Feb 11, 2025
47b4990
Move computation to where it is needed (#5413)
MitjaBezensek Feb 12, 2025
e04872a
use correct domain for app socket connection (#5414)
ds300 Feb 12, 2025
9ff4b63
Fix replicator event tracking. (#5415)
MitjaBezensek Feb 12, 2025
d14754c
Add tldraw and excalidraw to external content types (#5402)
SomeHats Feb 12, 2025
14f2fab
support dragging urls onto the canvas (#5411)
SomeHats Feb 12, 2025
c738f8c
Fix npm image. (#5418)
MitjaBezensek Feb 12, 2025
a5b9d92
Update CHANGELOG.md [skip ci]
huppy-bot[bot] Feb 12, 2025
88e8ddb
Add additional reboot info. (#5416)
MitjaBezensek Feb 13, 2025
bfbcedc
Secret local file index (#5419)
ds300 Feb 13, 2025
aab6d5c
Prevent renaming twice (#5426)
MitjaBezensek Feb 13, 2025
c44ee8d
fix svg image export mime type (#5427)
SomeHats Feb 13, 2025
115ffe5
Actively prune users. (#5425)
MitjaBezensek Feb 13, 2025
afd893c
Allow cmd-K to search docs from marketing pages of tldraw.dev (#5428)
SomeHats Feb 13, 2025
62899bc
Replace postgres.js pt 1 (#5430)
ds300 Feb 13, 2025
3096756
i18n: simplify string (#5443)
mimecuvalo Feb 17, 2025
2724c15
[automated] update i18n strings (#5444)
github-actions[bot] Feb 17, 2025
5faad0e
fix dotdev padding (#5446)
SomeHats Feb 17, 2025
3ec3ef7
Remove file creation route. (#5445)
MitjaBezensek Feb 17, 2025
b5cf4f2
Add dotcom checks that will serve for alerting (#5440)
MitjaBezensek Feb 17, 2025
2d7633f
Add link to developer survey (#5450)
steveruizok Feb 18, 2025
c5400ad
assets: fix up regression with temporaryAssetPreview (#5453)
mimecuvalo Feb 18, 2025
7507686
switch to pg-logical-replication (#5433)
ds300 Feb 19, 2025
5396d8c
Remove TLAppDurableObject (#5452)
MitjaBezensek Feb 19, 2025
7087024
Add backend check for max files (#5448)
MitjaBezensek Feb 19, 2025
3cbfbfc
Fix the share menu closing (#5459)
MitjaBezensek Feb 20, 2025
29a715b
retry slurping document records if need be (#5460)
ds300 Feb 21, 2025
a8c23d7
Deleted files improvements (#5465)
MitjaBezensek Feb 21, 2025
fae364b
Fix typo and missing word (#5464)
mootari Feb 21, 2025
ffd9909
Add sidebar context menu (#5461)
MitjaBezensek Feb 21, 2025
6fd4836
[hotfixme] Option-cloning text shapes (#5470)
steveruizok Feb 23, 2025
1f179c7
[botcom] Only prune the users that haven't been active for 10 minutes…
MitjaBezensek Feb 24, 2025
1e80884
i18n: if no new strings, just exit (#5484)
mimecuvalo Feb 24, 2025
f6f7a7c
fix copy as svg mime type (#5482)
SomeHats Feb 24, 2025
b2e9147
Fix tooltips. (#5485)
MitjaBezensek Feb 25, 2025
6beea33
Fix safari tooltip arrow appears late (#5486)
MitjaBezensek Feb 25, 2025
c8a1426
Use a sprite for our dotcom icons. (#5483)
MitjaBezensek Feb 25, 2025
811b888
Consider `https://localhost` to be development (#5471)
jamesbvaughan Feb 25, 2025
a3bcb05
Add analytics to examples site (#5491)
TodePond Feb 25, 2025
54d69f8
Landing page fixes (#5492)
steveruizok Feb 25, 2025
8171755
Remove canvas size dependency (#5488)
steveruizok Feb 25, 2025
d799df2
Fix text padding, add context to shape geometry (#5487)
steveruizok Feb 25, 2025
54b645d
Improve / fix layout methods: alignment, distribute, flip, stack. (#5…
steveruizok Feb 25, 2025
d260c3b
icons: followup to add crossorigin (#5498)
mimecuvalo Feb 25, 2025
7bd13be
[botcom] Fix slow export menu in big files (#5435)
steveruizok Feb 25, 2025
47d3290
[dotcom] hide watermark in focus mode (#5410)
ds300 Feb 25, 2025
d81de7f
SEO keywords / description for dotcom (#5499)
steveruizok Feb 25, 2025
ce9ba0a
Improve triggers and hopefully fix an issue with deadlocks (#5501)
MitjaBezensek Feb 26, 2025
952d027
Use vite to load the assets (#5490)
MitjaBezensek Feb 26, 2025
fd353fd
getImageSize: Fix inaccurate PNG image width height calculation by us…
xmliszt Feb 26, 2025
b670314
Add `AtomMap` & refactor store (#5496)
SomeHats Feb 26, 2025
4261d7f
Update discord links (#5500)
TodePond Feb 26, 2025
ffd7061
Stabilize useSync invocation (#5512)
ds300 Feb 27, 2025
6f51d92
Docs improvements, add FAQ to repo. (#5514)
steveruizok Feb 27, 2025
ef20f73
Fix file dropdown crashing the app on slow connections (#5510)
MitjaBezensek Feb 27, 2025
4c1a7f4
Fix issue with duplicating bound arrows. (#5495)
MitjaBezensek Feb 27, 2025
c83fea5
no reboot user data on deploy (#5497)
ds300 Feb 28, 2025
62f760f
icons: add crossorigin property for the new sprite loading (#5519)
mimecuvalo Feb 28, 2025
58dea67
Admin UI + backend fixes (#5520)
ds300 Feb 28, 2025
8339b14
Use a deep link (#5521)
MitjaBezensek Feb 28, 2025
74380a3
Do hard deletes reactively (#5522)
ds300 Feb 28, 2025
df25abd
fix file extension for downloads (#5523)
ds300 Mar 3, 2025
a499f75
disable full-fat copy-as-svg on chrome (#5524)
ds300 Mar 3, 2025
62dce36
Fix guest files. (#5530)
MitjaBezensek Mar 3, 2025
8d62b8f
Filter out deleted files when doing the max file check on the BE (#5529)
MitjaBezensek Mar 3, 2025
b2b5d6e
pull writing image/svg to clipboard (#5533)
SomeHats Mar 3, 2025
21c2f94
Update CHANGELOG.md [skip ci]
huppy-bot[bot] Mar 3, 2025
d4dfa96
Pass userId to collaboration components (#5534)
MathieuLoutre Mar 3, 2025
3bf3100
[feature] add rich text and contextual toolbar (#4895)
mimecuvalo Mar 3, 2025
15f6aaa
Add a tests for guest files (#5531)
MitjaBezensek Mar 4, 2025
e5f41d0
remove import from core-js (#5544)
bluedot74 Mar 4, 2025
40e4713
fix pasting files in safari (#5545)
bluedot74 Mar 4, 2025
e63bcd4
algolia: add analytics (#5549)
mimecuvalo Mar 4, 2025
407ba01
Make collaboration hooks public (#5541)
MathieuLoutre Mar 4, 2025
3176429
[automated] update i18n strings (#5550)
github-actions[bot] Mar 4, 2025
a2bad38
media: extract base64 assets from .tldr files (#5525)
mimecuvalo Mar 4, 2025
b615d6d
fix: prevent text duplication when using IME with Enter key in Chrome…
banqinghe Mar 4, 2025
2f56f23
Revert "Revert "Fix for resizing snapshot bug (#5211)" (#5292)" (#5553)
mimecuvalo Mar 4, 2025
7df0a29
Make better use of replicator history (#5532)
ds300 Mar 4, 2025
c661dfe
setup pgbouncer for local dev (fix flaky e2e tests?) (#5548)
ds300 Mar 4, 2025
ce89395
[important dotcom perf fix] use useMaybeEditor in ui context (#5560)
ds300 Mar 5, 2025
fcd4fb2
[dotcom] fix data leaking between preview branches (#5562)
ds300 Mar 6, 2025
863de42
fix reparentshapes preserve order (#5565)
dodo-Riley Mar 6, 2025
12c0cb0
Add some randomness to prevent this happening in sync for online user…
MitjaBezensek Mar 6, 2025
b24ecf6
rich text: fix links getting in the way of some tools and android sel…
mimecuvalo Mar 6, 2025
4f428f8
Migrate newsletter form to hubspot (#5557)
MitjaBezensek Mar 6, 2025
80b7046
i18n: add validation and auto-placing of orders (#5536)
mimecuvalo Mar 6, 2025
8ddadf1
i18n: fix up latest upload pipeline missing env vars (#5571)
mimecuvalo Mar 6, 2025
2d4127d
Fix trailing single quote in docs (#5556)
lorenzolewis Mar 6, 2025
2544e84
Display BrokenAssetIcon when file upload fails (#5552)
mimecuvalo Mar 6, 2025
d339051
Whats new blog post (#5573)
TodePond Mar 6, 2025
6802234
Fixes to the new blog post (#5575)
TodePond Mar 6, 2025
bb4f435
Fix broken people menu (#5579)
steveruizok Mar 7, 2025
3c084a7
Fix broken docs sidebar link (#5578)
lorenzolewis Mar 7, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix images in preview builds (tldraw#5309)
Fix an issue with file uploads not working on preview builds (when
logged in).

### Change type

- [x] `bugfix`
- [ ] `improvement`
- [ ] `feature`
- [ ] `api`
- [ ] `other`

### Release notes

- Fix an issue with file uploads not working on preview builds.
  • Loading branch information
MitjaBezensek authored Jan 29, 2025
commit b53fbf400e09d17918301336bff2457dc3edc403
5 changes: 4 additions & 1 deletion internal/scripts/deploy-dotcom.ts
Original file line number Diff line number Diff line change
@@ -252,6 +252,9 @@ async function deployTlsyncWorker({ dryRun }: { dryRun: boolean }) {
let didUpdateImageResizeWorker = false
async function deployImageResizeWorker({ dryRun }: { dryRun: boolean }) {
const workerId = `${previewId ?? env.TLDRAW_ENV}-tldraw-image-optimizer`
const multiplayerServer = previewId
? `${previewId}-preview-deploy.tldraw.com`
: env.MULTIPLAYER_SERVER
if (previewId && !didUpdateImageResizeWorker) {
await setWranglerPreviewConfig(imageResize, {
name: workerId,
@@ -271,7 +274,7 @@ async function deployImageResizeWorker({ dryRun }: { dryRun: boolean }) {
vars: {
TLDRAW_ENV: env.TLDRAW_ENV,
WORKER_NAME: workerId,
MULTIPLAYER_SERVER: env.MULTIPLAYER_SERVER,
MULTIPLAYER_SERVER: multiplayerServer,
},
})
}