3ae48af67c
This PR starts putting in place the high-level changes we want to make to the docs site. - It makes separate sections for Reference and Examples and Community. - Gets rid of the secondary sidebar and integrates it into the main sidebar. - Groups the reference articles by type. - Pulls in the examples alongside code and a live playground so people don't have to visit examples.tldraw.com separately. <img width="1458" alt="Screenshot 2024-01-30 at 09 43 46" src="https://github.com/tldraw/tldraw/assets/469604/4f5aa339-3a69-4d9b-9b9f-dfdddea623e8"> Again, this is the top-level changes and there's more to be done for the next PR(s): - create quick start page - clean up installation page - add accordion to Examples page prbly - put fun stuff in header (from footer) - landing page - something for landing page of API - search cmd-k and border - cleanup _sidebarReferenceContentLinks - external links _blank - address potential skew issue with code examples - have a link to other examples (next.js, etc.) ### Change Type - [x] `documentation` — Changes to the documentation only[^2] ### Test Plan 1. Make sure examples work! ### Release Notes - Rework our docs site to pull together the examples app and reference section more cohesively. --------- Co-authored-by: Taha <98838967+Taha-Hassan-Git@users.noreply.github.com> Co-authored-by: Steve Ruiz <steveruizok@gmail.com> Co-authored-by: Mitja Bezenšek <mitja.bezensek@gmail.com> Co-authored-by: alex <alex@dytry.ch> Co-authored-by: Lu Wilson <l2wilson94@gmail.com> Co-authored-by: Dan Groshev <git@dgroshev.com>
115 lines
No EOL
5.6 KiB
Text
115 lines
No EOL
5.6 KiB
Text
---
|
|
title: v2.0.0-alpha.14
|
|
description: Examples
|
|
author: tldraw
|
|
date: 7/4/2023
|
|
order: 7
|
|
status: published
|
|
---
|
|
|
|
[View on GitHub](https://github.com/tldraw/tldraw/releases/tag/v2.0.0-alpha.14)
|
|
|
|
|
|
#### Disable styles panel button on mobile when using the laser tool. ([#1704](https://github.com/tldraw/tldraw/pull/1704))
|
|
|
|
- Disable the styles panel button for laser tool on mobile.
|
|
|
|
#### remove lock option from highlighter ([#1703](https://github.com/tldraw/tldraw/pull/1703))
|
|
|
|
- We no longer show the tool lock option for highlighter - it didn't do anything anyway
|
|
|
|
#### [fix] penmode ([#1698](https://github.com/tldraw/tldraw/pull/1698))
|
|
|
|
- [fix] pen mode
|
|
|
|
#### Update readme ([#1686](https://github.com/tldraw/tldraw/pull/1686))
|
|
|
|
- Documentation: Updated readme to reflect recent library changes.
|
|
|
|
#### [docs] Fix the types in the Shapes example ([#1681](https://github.com/tldraw/tldraw/pull/1681))
|
|
|
|
- Documentation: Fix some incorrect types on the Shapes page.
|
|
|
|
#### [improvement] More nuanced cursor state ([#1682](https://github.com/tldraw/tldraw/pull/1682))
|
|
|
|
- Improve cursor timeouts and hiding logic.
|
|
|
|
#### Fix VS Code commits failing on bublic? ([#1680](https://github.com/tldraw/tldraw/pull/1680))
|
|
|
|
- [internal] fixed commits failing from bublic when using UI
|
|
|
|
#### [fix] Lock shortcut ([#1677](https://github.com/tldraw/tldraw/pull/1677))
|
|
|
|
- [@tldraw/editor] Fix lock tool shortcut
|
|
|
|
#### [fix] comma keyboard shortcuts ([#1675](https://github.com/tldraw/tldraw/pull/1675))
|
|
|
|
- [@tldraw/editor] Bug fixes on document events.
|
|
|
|
#### [improvement] add box sizing border box ([#1674](https://github.com/tldraw/tldraw/pull/1674))
|
|
|
|
- [@tldraw/editor] Add `box-sizing: border-box` to `tl-container`
|
|
|
|
#### [improvemnet] drop crc, Buffer dependency ([#1673](https://github.com/tldraw/tldraw/pull/1673))
|
|
|
|
- [@tldraw/editor] Remove peer dependency on buffer.
|
|
|
|
#### [improvement] export scribble manager ([#1671](https://github.com/tldraw/tldraw/pull/1671))
|
|
|
|
- [@tldraw/tldraw] Export `ScribbleManager`
|
|
|
|
#### [feature] add `meta` property to records ([#1627](https://github.com/tldraw/tldraw/pull/1627))
|
|
|
|
- todo
|
|
|
|
#### [fix] mutating `snapshot` in `migrateStoreSnapshot` ([#1663](https://github.com/tldraw/tldraw/pull/1663))
|
|
|
|
- [@tldraw/store] Fixed a bug that would cause `Store.migrateStoreSnapshot` to mutate its `snapshot` argument.
|
|
|
|
---
|
|
|
|
#### 🚀 Enhancement
|
|
|
|
- `@tldraw/editor`
|
|
- [improvement] More nuanced cursor state [#1682](https://github.com/tldraw/tldraw/pull/1682) ([@steveruizok](https://github.com/steveruizok))
|
|
- [improvement] export scribble manager [#1671](https://github.com/tldraw/tldraw/pull/1671) ([@steveruizok](https://github.com/steveruizok))
|
|
- `@tldraw/editor`, `@tldraw/file-format`, `@tldraw/tlschema`, `@tldraw/ui`, `@tldraw/utils`, `@tldraw/validate`
|
|
- [feature] add `meta` property to records [#1627](https://github.com/tldraw/tldraw/pull/1627) ([@steveruizok](https://github.com/steveruizok))
|
|
|
|
#### 🐛 Bug Fix
|
|
|
|
- Lokalise: Translations update [#1694](https://github.com/tldraw/tldraw/pull/1694) ([@TodePond](https://github.com/TodePond))
|
|
- `@tldraw/ui`
|
|
- Disable styles panel button on mobile when using the laser tool. [#1704](https://github.com/tldraw/tldraw/pull/1704) ([@MitjaBezensek](https://github.com/MitjaBezensek))
|
|
- remove lock option from highlighter [#1703](https://github.com/tldraw/tldraw/pull/1703) ([@SomeHats](https://github.com/SomeHats))
|
|
- [fix] Lock shortcut [#1677](https://github.com/tldraw/tldraw/pull/1677) ([@steveruizok](https://github.com/steveruizok))
|
|
- `@tldraw/editor`
|
|
- [fix] penmode [#1698](https://github.com/tldraw/tldraw/pull/1698) ([@steveruizok](https://github.com/steveruizok))
|
|
- [fix] indicator not updating [#1696](https://github.com/tldraw/tldraw/pull/1696) ([@steveruizok](https://github.com/steveruizok))
|
|
- [fix] comma keyboard shortcuts [#1675](https://github.com/tldraw/tldraw/pull/1675) ([@steveruizok](https://github.com/steveruizok))
|
|
- [improvement] add box sizing border box [#1674](https://github.com/tldraw/tldraw/pull/1674) ([@steveruizok](https://github.com/steveruizok))
|
|
- [improvemnet] drop crc, Buffer dependency [#1673](https://github.com/tldraw/tldraw/pull/1673) ([@steveruizok](https://github.com/steveruizok))
|
|
- [fix] Shape rendering [#1670](https://github.com/tldraw/tldraw/pull/1670) ([@steveruizok](https://github.com/steveruizok))
|
|
- `@tldraw/state`
|
|
- [fix] rename `global` in @tldraw/state to avoid collissions [#1672](https://github.com/tldraw/tldraw/pull/1672) ([@steveruizok](https://github.com/steveruizok))
|
|
- `@tldraw/store`
|
|
- [fix] mutating `snapshot` in `migrateStoreSnapshot` [#1663](https://github.com/tldraw/tldraw/pull/1663) ([@steveruizok](https://github.com/steveruizok))
|
|
|
|
#### 🏠 Internal
|
|
|
|
- [infra] use huppy token for publish-new [#1687](https://github.com/tldraw/tldraw/pull/1687) ([@ds300](https://github.com/ds300))
|
|
- Fix VS Code commits failing on bublic? [#1680](https://github.com/tldraw/tldraw/pull/1680) ([@TodePond](https://github.com/TodePond))
|
|
|
|
#### 📝 Documentation
|
|
|
|
- Update readme [#1686](https://github.com/tldraw/tldraw/pull/1686) ([@TodePond](https://github.com/TodePond))
|
|
- [docs] Update multiple test [#1685](https://github.com/tldraw/tldraw/pull/1685) ([@steveruizok](https://github.com/steveruizok))
|
|
- [docs] Fix the types in the Shapes example [#1681](https://github.com/tldraw/tldraw/pull/1681) ([@TodePond](https://github.com/TodePond))
|
|
|
|
#### Authors: 5
|
|
|
|
- alex ([@SomeHats](https://github.com/SomeHats))
|
|
- David Sheldrick ([@ds300](https://github.com/ds300))
|
|
- Lu Wilson ([@TodePond](https://github.com/TodePond))
|
|
- Mitja Bezenšek ([@MitjaBezensek](https://github.com/MitjaBezensek))
|
|
- Steve Ruiz ([@steveruizok](https://github.com/steveruizok)) |