Tldraw/assets/translations
Taha 4dab25be57
Open share menu when navigating from create new shared project button (#3898)
This PR ensures that the share menu is open when navigating from the
create new shared project button.

This could be achieved by calling ```editor.addOpenMenu('share-menu')```
after ```navigate('/new')``` , but that opens the menu on the local
editor first so you get a flash of that before the multiplayer editor
loads.

Instead I've used the state prop on the Navigate component/function to
pass a property called shouldOpenShareMenu.

If the user presses the back button to return to the local editor
instance then the open state of the share menu is preserved, which is
actually something we don't want in this case. Not sure how to deal with
that without adding a ton more complexity, is it worth it?

### Change Type

<!--  Please select a 'Scope' label ️ -->

- [ ] `sdk` — Changes the tldraw SDK
- [x] `dotcom` — Changes the tldraw.com web app
- [ ] `docs` — Changes to the documentation, examples, or templates.
- [ ] `vs code` — Changes to the vscode plugin
- [ ] `internal` — Does not affect user-facing stuff

<!--  Please select a 'Type' label ️ -->

- [ ] `bugfix` — Bug fix
- [ ] `feature` — New feature
- [x] `improvement` — Improving existing features
- [ ] `chore` — Updating dependencies, other boring stuff
- [ ] `galaxy brain` — Architectural changes
- [ ] `tests` — Changes to any test code
- [ ] `tools` — Changes to infrastructure, CI, internal scripts,
debugging tools, etc.
- [ ] `dunno` — I don't know


### Test Plan

1. Click create new shared project from the file menu
2. Share menu should open after navigating to the new room

### Release Notes

- Open share menu when navigating from the create new shared project
button.

---------

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2024-06-10 08:15:55 +00:00
..
ar.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
ca.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
cs.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
da.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
de.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
en.json transfer-out: transfer out 2023-04-25 12:01:25 +01:00
es.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
fa.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
fi.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
fr.json Lokalise: Translations update (#3649) 2024-04-30 10:23:23 +00:00
gl.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
he.json Update community translations + remove unused translations (#1356) 2023-05-12 15:32:22 +00:00
hi-in.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
hr.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
hu.json Lokalise: Translations update (#3649) 2024-04-30 10:23:23 +00:00
id.json Lokalise: Translations update (#3649) 2024-04-30 10:23:23 +00:00
it.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
ja.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
ko-kr.json Lokalise: Translations update (#3649) 2024-04-30 10:23:23 +00:00
ku.json Update community translations + remove unused translations (#1356) 2023-05-12 15:32:22 +00:00
languages.json Lokalise: Translations update (#3649) 2024-04-30 10:23:23 +00:00
main.json Open share menu when navigating from create new shared project button (#3898) 2024-06-10 08:15:55 +00:00
my.json Update community translations + remove unused translations (#1356) 2023-05-12 15:32:22 +00:00
ne.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +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 Update romanian translations (#3269) 2024-03-26 18:34:31 +00:00
ru.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
sl.json Camera options (#3282) 2024-05-04 17:39:04 +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 Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
tr.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
uk.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
vi.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
zh-cn.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00
zh-tw.json Lokalise: Translations update (#2908) 2024-02-22 11:20:51 +00:00