Commit Graph
100 Commits
Author SHA1 Message Date
David LuzarandGitHub f2d2f97546 fix: using stale state when switching tools (#4989) 2022-03-29 17:00:19 +02:00
David LuzarandGitHub f242721f3b chore: add ga for most actions (#4829) 2022-03-28 14:46:40 +02:00
David LuzarandGitHub b682d88167 fix: incorrectly erasing on mobile (#4899)
* fix: incorrectly erasing on mobile

* reintroduce fix for erasing on single-point click

* fix snaps
2022-03-11 15:45:59 +01:00
20de06ef50 fix: paste styles shortcut (#4886)
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2022-03-09 10:59:44 +01:00
David LuzarandGitHub 9392ec276d fix: collab room initialization (#4882) 2022-03-06 15:59:56 +01:00
David LuzarandGitHub 45f3410da8 build: release @excalidraw/utils 0.1.1 (#4862) 2022-03-03 14:59:08 +01:00
David LuzarandGitHub 94b387ef7b fix: ensure verticalAlign properties not shown when no element selected (#4860)
* fix: ensure verticalAlign properties not shown when no element selected

* show verticalAlign prop if selection contains at least one applicable element

* simplify
2022-03-02 23:56:20 +01:00
David LuzarandGitHub 6d0716eb6b fix: binding text to non-bindable containers and not always preferring selection (#4655) 2022-03-02 17:04:09 +01:00
David LuzarandGitHub 618a846451 chore: remove firebase-tools (#4792) 2022-02-28 10:54:20 +01:00
David LuzarandGitHub b6f9a8005e docs: list who's integrating excalidraw (#4832)
* docs: list who's integrating excalidraw

* Update README.md
2022-02-23 23:28:17 +01:00
David LuzarandGitHub 5c61613a2e fix: don't bump element version when adding files data (#4794)
* fix: don't bump element version when adding files data

* fix lint
2022-02-16 18:26:36 +05:30
David LuzarandGitHub 9653d676fe fix: contextMenu timer & pointers not correctly reset on iOS (#4765) 2022-02-09 20:42:02 +01:00
a066317d3c feat: add onLinkOpen component prop (#4694)
Co-authored-by: ad1992 <aakansha1216@gmail.com>
2022-02-08 11:25:35 +01:00
David LuzarandGitHub 050bc1ce2b feat: keep selected tool on canvas reset (#4728) 2022-02-07 22:30:06 +01:00
David LuzarandGitHub 5007df6522 fix: disable contextmenu on non-secondary pen events or touch (#4675) 2022-02-07 20:01:36 +01:00
David LuzarandGitHub 5f1cd4591a fix: do not open links twice (#4738) 2022-02-07 12:20:19 +00:00
David LuzarandGitHub c3f6d6d344 test: revert node v16 requirement for tests (#4737) 2022-02-07 12:27:31 +01:00
David LuzarandGitHub 339636caab feat: allow any precision when zooming (#4730) 2022-02-06 21:58:59 +01:00
David LuzarandGitHub 08115ef311 fix: Apple Pen missing strokes (#4705) 2022-02-06 20:07:37 +01:00
David LuzarandGitHub 8aff076782 feat: throttle pointermove events per framerate (#4727) 2022-02-06 17:45:37 +01:00
David LuzarandGitHub de6371aac4 fix: link popup position not accounting for offsets (#4695) 2022-02-03 17:00:00 +01:00
David LuzarandGitHub 631a228ca1 fix: typing _+ in wysiwyg not working (#4681) 2022-01-31 14:29:42 +01:00
David LuzarandGitHub 4b5270ab12 fix: keyboard-zooming in wysiwyg should zoom canvas (#4676) 2022-01-31 10:43:03 +01:00
dwelle dcee594b66 remove forgotten debug statements 2022-01-29 22:07:09 +01:00
David LuzarandGitHub 79d323fab1 refactor: simplify zoom by removing zoom.translation (#4477) 2022-01-29 21:12:44 +01:00
1fd2fe56ee fix: cmd/ctrl native browser behavior blocked in inputs (#4589)
* fix: cmd/ctrl native browser behavior blocked in inputs

* add basic test for fontSize increase/decrease via keyboard

* add tests for fontSize resizing via keyboard outside wysiwyg

* Update src/element/textWysiwyg.test.tsx

Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>

* Update src/tests/resize.test.tsx

Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>

* Update src/tests/resize.test.tsx

Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>

Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2022-01-13 19:53:22 +01:00
David LuzarandGitHub 1ef287027b fix: support collaboration in bounded text (#4580) 2022-01-12 23:21:45 +01:00
a51ed9ced6 feat: support decreasing/increasing fontSize via keyboard (#4553)
Co-authored-by: david <dw@dw.local>
2022-01-12 15:21:36 +01:00
David LuzarandGitHub d5a6014076 fix: prefer spreadsheet data over image (#4533) 2022-01-07 23:18:04 +01:00
David LuzarandGitHub 28546fbb55 fix: bound text doesn't inherit container (#4521) 2021-12-31 14:55:02 +01:00
David LuzarandGitHub b621d065de feat: hints and shortcuts help around deep selection (#4502) 2021-12-31 11:00:20 +01:00
David LuzarandGitHub bae0e985b2 fix: prevent browser from scrolling when panning (#4489) 2021-12-27 14:18:11 +01:00
David LuzarandGitHub c1c37a6ee7 fix: align library item previews to center (#4447) 2021-12-21 19:59:36 +01:00
David LuzarandGitHub 7db63bd397 feat: redesign toolbar & tweaks (#4387) 2021-12-15 15:31:44 +01:00
David LuzarandGitHub 390da3fd0f feat: change boundElementIdsboundElements (#4404) 2021-12-14 16:07:01 +01:00
David LuzarandGitHub 104664cb9e feat: support selecting multiple points when editing line (#4373) 2021-12-13 13:35:07 +01:00
David LuzarandGitHub ed8fb40b63 fix: make firebase config parsing not fail on undefined env (#4381) 2021-12-09 12:24:41 +00:00
David LuzarandGitHub dfbfbc3f11 feat: set package build target to es2017 (#4341) 2021-12-07 16:38:46 +01:00
dwelle 9b8ee3cacf feat: horizontally center toolbar menu 2021-12-05 17:47:19 +01:00
David LuzarandGitHub 618f204ddd feat: allow zooming up to 3000% (#4358) 2021-12-04 13:51:28 +00:00
David LuzarandGitHub 720588130c feat: stop discarding precision when rendering (#4357) 2021-12-04 13:49:57 +00:00
David LuzarandGitHub afa7932c9b feat: set appState.exportBackground to true when exporting to jpg (#4342) 2021-11-30 22:08:55 +01:00
David LuzarandGitHub 06db702b5d feat: support selecting multiple library items via shift (#4306) 2021-11-26 12:46:23 +01:00
b53d1f6f3e feat: improve library preview image generation on publish (#4321)
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2021-11-26 11:46:13 +01:00
David LuzarandGitHub 8ff159e76e fix: export scale quality regression (#4316) 2021-11-25 14:05:22 +01:00
David LuzarandGitHub f9d2d537a2 feat: add element.updated (#4070) 2021-11-24 18:38:33 +01:00
David LuzarandGitHub 6dd0e6a4c5 fix: remove 100% height from tooltip container to fix layout issues (#3980) 2021-11-24 17:16:18 +01:00
David LuzarandGitHub 96b31ecbce fix: inline ENV variables when building excalidraw package (#4311) 2021-11-24 16:25:19 +01:00
David LuzarandGitHub 896c476716 feat: compress shareLink data when uploading to json server (#4225) 2021-11-24 14:45:13 +01:00
David LuzarandGitHub cc4b0c2932 feat: supply version param when installing libraries (#4305) 2021-11-23 17:59:26 +01:00
David LuzarandGitHub 620b662085 chore: bump typescript@4.5.2 (#4283)
* chore: bump typescript@4.5.2

* bump typescript and fix tsconfig for npm package
2021-11-19 19:51:28 +01:00
David LuzarandGitHub 1c11df011a fix: new FS API not working on Linux (#4280) 2021-11-19 14:20:42 +01:00
David LuzarandGitHub 59e9651547 feat: log FS abortError to console (#4279) 2021-11-19 10:54:23 +01:00
David LuzarandGitHub 34a382ace9 fix: prevent adding images to library via contextMenu (#4264) 2021-11-17 20:06:26 +00:00
David LuzarandGitHub e60e48e67d fix: account for libraries v2 when prompting (#4263) 2021-11-17 19:54:40 +00:00
David LuzarandGitHub 6143d5195a refactor: deduplicate encryption helpers (#4146) 2021-11-07 14:33:21 +01:00
David LuzarandGitHub f59e608f18 fix: Skia rendering issues (#4200) 2021-11-04 15:55:10 +01:00
David LuzarandGitHub cc201a6d80 fix: ellipse roughness when 0 (#4194) 2021-11-03 12:50:54 +01:00
David LuzarandGitHub 3369035f40 feat: add hint around canvas panning (#4159) 2021-11-01 13:36:06 +01:00
David LuzarandGitHub 790e6da500 fix: images not initialized correctly (#4157)
* fix: image not initialized correctly due to not renewing `state.pendingImageElement`

* ensure we replace elements on update

* set file as errored on >= 400 status respones
2021-11-01 10:44:57 +01:00
David LuzarandGitHub 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 LuzarandGitHub f1202adb15 feat: stop using production services for development (#4113) 2021-10-29 17:13:28 +02:00
David LuzarandGitHub d89fb3371b fix: rewrite collab element reconciliation to fix z-index issues (#4076) 2021-10-27 15:14:20 +02:00
David LuzarandGitHub add8a1b1a7 fix: redirect to webex LP instead of rewrite to fix SW (#4103) 2021-10-26 16:02:30 +02:00
David LuzarandGitHub d7cdee37bf feat: switch collab server (#4092) 2021-10-24 11:47:45 +02:00
David LuzarandGitHub 5c5b8c517f fix: clear image/shape cache of affected elements when adding files (#4089) 2021-10-23 14:17:04 +02:00
David LuzarandGitHub 7dbd0c5e0a fix: clear LibraryUnit DOM on unmount (#4084) 2021-10-22 22:07:20 +02:00
David LuzarandGitHub ba35eb8f8c fix: pasting images on firefox (#4085) 2021-10-22 21:04:04 +02:00
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
David LuzarandGitHub 45c520341f chore: bump @dwelle/browser-fs-access to 0.21.2 (#4067) 2021-10-18 11:08:12 +02:00
David LuzarandGitHub 54739cd2df fix: abstract and fix legacy fs (#4032) 2021-10-07 13:19:40 +02:00
David LuzarandGitHub bea4a1e066 chore: bump browser-fs-acccess to 0.20.5 (#4018)
* bump browser-fs-acccess to 0.20.5

* add null check
2021-10-02 18:27:26 +02:00
David LuzarandGitHub 8c9786e026 fix: help-icon now visible on Safari (#3939) 2021-08-25 13:57:42 +02:00
David LuzarandGitHub f0f13ed694 fix: permanent zoom mode (#3931) 2021-08-23 22:47:29 +02:00
David LuzarandGitHub b2c4552416 feat: re-order zoom buttons (#3837)
* feat: re-order zoom buttons

* undo last commit & change zoomOut/zoomIn order
2021-07-16 23:47:43 +02:00
David LuzarandGitHub 5cae218f1b fix: undo/redo buttons gap in Safari (#3836) 2021-07-15 22:10:48 +02:00
99623334d1 feat: add undo/redo buttons & tweak footer (#3832)
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2021-07-15 18:48:03 +02:00
David LuzarandGitHub 0749d2c1f3 fix: color picker shortcuts not working when elements selected (#3817) 2021-07-10 21:05:00 +00:00
David LuzarandGitHub 55d3287abf fix: include deleted elements when passing to restore (#3802) 2021-07-05 13:43:53 +02:00
David LuzarandGitHub 097362662d feat: pass localElements to restore and restoreElement API's and bump versions of duplicate elements on import (#3797) 2021-07-04 22:23:35 +02:00
David LuzarandGitHub 62303b8a22 chore: bump browser-fs-access (#3780) 2021-07-02 14:55:16 +00:00
David LuzarandGitHub 5cd921549a fix: deselect elements on viewMode toggle (#3741) 2021-06-16 19:01:16 +02:00
David LuzarandGitHub fd4460be37 feat: add hint around text editing (#3708) 2021-06-12 22:58:34 +02:00
David LuzarandGitHub 6690215cd1 feat: change library icon to be more clear (#3583) 2021-06-11 23:13:05 +02:00
David LuzarandGitHub 69b6fbb3f4 feat: pass current theme when installing libraries (#3701)
* pass current `theme` when installing libraries

* pass `theme` instead of `appState`
2021-06-08 23:14:02 +02:00
David LuzarandGitHub a2e1199907 feat: support exporting json to excalidraw plus (#3678)
* feat: support exporting json to excalidraw plus

* add Firebase Storage rules to codebase

* factor the onClick handler out

* move excal icon to icons.tsx

* handle export error
2021-06-01 14:05:09 +02:00
David LuzarandGitHub c08e9c4172 fix: use rgba instead of shorthand alpha (#3688) 2021-05-31 14:29:40 +05:30
David LuzarandGitHub 035c7affff fix: color pickers not opening on mobile (#3676) 2021-05-30 12:05:07 +02:00
David LuzarandGitHub c819b653bf fix: on contextMenu, use selected element regardless of z-index (#3668) 2021-05-29 22:33:53 +02:00
David LuzarandGitHub 60cea7a0c2 fix: selectedGroupIds not being stored in history (#3630)
thanks!
2021-05-29 21:35:03 +02:00
dd12abc583 refactor: remove watermark code (#3639)
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2021-05-26 21:44:54 +02:00
David LuzarandGitHub abebf9aff8 fix: small UI issues around image export dialog (#3642) 2021-05-26 14:44:03 +02:00
790c9fd02e feat: exporting redesign (#3613)
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2021-05-25 21:37:14 +02:00
David LuzarandGitHub 357266e9ab feat: auto-position tooltip and suport overflowing container (#3631) 2021-05-25 13:52:04 +02:00
David LuzarandGitHub 0bbb4535cf fix: normalize linear element points on restore (#3633) 2021-05-24 20:35:53 +02:00
David LuzarandGitHub d201d0be1b fix: disable pointer-events on footer-center container (#3629) 2021-05-23 17:09:39 +02:00
David LuzarandGitHub 6d40039f08 feat: allow inner-drag-selecting with cmd/ctrl (#3603)
* feat: allow inner-drag-selecting with cmd/ctrl

* don't use  cursor when pressing cmd/ctrl

* ensure we reset deselected groups

* add tests

* add docs

* couple fixes around group selection
2021-05-20 22:28:34 +02:00
8068d1f853 feat: export serializeAsJSON from package (#3538)
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2021-05-12 00:24:41 +02:00
dwelle a8a5e7b6ff fix: no migrating draw lines correctly 2021-05-10 16:19:31 +02:00
David LuzarandGitHub 11b8cc2caa fix: remove draw element from codebase (#3559) 2021-05-10 11:01:10 +02:00