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>
110 lines
No EOL
5.9 KiB
Text
110 lines
No EOL
5.9 KiB
Text
---
|
|
title: v2.0.0-alpha.17
|
|
description: Examples
|
|
author: tldraw
|
|
date: 10/17/2023
|
|
order: 4
|
|
status: published
|
|
---
|
|
|
|
[View on GitHub](https://github.com/tldraw/tldraw/releases/tag/v2.0.0-alpha.17)
|
|
|
|
|
|
#### Firefox, Touch: Fix not being able to open style dropdowns ([#2092](https://github.com/tldraw/tldraw/pull/2092))
|
|
|
|
- Firefox Mobile: Fixed a bug where you couldn't open some style dropdown options.
|
|
|
|
#### Add timestamp to file names ([#2096](https://github.com/tldraw/tldraw/pull/2096))
|
|
|
|
- Add timestamp to exported image file names
|
|
|
|
#### [fix] Context menu + menus not closing correctly ([#2086](https://github.com/tldraw/tldraw/pull/2086))
|
|
|
|
- [fix] bug with menus
|
|
|
|
#### Fix not being able to upload massive images ([#2095](https://github.com/tldraw/tldraw/pull/2095))
|
|
|
|
- Fixed big images being too big to get added to the canvas.
|
|
|
|
#### fix cropped image size ([#2097](https://github.com/tldraw/tldraw/pull/2097))
|
|
|
|
- Fixes a rendering issue where cropped images were sometimes bleeding outside their bounds.
|
|
|
|
#### Add offline indicator (also to top zone example) ([#2083](https://github.com/tldraw/tldraw/pull/2083))
|
|
|
|
- [@tldraw/tldraw] add offline indicator to ui components
|
|
|
|
#### [fix] missing border on group shape when unlocked ([#2075](https://github.com/tldraw/tldraw/pull/2075))
|
|
|
|
- Fix case where indicator was not shown when unlocking groups
|
|
|
|
#### [fix] reparenting locked shapes ([#2070](https://github.com/tldraw/tldraw/pull/2070))
|
|
|
|
- Fix a bug where grouped locked shapes would be deleted when ungrouped.
|
|
|
|
#### [fix] Don't select locked shapes on pointer up ([#2069](https://github.com/tldraw/tldraw/pull/2069))
|
|
|
|
- Fix bug where locked shape could be selected by clicking on its label
|
|
|
|
#### [fix] locked shape of opacity problem with eraser.pointing ([#2073](https://github.com/tldraw/tldraw/pull/2073))
|
|
|
|
- locked shape of opacity problem with eraser.pointing
|
|
Before/after:
|
|
![A](https://github.com/tldraw/tldraw/assets/59823089/7483506c-72ac-45cc-93aa-f2a794ea8ff0) ![B](https://github.com/tldraw/tldraw/assets/59823089/ef0f988c-83f5-46a2-b891-0a391bca2f87)
|
|
|
|
---
|
|
|
|
#### 🚀 Enhancement
|
|
|
|
- `@tldraw/assets`, `@tldraw/tldraw`
|
|
- Add offline indicator (also to top zone example) [#2083](https://github.com/tldraw/tldraw/pull/2083) ([@steveruizok](https://github.com/steveruizok))
|
|
- `@tldraw/tldraw`
|
|
- Add data breakpoint to layout css [#2076](https://github.com/tldraw/tldraw/pull/2076) ([@steveruizok](https://github.com/steveruizok))
|
|
- `@tldraw/tldraw`, `@tldraw/tlschema`
|
|
- Same first page id for all editors [#2071](https://github.com/tldraw/tldraw/pull/2071) ([@steveruizok](https://github.com/steveruizok))
|
|
|
|
#### 🐛 Bug Fix
|
|
|
|
- `@tldraw/tldraw`
|
|
- Firefox, Touch: Fix not being able to open style dropdowns [#2092](https://github.com/tldraw/tldraw/pull/2092) ([@TodePond](https://github.com/TodePond))
|
|
- Add timestamp to file names [#2096](https://github.com/tldraw/tldraw/pull/2096) ([@Taha-Hassan-Git](https://github.com/Taha-Hassan-Git))
|
|
- move imports [#2099](https://github.com/tldraw/tldraw/pull/2099) ([@SomeHats](https://github.com/SomeHats))
|
|
- Fix not being able to upload massive images [#2095](https://github.com/tldraw/tldraw/pull/2095) ([@TodePond](https://github.com/TodePond))
|
|
- fix cropped image size [#2097](https://github.com/tldraw/tldraw/pull/2097) ([@ds300](https://github.com/ds300))
|
|
- Fixed a bug checking translated string keys [#2082](https://github.com/tldraw/tldraw/pull/2082) ([@kewell-tsao](https://github.com/kewell-tsao))
|
|
- [fix] Don't select locked shapes on pointer up [#2069](https://github.com/tldraw/tldraw/pull/2069) ([@steveruizok](https://github.com/steveruizok))
|
|
- [fix] locked shape of opacity problem with eraser.pointing [#2073](https://github.com/tldraw/tldraw/pull/2073) ([@momenthana](https://github.com/momenthana))
|
|
- `@tldraw/editor`, `@tldraw/tldraw`
|
|
- [fix] Context menu + menus not closing correctly [#2086](https://github.com/tldraw/tldraw/pull/2086) ([@steveruizok](https://github.com/steveruizok))
|
|
- [fix] reparenting locked shapes [#2070](https://github.com/tldraw/tldraw/pull/2070) ([@steveruizok](https://github.com/steveruizok))
|
|
- `@tldraw/editor`
|
|
- [fix] remove findLast calls [#2081](https://github.com/tldraw/tldraw/pull/2081) ([@steveruizok](https://github.com/steveruizok))
|
|
- [fix] missing border on group shape when unlocked [#2075](https://github.com/tldraw/tldraw/pull/2075) ([@steveruizok](https://github.com/steveruizok))
|
|
- Compact children when updating parents to children. [#2072](https://github.com/tldraw/tldraw/pull/2072) ([@steveruizok](https://github.com/steveruizok))
|
|
|
|
#### 🏠 Internal
|
|
|
|
- Fix ExplodedExample.tsx [#2068](https://github.com/tldraw/tldraw/pull/2068) ([@antmoux](https://github.com/antmoux) [@steveruizok](https://github.com/steveruizok))
|
|
- Update VS Code extension 2.0.13 [#2066](https://github.com/tldraw/tldraw/pull/2066) ([@MitjaBezensek](https://github.com/MitjaBezensek))
|
|
|
|
#### 🧪 Tests
|
|
|
|
- Only upload playwright to S3 if we have the right credentials [#2074](https://github.com/tldraw/tldraw/pull/2074) ([@SomeHats](https://github.com/SomeHats) [@steveruizok](https://github.com/steveruizok))
|
|
- Cache playwright browsers. [#2067](https://github.com/tldraw/tldraw/pull/2067) ([@MitjaBezensek](https://github.com/MitjaBezensek))
|
|
|
|
#### 🔩 Dependency Updates
|
|
|
|
- `@tldraw/editor`, `@tldraw/store`, `@tldraw/tlschema`
|
|
- bump nanoid [#2078](https://github.com/tldraw/tldraw/pull/2078) ([@ds300](https://github.com/ds300))
|
|
|
|
#### Authors: 9
|
|
|
|
- alex ([@SomeHats](https://github.com/SomeHats))
|
|
- antonio moura ([@antmoux](https://github.com/antmoux))
|
|
- David Sheldrick ([@ds300](https://github.com/ds300))
|
|
- Hana ([@momenthana](https://github.com/momenthana))
|
|
- Kewell ([@kewell-tsao](https://github.com/kewell-tsao))
|
|
- Lu Wilson ([@TodePond](https://github.com/TodePond))
|
|
- Mitja Bezenšek ([@MitjaBezensek](https://github.com/MitjaBezensek))
|
|
- Steve Ruiz ([@steveruizok](https://github.com/steveruizok))
|
|
- Taha ([@Taha-Hassan-Git](https://github.com/Taha-Hassan-Git)) |