excalidraw/excalidraw-app
Aakansha Doshi 73bf50e8a8
fix: remove t from getDefaultAppState and allow name to be nullable (#7666)
* fix: remove t and allow name to be nullable

* pass name as required prop

* remove Unnamed

* pass name to excalidrawPlus as well for better type safe

* render once we have excalidrawAPI to avoid defaulting

* rename `getAppName` -> `getName` (temporary)

* stop preventing editing filenames when `props.name` supplied

* keep `name` as optional param for export functions

* keep `appState.name` on `props.name` state separate

* fix lint

* assertive first

* fix lint

* Add TODO

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2024-02-15 11:11:18 +05:30
..
collab feat: change collab trigger & add share dialog (#7647) 2024-02-03 14:04:23 +00:00
components fix: remove t from getDefaultAppState and allow name to be nullable (#7666) 2024-02-15 11:11:18 +05:30
data refactor: remove portal as it is no longer needed (#7623) 2024-01-29 16:37:09 +01:00
share feat: change collab trigger & add share dialog (#7647) 2024-02-03 14:04:23 +00:00
tests refactor: remove portal as it is no longer needed (#7623) 2024-01-29 16:37:09 +01:00
App.tsx fix: remove t from getDefaultAppState and allow name to be nullable (#7666) 2024-02-15 11:11:18 +05:30
CustomStats.tsx build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
app-jotai.ts refactor: move excalidraw-app outside src (#6987) 2023-09-21 09:28:48 +05:30
app_constants.ts fix: emitted visible scene bounds not accounting for offsets (#7450) 2023-12-16 17:32:54 +01:00
bug-issue-template.js build: move build process and excalidraw-app dependencies in its own package.json (#7021) 2023-12-07 16:39:11 +05:30
debug.ts feat: Support mermaid flowchart and sequence diagrams to excalidraw diagrams 🥳 (#6920) 2023-11-03 17:41:34 +05:30
global.d.ts build: move build process and excalidraw-app dependencies in its own package.json (#7021) 2023-12-07 16:39:11 +05:30
index.html build: Welcome ESM and Bye Bye UMD (#7441) 2024-01-01 20:18:44 +05:30
index.scss refactor: move excalidraw-app outside src (#6987) 2023-09-21 09:28:48 +05:30
index.tsx build: move build process and excalidraw-app dependencies in its own package.json (#7021) 2023-12-07 16:39:11 +05:30
package.json chore: add version for excalidraw-app workspace (#7514) 2024-01-04 13:53:19 +05:30
sentry.ts refactor: move excalidraw-app outside src (#6987) 2023-09-21 09:28:48 +05:30
vite-env.d.ts build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
vite.config.mts build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30