Milos Vetesnik
6765fc16be
fix: improve pointer syncing performance ( #4883 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
2022-03-06 22:11:14 +00:00
Milos Vetesnik
5ca4f5bbf4
feat: rewrite collab server connecting ( #4881 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
2022-03-06 22:43:02 +01:00
David Luzar
9392ec276d
fix: collab room initialization ( #4882 )
2022-03-06 15:59:56 +01:00
Aakansha Doshi
ca89d47d4c
feat: Sync local storage state across tabs when out of sync ( #4545 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
2022-01-27 13:21:55 +01:00
David Luzar
6143d5195a
refactor: deduplicate encryption helpers ( #4146 )
2021-11-07 14:33:21 +01:00
Lipis
8d4f455cd3
chore: Update Typescript to 4.4.4 ( #4188 )
2021-11-02 14:24:16 +02:00
Lipis
1c7056bdaa
chore: bump Prettier to the latest ( #4185 )
2021-11-01 15:24:05 +02:00
David Luzar
c61f95a327
fix: image-related fixes ( #4147 )
...
* flush queues on portal close
* fix mouse broadcast race condition
* stop mutating image elements when updating status
to fix race condition when closing/opening collab room
* check `files` when resolving `LayerUI`
* fix displaying AbortError
2021-10-30 23:40:35 +02:00
David Luzar
d89fb3371b
fix: rewrite collab element reconciliation to fix z-index issues ( #4076 )
2021-10-27 15:14:20 +02:00
David Luzar
163ad1f4c4
feat: image support ( #4011 )
...
Co-authored-by: Emil Atanasov <heitara@gmail.com>
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2021-10-21 22:05:48 +02:00
Aakansha Doshi
ff29780760
Refactor: convert initializeApp to func component and use JSX transform in the codebase ( #4056 )
2021-10-14 22:56:51 +05:30
Aakansha Doshi
15f02ba191
refactor: code clean up ( #3681 )
...
* refactor: code clean up
Move types from App.tsx to types.ts
Move excalidrawPackage.test.tsx inside src/tests/package
* import type
2021-06-01 23:52:13 +05:30
David Luzar
3a0b6fb41b
refactor: move getSyncableElements to CollabWrapper & expose isInvisiblySmallElement helper ( #3471 )
...
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2021-04-21 23:37:44 +02:00
Aakansha Doshi
c0047269c1
fix: focus on last active element when dialog closes ( #3447 )
...
* fix: focus on last active element when dialog closes
* useState instead of ref
2021-04-15 20:29:00 +05:30
Aakansha Doshi
793b69e592
fix: Apply theme to only to active excalidraw component ( #3446 )
...
* feat: Apply theme to only current instance of excalidraw
* fix
* fix
* fix
* fix
* fix
* update changelog
* fix
2021-04-13 23:02:57 +05:30
Aakansha Doshi
25fd275158
fix: Don't share collab types with core ( #3353 )
...
* fix: Don't share collab types with core
* fix
* remove
* fix
2021-03-28 19:26:03 +05:30
Christopher Chedeau
127c1be6ad
fix: Don't scroll to content on INIT websocket message ( #3291 )
...
If you load a shared scene with at least another person on the scene, you can start seeing the content via the firebase response. If you scroll and you receive the response from the websocket INIT, then it scrolls you back to the center which is jarring.
This PR removes the scroll to content for that use case.
2021-03-21 17:25:19 +01:00
Aakansha Doshi
052b73d95b
refactor: Rename prop scrollToCenter and setScrollToCenter to scrollToContent and setScrollToContent respectively ( #3261 )
...
* refactor: Rename prop scrollToCenter and setScrollToCenter to scrollToContent and setScrollToContent respectively
* fix
* update changelog/readme
* fix
2021-03-16 23:02:17 +05:30
Lipis
bb612fd768
chore: Track collaboration ( #3211 )
2021-03-10 17:45:37 +02:00
Aakansha Doshi
7c5481b877
feat: Add support for scrollToCenter in initialData so host can control whether to scroll to center on mount ( #3070 )
...
* feat: Add support for scrollToCenter in initialData so host can control whether to scroll to center on mount
* fix
* update changelog and readme
* fix
* Scroll to center only for collab and shareable links in excalidraw app
* fix test
* update readme
* Update src/packages/excalidraw/README.md
2021-02-21 19:01:34 +05:30
Thomas Steiner
1837147c55
feat: Add idle detection to collaboration feature ( #2877 )
...
* Start idle detection implementation
* First working version
* Add screen state
* Add type safety
* Better rendering, enum types, localization
* Add origin trial token
* Fix
* Refactor idle detection to no longer use IdleDetector API
* Cleanup some leftovers
* Fix
* Apply suggestions from code review
* Three state: active 🟢 , idle 💤 , away ⚫ ️
* Address feedback from code review
Thanks, @lipis
* Deal with unmount
Co-authored-by: Panayiotis Lipiridis <lipiridis@gmail.com>
2021-02-04 11:55:43 +01:00
David Luzar
ce507b0a0b
feat: don't store to LS during collab ( #2909 )
2021-02-03 19:14:26 +01:00
David Luzar
0a0be839b9
refactor: rewrite collabWrapper to remove TDZs and simplify ( #2834 )
2021-01-25 10:47:35 +01:00
Lipis
3aa01ad272
chore: Remove tracking ( #2722 )
...
* chore: Remove tracking
* process
* rename
* remove
* prod
* Update public/index.html
Co-authored-by: David Luzar <luzar.david@gmail.com>
* Update public/index.html
* eol
* more
* stats
Co-authored-by: David Luzar <luzar.david@gmail.com>
2021-01-05 19:06:14 +01:00
Lipis
6adb45ef5a
feat: Change title to Excalidraw after a timeout ( #2656 )
...
* feat: Change title to Excalidraw after a timeout
* clear timeout
2020-12-22 10:34:06 +01:00
Aakansha Doshi
e617ccc252
Factor out collaboration code ( #2313 )
...
Co-authored-by: Lipis <lipiridis@gmail.com>
Co-authored-by: dwelle <luzar.david@gmail.com>
2020-12-05 15:30:53 +01:00