Commit Graph
100 Commits
Author SHA1 Message Date
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
David LuzarandGitHub 6bebfe63be fix: handle render errors (#3557) 2021-05-09 21:43:36 +02:00
David LuzarandGitHub 91ab7f36e2 fix: restore on paste or lib import (#3558) 2021-05-09 21:42:12 +02:00
dwelle 5ee8e8249c log instead of throw on unimplemented render type 2021-05-09 17:47:52 +02:00
178ee04d82 feat: Adds rounded icons, joins and caps. (#3521)
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-05-07 18:03:23 +02:00
David LuzarandGitHub 286e9a1524 feat: add temporary Excalidraw+ promo (#3540)
* feat: add temporary Excalidraw+ promo

* add seemingly required query params
2021-05-06 21:29:05 +02:00
David LuzarandGitHub bac76778ce feat: add renderTopRight prop & remove GH corner from core (#3539)
* feat: add `renderTopRight` prop & remove GH corner from core

* reuse `--space-factor` var

* update readme & changelog
2021-05-06 21:00:17 +02:00
David LuzarandGitHub 12e8cc853f feat: remove backdrop-filter to improve perf (#3506)
* feat: remove `backdrop-filter` to improve perf

* remove `backdrop-filter` from Modal
2021-04-27 10:55:59 +02:00
David LuzarandGitHub 81108bf580 fix: prevent selecting .visually-hidden elements (#3501) 2021-04-26 00:03:53 +02:00
David LuzarandGitHub 4ef7cb7365 feat: bump element version on z-index change (#3483)
* feat: bump element version on z-index change

* update snaps

* update changelog
2021-04-25 14:09:38 +02:00
5cc3f7db80 feat: support scroll to center to single element and rename setScrollToContent (#3482)
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2021-04-25 12:28:41 +02:00
David LuzarandGitHub 5c73c5813c chore: fix CHANGELOG links 2021-04-21 23:40:51 +02:00
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
David LuzarandGitHub 6730eb41c2 fix: scrollToContent only on visible elements (#3466) 2021-04-19 17:29:13 +02:00
David LuzarandGitHub 7d29351d66 fix: library onClick paste off-center (#3462) 2021-04-18 13:33:05 +02:00
David LuzarandGitHub a7cbe68ae8 refactor: improve types around dataState and libraryData (#3427) 2021-04-10 19:17:49 +02:00
09dfd16b17 feat: use component dimensions to break to mobile (#3414)
Co-authored-by: Jed Fox <git@jedfox.com>
2021-04-08 19:54:50 +02:00
David LuzarandGitHub 1e48aafb9c fix: incorrectly caching png file handle (#3407) 2021-04-06 21:27:15 +02:00
David LuzarandGitHub 9733ecb3df fix: popover positioning (#3399) 2021-04-05 17:26:37 +02:00
David LuzarandGitHub 5d3e98fa04 chore: bump browser-fs-access to 0.16.2 (#3396) 2021-04-04 14:45:02 +02:00
David LuzarandGitHub 422c25449f fix: export dialog canvas positioning (#3397) 2021-04-04 14:41:22 +02:00
David LuzarandGitHub 8670b2d587 fix: support d&d of files without extension (#3168) 2021-03-26 22:12:02 +01:00
David LuzarandGitHub b081a09962 fix: positions stats for linear elements (#3331) 2021-03-26 22:56:27 +02:00
David LuzarandGitHub 30ae4b8bf2 feat: don't unnecessarily prompt when installing libraries (#3329) 2021-03-26 18:32:38 +01:00
David LuzarandGitHub cf9e29834d feat: prefer hash when importing libraries & expose importLibrary (#3320) 2021-03-26 18:10:43 +01:00
David LuzarandGitHub 5d26c15daf fix: debounce.flush invokes func even if never queued before (#3326)
* fix: `debounce.flush` invokes func even if never queued before

* reset after debounced invocation

* account for fn throwing
2021-03-26 17:12:32 +01:00
David LuzarandGitHub 458e6d6c24 fix: state selection state on opening contextMenu (#3333) 2021-03-26 16:41:57 +01:00
David LuzarandGitHub 1b626175de feat: use origin + pathname as libraryReturnUrl default (#3325) 2021-03-25 18:27:40 +01:00
David LuzarandGitHub 94ad8eaa19 feat: support pasting file contents & always prefer system clip (#3257) 2021-03-20 20:20:47 +01:00
David LuzarandGitHub 9a13dd8836 fix: bail on noop updates for newElementWith (#3279) 2021-03-20 13:29:53 +01:00
David LuzarandGitHub cf6a5ff16b fix: state continuously updated when holding ctrl/cmd (#3283) 2021-03-20 13:28:28 +01:00
David LuzarandGitHub fa8c7abf50 fix: debounce.flush not invoked if lastArgs not defined (#3281) 2021-03-20 13:15:28 +01:00
David LuzarandGitHub add1785ace fix: allow copying text outside the component (#3275) 2021-03-19 18:36:23 +01:00