Commit graph

1749 commits

Author SHA1 Message Date
Marcus Stenbeck
564dcf7757
Create Swedish translation (#899)
* Create Swedish translation

* Add Swedish translation to translations.json

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-08-11 07:26:43 +01:00
Gwenaël Gallon
25f39a65fc
Chore: update and optimize turbo (#885)
* Update turbo to latest

* Update turbo.json

* The --stream flag has been deprecated

* Remove unused start:all

* build:packages -> use new --filter

* build:apps -> use new --filter

* build:www -> use new --filter

* build:core -> use new --filter

* build -> fix tldraw-example dependencies

* Optimize test* and lint

* start & start:core -> use new --filter

* start:electron -> use new --filter

* Remove unused start:apps

* Update turbo.json

* Caching ESLint

See Pro Tip : https://turborepo.org/docs/core-concepts/caching#configuring-cache-outputs

* Optimize test:watch

* start:www -> use new filter

* start:vscode -> use new filter

* Update build:core

* Optimize start and start:core

* Clean build:core

* Remove unused command

* Revert "Merge branch 'main' into chore/update-turbo"

This reverts commit a481c242054504c9b8452822df8c452c24bcdfbd, reversing
changes made to a0f2f337b3d00974741effd4faae699ce493d3a2.

* Update start:electron

* Remove unused deploy in turbo.json

* Add start:extension

* Add package:electron and package:vscode

* Add publish:vscode

* Revet Revert: revert "Merge branch 'main' into chore/update-turbo"

* Update vscode extension build

* Clean tldraw-example tsconfig.json

* Uniform script commands

* Fix start for www

* remove mention of removed packages

* add build:core

* Add force to build step

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-08-11 07:08:32 +01:00
Steve Ruiz
d5639f696a update yarn.lock, clean some deps 2022-08-10 01:00:42 +01:00
Rozstone
9923030a0a
More cn translations (#889)
* add more cn translations

* add i18 for 'Image' tooltip

* fix typo
2022-08-10 00:29:23 +01:00
Steve Ruiz
a0007142e0
[chore] epic purge (#893)
* remove extension / electron app

* switch examples to vite

* Update licenses

* Add script

* fix titles
2022-08-10 00:18:59 +01:00
Gwenaël Gallon
429a1c5ffc
Chore: command format prettier run, yarn workspace run, build run ! (#882)
* Add custom package without @babel dependencies

The @ggallon/prettier-plugin-sort-imports@^3.4.2-canary.0" have only peer dependencies

* Update .prettierignore
2022-08-08 10:34:47 +01:00
Judicael
6b023ee596
fix: text shape in svg (#886) 2022-08-06 13:41:42 +01:00
Judicael
c527e0547b
fix pasting svg from clipboard (#884) 2022-08-04 21:43:57 +01:00
Judicael
7fce946428
fix: toggle focus click and kbd (#881) 2022-08-04 15:34:47 +01:00
Gwenaël Gallon
b7231d2bd5
Fix remove unused prop (#880) 2022-08-04 15:10:21 +01:00
Judicael
3570a790b2
Feat/flip group shape (#876)
* feat: flip group shape when it's only selected

* fix undefined object

* add test for flipping grouped shape

* fix conflict
2022-08-04 14:03:43 +01:00
Steve Ruiz
f50dc9d9a2 bump version 2022-08-02 17:58:18 +01:00
Steve Ruiz
d83f6ac9e1 remove deps 2022-08-02 17:56:56 +01:00
Judicael
6a67ad758f
fix help icon size on mobile (#873)
* fix help icon size on mobile

* Fix menu closing on mobile

* Fix position of help button

* Remove variants

* Update HelpPanel.tsx

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-08-02 15:15:16 +01:00
Gwenaël Gallon
2567cedcd2
Add clean script to apps and examples (#869) 2022-08-02 14:57:00 +01:00
Gwenaël Gallon
e0e1373468
Chore: clean up sort imports with prettier (#870)
* Update prettier to latest

* Add format command

* Create .prettierignore

* Add prettier plugin sort imports

* Update prettier config

* Update prettier config

* Update .prettierignore

* Fix @babel/parser conflict

https://github.com/trivago/prettier-plugin-sort-imports/issues/156

* Revert "Update .prettierignore"

This reverts commit 282e5b838376f16b3df7f4c1f99f1106baaffea4.

* Revert change for apps/www/pages/v/[id].tsx

* Sort imports

Moves the third party imports to the top, "~" imports in middle, and "./" at last

* Sorting of the specifiers

in an import declarations

* [www] use path vs  "../"

* [core] use path "~" vs "../"

* [tldraw] use path "~" vs "../.../"

* [tldraw] use path "~" vs "../"

* [tldraw] Cleanup

* Update prettier config

* Last use path "~" vs "../.../"

* [www] Fix order of the third party imports

* Clean prettier config
2022-08-02 14:56:12 +01:00
Gwenaël Gallon
ecb4bfcc3b
Fix: no-unused-vars and remove eslint-disable in files (#862)
* Fix eslint no-unused-vars

* Remove eslint-disable in files
2022-07-30 08:28:48 +01:00
Gwenaël Gallon
3c2c26c11e
Fix: workflow failure with missing lint command and added lint for apps/examples (#866)
* Add turbo run lint

* Add lint to all apps and examples

* Update eslint with monorepo configuration

see: https://typescript-eslint.io/docs/linting/typed-linting/monorepos#one-tsconfigjson-per-package-and-an-optional-one-in-the-root

* Remove unused rules

* Exclude @tldraw/www from global eslint config

* Remove duplicated eslint

* Fix eslint prefer-const errors

* Fix eslint no-unused-vars warning

* Update package.json

* Fix eslint no-unused-vars warning

* bump eslint@^8.20.0

* Correct "Fix eslint no-unused-vars warning"

This reverts commit 0158a2585af84b623f2c5581412252c8471375ae.
2022-07-30 08:27:54 +01:00
with-heart
82f9278976
chore: remove typedoc and docs scripts (#864) 2022-07-29 15:22:08 +01:00
Gwenaël Gallon
37877ec787
Feat: update french translations (#863)
* [fr] Updated french translations

* [fr] Fix "export.background"

* [fr] Fix remove socials
2022-07-29 15:20:05 +01:00
with-heart
4fb4e3cded
chore: remove unused lerna.json (#865) 2022-07-29 15:19:33 +01:00
Steve Ruiz
428623c91c remove gtag 2022-07-28 09:49:22 +01:00
with-heart
f92eae0a5c
chore: remove tsconfig.tsbuildinfo from git (#854) 2022-07-28 08:26:45 +01:00
Judicael
2c53fb3d57
fix: prevent deleting shape in session (#853) 2022-07-28 08:26:27 +01:00
with-heart
3d4544548b
chore: improve linting (#855)
* chore(lint): upgrade typescript-eslint

* chore(lint): add root "lint" script

* chore(turbo): remove build dependency from lint

* chore(lint): enable jest recommended rules

* chore(lint): resolve errors

* ci: add lint step

* prettier

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-07-28 08:25:46 +01:00
with-heart
2e36dadfec
chore: clean up local dev tooling (#856)
* chore: clean up husky + lint-staged

* chore: format all files with prettier
2022-07-28 08:19:53 +01:00
Steve Ruiz
0985a2ceff Add events to connections 2022-07-25 15:24:23 +01:00
Judicael
6267cefa1d
update radix ui primitives (#842) 2022-07-24 23:57:47 +01:00
Ali Alhaidary
a5bccedd3d
Update ar.json (#847)
* Update ar.json

* Update ar.json

* remove unnecessary translation

we don't need to translate github, twitter and discord

Co-authored-by: Judicael <46365844+judicaelandria@users.noreply.github.com>
2022-07-24 20:02:49 +01:00
Steve Ruiz
3e8f585049 1.20.0 2022-07-23 15:09:37 +01:00
Steve Ruiz
1cd86f6b29 fix icon bg 2022-07-23 15:06:32 +01:00
Steve Ruiz
f0f545806a
[improvement] Quality and UI cleanup (#846)
* remove sponsors, ui cleanup

* fix radius

* improve panel

* remove cursor spline animations

* migrate options

* Switch hrs to divider

* fix text color on menu dark mode

* Remove option for clone handles

* fix wheel

* remove unused translations
2022-07-23 15:05:48 +01:00
Steve Ruiz
014b07d417
[fix] mobile layout (#845)
* fix buttons on ios size

* Update ToolButton.tsx
2022-07-23 09:33:45 +01:00
Josh Stuve
aa5554df70
feat: export background config (#839)
Co-authored-by: JStuve <josh.stuve@gmail.com>
Co-authored-by: Judicael <46365844+judicaelandria@users.noreply.github.com>
2022-07-23 09:33:02 +01:00
Judicael
94cfa38e46
fix: translation key (#844) 2022-07-23 09:12:54 +01:00
Steve Ruiz
59cdc8386c
replace image icon with radix icon (#843) 2022-07-22 21:27:06 +01:00
Ali Alhaidary
5ba8fe6dd7
Update ar.json (#841) 2022-07-22 21:13:25 +01:00
Judicael
ae536d0be6
Add translation in keyboard shortcut (#838) 2022-07-22 18:29:37 +01:00
Gustavo Chico
18da1578cf
fix-spanish-translation (#840) 2022-07-22 18:28:56 +01:00
Judicael
7a353c7d9f
Feature/upload multiple media (#830) 2022-07-21 19:16:01 +01:00
Steve Ruiz
223391afe5
[fix] label (#836)
* fix label

* Update ArrowUtil.tsx
2022-07-21 17:03:31 +01:00
Judicael
bdd63443e0
fix: remove text label gap (#834) 2022-07-21 16:46:54 +01:00
Ali Alhaidary
cad534812b
Update ar.json (#831) 2022-07-21 14:42:36 +01:00
Steve Ruiz
5e9d3c6a45 Update Loading.tsx 2022-07-19 15:56:55 +01:00
Steve Ruiz
d8e7a0b804 Update Loading.tsx 2022-07-19 15:56:35 +01:00
Judicael
77337b1281
feat: add help panel (#816)
* feat: add help panel

* feat: added all the shortcuts and responsive

* improve help panel

* add modal for the shortcut

* add grid

* fix language menu

* add responsive grid

* Styling keyboard shortcuts / panel

* fix links ts issue

* Improve styling

* Fix translation bug

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-07-19 10:04:38 +01:00
Gwenaël Gallon
240202bb81
feat: Added translation for "loading..." (#823)
* Added translation for "loading..."

* Resolve

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-07-18 18:04:16 +01:00
Gwenaël Gallon
b32750c43d
[Fix] French translation (#825)
* Only the first letter in capital

* Spelling corrections

* Correction of wrong translations

* Best common translation

* Specify the direction of rotation

* Translate to French

* Better translation for this actions

* Revert to preferring the use of "zoom"

* It's better to know on what it acts

* Missing of hyphen

* Better for user focus

- It's better for the user focus to not use the same action verb for two opposite actions (to.front/to.back)
- Specifies the unit of motion for (forward/backward)

* Removes the direction of rotation

* Better alternative for copy/export as

Also, this indicates that we will be able to choose the file format when copying/exporting.
2022-07-18 18:01:50 +01:00
Steve Ruiz
54b66246d6
Fix flips (#829) 2022-07-18 18:01:15 +01:00
Gwenaël Gallon
b6c4059791
Fix broken link for the translation guide (#824) 2022-07-18 17:52:30 +01:00