tldraw/assets/translations
Mitja Bezenšek b3d6af4454
Allow users to set document name and use it for exporting / saving (#2685)
Adds the ability to change document names in the top center part of the
UI. This mostly brings back the functionality we already had in the
past.

This is basically a port of what @SomeHats did a while back. I changed
the dropdown options and removed some of the things (we are not dealing
with network requests directly so some of that logic did not apply any
longer). We did have autosave back then, not sure if we want to bring
that back?

Changes the `exportAs` api, thus braking.

### Change Type

- [ ] `patch` — Bug fix
- [ ] `minor` — New feature
- [x] `major` — Breaking change
- [ ] `dependencies` — Changes to package dependencies[^1]
- [ ] `documentation` — Changes to the documentation only[^2]
- [ ] `tests` — Changes to any test code only[^2]
- [ ] `internal` — Any other changes that don't affect the published
package[^2]
- [ ] I don't know

[^1]: publishes a `patch` release, for devDependencies use `internal`
[^2]: will not publish a new version

### Test Plan

1. Top center should now show a new UI element. It has a dropdown with a
few actions.
2. Double clicking the name should also start editing it.
3. The name should also be respected when exporting things. Not if you
select some shapes or a frame. In that case we still use the old names.
But if you don't have anything selected and then export / save a project
it should have the document name.

- [ ] Unit Tests
- [ ] End to end tests

### Release Notes

- Allow users to name their documents.
2024-02-19 12:30:26 +00:00
..
ar.json Update community translations + remove unused translations (#1356) 2023-05-12 15:32:22 +00:00
ca.json Update community translations + remove unused translations (#1356) 2023-05-12 15:32:22 +00:00
cs.json Lokalise: Translations update (#2342) 2023-12-19 10:33:17 +00:00
da.json Update community translations + remove unused translations (#1356) 2023-05-12 15:32:22 +00:00
de.json Lokalise: Translations update (#2342) 2023-12-19 10:33:17 +00:00
en.json transfer-out: transfer out 2023-04-25 12:01:25 +01:00
es.json Update translations from community submissions (#2201) 2023-11-14 08:21:49 +00:00
fa.json Lokalise: Translations update (#1694) 2023-07-04 10:10:57 +00:00
fi.json Update community translations + remove unused translations (#1356) 2023-05-12 15:32:22 +00:00
fr.json Update community translations + remove unused translations (#1356) 2023-05-12 15:32:22 +00:00
gl.json Lokalise: Translations update (#1964) 2023-09-28 17:52:47 +00:00
he.json Update community translations + remove unused translations (#1356) 2023-05-12 15:32:22 +00:00
hi-in.json Update community translations + remove unused translations (#1356) 2023-05-12 15:32:22 +00:00
hr.json i18n: add HR 🇭🇷 (#2778) 2024-02-07 16:27:27 +00:00
hu.json Lokalise: Translations update (#2418) 2024-01-10 14:37:33 +00:00
it.json Lokalise: Translations update (#1572) 2023-06-12 12:29:07 +00:00
ja.json Update translations from community submissions (#2201) 2023-11-14 08:21:49 +00:00
ko-kr.json Lokalise: Translations update (#2342) 2023-12-19 10:33:17 +00:00
ku.json Update community translations + remove unused translations (#1356) 2023-05-12 15:32:22 +00:00
languages.json Lokalise: Translations update (#2830) 2024-02-14 08:59:41 +00:00
main.json Allow users to set document name and use it for exporting / saving (#2685) 2024-02-19 12:30:26 +00:00
my.json Update community translations + remove unused translations (#1356) 2023-05-12 15:32:22 +00:00
ne.json Update community translations + remove unused translations (#1356) 2023-05-12 15:32:22 +00:00
no.json Update community translations + remove unused translations (#1356) 2023-05-12 15:32:22 +00:00
pl.json Update community translations + remove unused translations (#1356) 2023-05-12 15:32:22 +00:00
pt-br.json improves translation into pt-br (#2231) 2023-11-27 13:45:25 +00:00
pt-pt.json Update community translations + remove unused translations (#1356) 2023-05-12 15:32:22 +00:00
ro.json Lokalise: Translations update (#2248) 2023-11-21 09:39:25 +00:00
ru.json Lokalise: Translations update (#2342) 2023-12-19 10:33:17 +00:00
sl.json Composable custom UI (#2796) 2024-02-15 12:10:09 +00:00
sv.json Update community translations + remove unused translations (#1356) 2023-05-12 15:32:22 +00:00
te.json Update community translations + remove unused translations (#1356) 2023-05-12 15:32:22 +00:00
th.json Update community translations + remove unused translations (#1356) 2023-05-12 15:32:22 +00:00
tr.json Lokalise: Translations update (#2418) 2024-01-10 14:37:33 +00:00
uk.json Lokalise: Translations update (#2342) 2023-12-19 10:33:17 +00:00
vi.json Update community translations + remove unused translations (#1356) 2023-05-12 15:32:22 +00:00
zh-cn.json Lokalise: Translations update (#2342) 2023-12-19 10:33:17 +00:00
zh-tw.json Lokalise: Translations update (#1515) 2023-06-05 18:05:10 +00:00