tldraw / tldraw

SDK for creating whiteboards and canvas experiences on the web.
https://tldraw.dev
Other
33.4k stars 1.99k forks source link

1.0.0 #267

Closed steveruizok closed 2 years ago

steveruizok commented 2 years ago

This PR removes all sponsorware and related restrictions from the app. Any visitor can now access any part of the app, including multiplayer rooms, whether or not they are a sponsor.

In order to keep the party going, I've added a link to the menu to the sponsorship page.

image

Logged in and sponsoring users will see:

image

This is optional on the TLDraw component via showSponsorLink. Setting this prop to false will show the same view as the sponsoring users will see.

The PR also includes a button to create a new multiplayer room.

vercel[bot] commented 2 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/steveruiz/tldraw/772x4nfFXKNccBDMe3Lxn1icv4Mj
✅ Preview: https://tldraw-git-unlock-main-app-steveruiz.vercel.app

steveruizok commented 2 years ago

This PR has become a kind of catch-all for last-minute issues. So far, these include:

Proful commented 2 years ago

Pressure sensitivity in pencil tool disabled?

06-pencil-pressure

Proful commented 2 years ago

There are 2 delete button. Functionality seems same? image

Proful commented 2 years ago

As it is wip, so u may be working on lock/unlock functionality. Still below is my observation (lock/unlock not working as expected)

07-lock-unlock

Proful commented 2 years ago

Apart from pencil tool, other tools are switching back to 'select' tool

08-switching tools

steveruizok commented 2 years ago

There are 2 delete button. Functionality seems same? image

Yep, good spot. I don't have a replacement for the trash icon in the menu yet.

We also only really need to show the menu / delete button when using the select tool. Maybe an animation there?

steveruizok commented 2 years ago

Apart from pencil tool, other tools are switching back to 'select' tool

08-switching tools

This is correct behavior. I've added the ability to "lock" a shape by double clicking the tool's icon, so that it doesn't return to the select tool, but there's no UI yet to tell you that it's locked.

The only tools that don't do this are the pencil / eraser.

steveruizok commented 2 years ago

As it is wip, so u may be working on lock/unlock functionality. Still below is my observation (lock/unlock not working as expected)

07-lock-unlock

So the lock tool is going to take some more work to get right. Part of the reason to lock a shape is to prevent it from being accidentally modified or selection. At the moment you can select a locked shape by double clicking it.

steveruizok commented 2 years ago

Whew, lots of new stuff in the PR.

Improved action menu

image

Improved Style Menu

image

Shape Locked Indicator

Double tab an icon to lock that shape. Only works for rects / ellipses / arrows at the moment.

image

Fixes to Pasted Text

Applied formatting fixes from sticky notes to text shapes.

image

Improves Dark Mode Colors

image

Misc

Proful commented 2 years ago

Apart from pencil tool, other tools are switching back to 'select' tool 08-switching tools

This is correct behavior. I've added the ability to "lock" a shape by double clicking the tool's icon, so that it doesn't return to the select tool, but there's no UI yet to tell you that it's locked.

The only tools that don't do this are the pencil / eraser.

Apart from pencil tool, other tools are switching back to 'select' tool 08-switching tools

This is correct behavior. I've added the ability to "lock" a shape by double clicking the tool's icon, so that it doesn't return to the select tool, but there's no UI yet to tell you that it's locked.

The only tools that don't do this are the pencil / eraser.

Screenshot_20211119_050050