Skip to content

Commit

Permalink
feat: add poll shape (#16)
Browse files Browse the repository at this point in the history
* fix type and build errors

* update GitHub Actions runner to 4 cores for better availability

* update GitHub Actions runner for better availability

* fix linter and lint issues

* fix tests / disable broken tests

* add types

* test update type

* test update type

* test update type

* test update type

* fix playwright e2e tests

* remove unused config

* update config

* Add poll shape

* Revert tsconfig

* Use relative path for TLUiTranslationKey

* Import defineMigration via relative pth

* Run Prettier

* Yarn lint

* Fix yarn lint - disable extraneous dependencies

* Add public-yarn lock

* Fix webpack load issue

* Allow whiteboardID parameter

---------

Co-authored-by: KDSBrowne <[email protected]>
  • Loading branch information
danielpetri1 and KDSBrowne authored Sep 18, 2024
1 parent c56b5f4 commit b4e1213
Show file tree
Hide file tree
Showing 26 changed files with 1,037 additions and 259 deletions.
2 changes: 1 addition & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
"tabWidth": 2,
"useTabs": true,
"plugins": ["prettier-plugin-organize-imports"]
}
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ This repository's contents is divided across four primary sections:

## License

Previous versions of Tldraw's SDK were released under the permissive Apache-2.0 license.
Previous versions of Tldraw's SDK were released under the permissive Apache-2.0 license.

On December 20th, 2023, Tldraw announced a new license in which only non-commercial uses of Tldraw are permitted without purchasing a commercial license.

Expand Down
11 changes: 9 additions & 2 deletions apps/vscode/extension/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,30 +21,37 @@
- Fixed a bug with exporting shapes that have the same dimensions as their parent frame shape.

## 2.0.16

- Fixed keyboard shortcuts.
- Fixed edit link button stopping the mouse events from working.
- Fixed a bug with grouping / ungrouping which prevented the actions menu from closing correctly.
- Fixed arrowheads not being correctly localized in the Style panel.
- Fixed a bug where arrows with length 0 could crash the app.

## 2.0.15

- Bug fixes and performance improvements.

## 2.0.14

- Bug fixes and performance improvements. More info:
https://github.com/tldraw/tldraw/releases/tag/v2.0.0-alpha.17
https://github.com/tldraw/tldraw/releases/tag/v2.0.0-alpha.17

## 2.0.13

- Bug fixes and performance improvements. More info:
https://github.com/tldraw/tldraw/releases/tag/v2.0.0-alpha.16
https://github.com/tldraw/tldraw/releases/tag/v2.0.0-alpha.16

## 2.0.12

- Bug fixes and performance improvements.

## 2.0.11

- Added cloud shape.

## 2.0.10

- Removed the lock option from the highlighter tool.
- Disabled the styles button for the laser tool on small screens.
- Fixed mouse cursor after resizing during text creation. We now revert back to the default cursor.
Expand Down
7 changes: 6 additions & 1 deletion assets/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -306,5 +306,10 @@
"cursor-chat.type-to-chat": "Tippen, um zu chatten...",
"geo-style.cloud": "Wolke",
"tool.cloud": "Wolke",
"action.unlock-all": "Alle entsperren"
"action.unlock-all": "Alle entsperren",
"app.poll.t": "Richtig",
"app.poll.f": "Falsch",
"app.poll.y": "Ja",
"app.poll.n": "Nein",
"app.poll.abstention": "Enthaltung"
}
7 changes: 6 additions & 1 deletion assets/translations/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -351,5 +351,10 @@
"vscode.file-open.backup-saved": "Backup saved",
"vscode.file-open.backup-failed": "Backup failed: this is not a .tldr file.",
"vscode.file-open.dont-show-again": "Don't ask again",
"cursor-chat.type-to-chat": "Type to chat..."
"cursor-chat.type-to-chat": "Type to chat...",
"app.poll.t": "True",
"app.poll.f": "False",
"app.poll.y": "Yes",
"app.poll.n": "No",
"app.poll.abstention": "Abstention"
}
7 changes: 6 additions & 1 deletion assets/translations/pt-br.json
Original file line number Diff line number Diff line change
Expand Up @@ -329,5 +329,10 @@
"vscode.file-open.backup-saved": "Backup salvo",
"vscode.file-open.backup-failed": "Falha no backup: este não é um arquivo .tldr.",
"vscode.file-open.dont-show-again": "Não perguntar novamente",
"cursor-chat.type-to-chat": "Digite para conversar..."
"cursor-chat.type-to-chat": "Digite para conversar...",
"app.poll.t": "Verdadeiro",
"app.poll.f": "Falso",
"app.poll.y": "Sim",
"app.poll.n": "Não",
"app.poll.abstention": "Abstenção"
}
7 changes: 6 additions & 1 deletion assets/translations/zh-cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -349,5 +349,10 @@
"status.offline": "离线",
"status.online": "在线",
"action.remove-frame": "移除框架",
"action.fit-frame-to-content": "适合于内容"
"action.fit-frame-to-content": "适合于内容",
"app.poll.t": "正确",
"app.poll.f": "错误",
"app.poll.y": "",
"app.poll.n": "",
"app.poll.abstention": "无法作答"
}
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@
"@microsoft/api-extractor@^7.35.4": "patch:@microsoft/api-extractor@npm%3A7.35.4#./.yarn/patches/@microsoft-api-extractor-npm-7.35.4-5f4f0357b4.patch"
},
"dependencies": {
"recharts": "^2.12.7",
"styled-components": "^6.1.13",
"svgo": "^3.0.2"
}
}
Loading

0 comments on commit b4e1213

Please sign in to comment.