1450454873
This PR includes a "soft preload" feature for icons, where icons will be loaded when the canvas first mounts. The component will not wait for icons to finish loading before showing the editor, but this should help with "pop in" on menu icons. ### Change Type - [x] `sdk` — Changes the tldraw SDK - [x] `improvement` — Improving existing features ### Test Plan 1. Load the component 2. After load, open a menu for the first time 3. The icons should immediately be visible ### Release Notes - Improve icon preloading
50 lines
1.5 KiB
YAML
50 lines
1.5 KiB
YAML
name: Bug Report
|
|
description: File a bug report
|
|
title: '[Bug]: '
|
|
labels: ['bug', 'triage']
|
|
assignees: []
|
|
body:
|
|
- type: markdown
|
|
attributes:
|
|
value: |
|
|
Thanks for taking the time to fill out this bug report!
|
|
- type: textarea
|
|
id: what-happened
|
|
attributes:
|
|
label: What happened?
|
|
description: Also tell us, what did you expect to happen?
|
|
validations:
|
|
required: true
|
|
- type: textarea
|
|
id: reproduction
|
|
attributes:
|
|
label: How can we reproduce the bug?
|
|
description: If you can make the bug happen again, please share the steps involved. You can [fork this CodeSandbox](https://codesandbox.io/p/sandbox/tldraw-example-n539u) to make a reproduction.
|
|
validations:
|
|
required: false
|
|
- type: dropdown
|
|
id: browsers
|
|
attributes:
|
|
label: What browsers are you seeing the problem on?
|
|
multiple: true
|
|
options:
|
|
- Firefox
|
|
- Chrome
|
|
- Safari
|
|
- Microsoft Edge
|
|
- type: input
|
|
id: contact
|
|
attributes:
|
|
label: Contact Details
|
|
description: How can we get in touch with you if we need more info?
|
|
placeholder: ex. email@example.com
|
|
validations:
|
|
required: false
|
|
- type: checkboxes
|
|
id: terms
|
|
attributes:
|
|
label: Code of Conduct
|
|
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/tldraw/tldraw/blob/main/CODE_OF_CONDUCT.md)
|
|
options:
|
|
- label: I agree to follow this project's Code of Conduct
|
|
required: true
|