tldraw/apps/examples/e2e/tests
Mime Čuvalo 69a1c17b46
sdk: wires up tldraw to have licensing mechanisms (#4021)
For non-commercial usage of tldraw, this adds a watermark in the corner,
both for branding purposes and as an incentive for our enterprise
customers to purchase a license.

For commercial usage of tldraw, you add a license to the `<Tldraw
licenseKey={YOUR_LICENSE_KEY} />` component so that the watermark
doesn't show.

The license is a signed key that has various bits of information in it,
such as:
- license type
- hosts that the license is valid for
- whether it's an internal-only license
- expiry date

We check the license on load and show a watermark (or throw an error if
internal-only) if the license is not valid in a production environment.

This is a @MitjaBezensek, @Taha-Hassan-Git, @mimecuvalo joint
production! 🤜 🤛

### Change Type

<!--  Please select a 'Scope' label ️ -->

- [x] `sdk` — Changes the tldraw SDK
- [ ] `dotcom` — Changes the tldraw.com web app
- [ ] `docs` — Changes to the documentation, examples, or templates.
- [ ] `vs code` — Changes to the vscode plugin
- [ ] `internal` — Does not affect user-facing stuff

<!--  Please select a 'Type' label ️ -->

- [ ] `bugfix` — Bug fix
- [x] `feature` — New feature
- [ ] `improvement` — Improving existing features
- [ ] `chore` — Updating dependencies, other boring stuff
- [ ] `galaxy brain` — Architectural changes
- [ ] `tests` — Changes to any test code
- [ ] `tools` — Changes to infrastructure, CI, internal scripts,
debugging tools, etc.
- [ ] `dunno` — I don't know


### Test Plan

1. We will be dogfooding on staging.tldraw.com and tldraw.com itself
before releasing this.

### Release Notes

- SDK: wires up tldraw to have licensing mechanisms.

---------

Co-authored-by: Mitja Bezenšek <mitja.bezensek@gmail.com>
Co-authored-by: Taha <98838967+Taha-Hassan-Git@users.noreply.github.com>
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2024-07-11 11:49:18 +00:00
..
export-snapshots.spec.ts-snapshots Fix fog of war (#4031) 2024-06-28 09:04:47 +00:00
fixtures Force interface instead of type for better docs (#3815) 2024-05-22 15:55:49 +00:00
test-canvas-events.spec.ts-snapshots Replace Atom.value with Atom.get() (#2189) 2023-11-13 11:51:22 +00:00
export-snapshots.spec.ts [Experiment] Allow users to use system's appearance (dark / light) mode (#3703) 2024-06-17 14:46:04 +00:00
test-actions-menu.spec.ts Adding a single E2E test per menu (#2954) 2024-02-29 13:21:10 +00:00
test-api.spec.ts Fix jpg export and tests (#3198) 2024-03-18 15:08:09 +00:00
test-camera.spec.ts test: disable camera pinch test for now, too flaky (#3854) 2024-05-31 09:10:04 +00:00
test-canvas-events.spec.ts Input buffering (#3223) 2024-04-02 14:29:14 +00:00
test-clipboard.spec.ts tldraw_final_v6_final(old version).docx.pdf (#2998) 2024-02-29 16:06:19 +00:00
test-context-menu.spec.ts Adding a single E2E test per menu (#2954) 2024-02-29 13:21:10 +00:00
test-focus.spec.ts tests: ugh edit->edit still flaky, skip (#3919) 2024-06-11 12:39:19 +00:00
test-kbds.spec.ts [Experiment] Allow users to use system's appearance (dark / light) mode (#3703) 2024-06-17 14:46:04 +00:00
test-main-menu.spec.ts Adding a single E2E test per menu (#2954) 2024-02-29 13:21:10 +00:00
test-navigation-panel.spec.ts Adding a single E2E test per menu (#2954) 2024-02-29 13:21:10 +00:00
test-page-menu.spec.ts Adding a single E2E test per menu (#2954) 2024-02-29 13:21:10 +00:00
test-routes.spec.ts PDF editor example (#3159) 2024-03-19 11:55:21 +00:00
test-shapes.spec.ts Add heart geo shape (#3787) 2024-05-24 13:04:28 +00:00
test-smoke.spec.ts tldraw_final_v6_final(old version).docx.pdf (#2998) 2024-02-29 16:06:19 +00:00
test-style-panel.spec.ts tldraw_final_v6_final(old version).docx.pdf (#2998) 2024-02-29 16:06:19 +00:00
test-text.spec.ts Stickies: release candidate (#3249) 2024-04-14 18:40:02 +00:00
test-toolbar.spec.ts E2E Style Panel Tests (#2878) 2024-02-23 14:37:15 +00:00