Commit Graph

3307 Commits (mrazator/test-fractional-index-and-granular-history)
 

Author SHA1 Message Date
Marcel Mraz d872adf593 Order based on fractional index in history action 1 year ago
Marcel Mraz 260706c42f First step towards delta based history
Introducing independent change detection for appState and elements

Generalizing object change, cleanup, refactoring, comments, solving typing issues

Shaping increment, change, delta hierarchy

Structural clone of elements

Introducing store and incremental API

Disabling buttons for canvas actions, smaller store and changes improvements

Update history entry based on latest changes, iterate through the stack for visible changes to limit empty commands

Solving concurrency issues, solving (partly) linear element issues,  introducing commitToStore breaking change

Fixing existing tests, updating snapshots

Trying to be smarter on the appstate change detection

Extending collab test, refactoring action / updateScene params, bugfixes

Resetting snapshots

Resetting snapshots

UI / API tests for history - WIP

Changing actions related to the observed appstate to at least update the store snapshot - WIP

Adding skipping of snapshot update flag for most no-breaking changes compatible solution

Ignoring uncomitted elements from local async actions, updating store directly in updateScene

Bound element issues - WIP
1 year ago
Ryan Di 5e98047267 test the fixing of fractional indices 1 year ago
Ryan Di 741380bd43 one more case for restoring test 1 year ago
Ryan Di 5ed82cb646 not using jittered keys in tests (for snapshot matching) 1 year ago
Ryan Di dddb07cf57 restore test 1 year ago
Ryan Di d6a6c40051 jitter when restoring as well 1 year ago
Ryan Di bf53d90c68 indices with jitter 1 year ago
Ryan Di b734f7cba8 fix shift to end z-index error 1 year ago
Ryan Di 4f218856c3 fix fractional indices on duplication 1 year ago
Ryan Di 7dfba985f9 fix fractional indices on adding new elements 1 year ago
Ryan Di 5bc23d6dee merge branch 'fractional-indexing' of github.com:excalidraw/excalidraw into fractional-indexing 1 year ago
Ryan Di 093e684d9e generate real fractional index after z-index actions 1 year ago
Ryan Di 84c1de7a03 generate real fractional index after z-index actions 1 year ago
Ryan Di d1a9c593cc refactor code 1 year ago
Ryan Di a7154227cf reconciliate order based on fractional index 1 year ago
Ryan Di 1e132e33ae normalize before replacing 1 year ago
Ryan Di 00ffa08e28 use string as fractional index value 1 year ago
Ryan Di 5c1787bdf4 update data restore to keep fractional index 1 year ago
Ryan Di de32256466 simplify 1 year ago
Ryan Di 02dc00a47e fractionalIndex as a byproduct or zIndex 1 year ago
David Luzar c7ee46e7f8
feat: wireframe-to-code (#7334) 1 year ago
DanielJGeiger d1e4421823
feat: Expose `ActionManager.registerAction` through `ExcalidrawImperativeAPI` (#6995)
* feat: Expose `ActionManager` through `ExcalidrawImperativeAPI`

* Only expose `registerAction` instead of `ActionManager`
1 year ago
Barnabás Molnár 7c9cf30909
fix: make zoomToFit fitToViewport account for sidebar (#7298) 1 year ago
David Luzar 1e37dbd60e
feat: change frame resizing behavior (#7307) 1 year ago
David Luzar f8d5c2a1b6
build: allow a range of major node versions (#7306) 1 year ago
Aakansha Doshi 23b24ea5c3
build: use caret for specifying node version to avoid major upgrades automatically (#7297) 1 year ago
Aakansha Doshi a528769b68
docs: upgrade to @excalidraw/excalidraw@0.17.0 (#7285) 1 year ago
Aakansha Doshi ddb7585057
docs: Docs for v0.17.0 🚀 (#7248)
* feat: add docs for getCommonBounds

* docs: add docs for frames api support

* docs: update docs for regenerateIds opts in convertToExcalidrawElements

* add docs for ref removal

* add docs for lock support and insertOnCanvasDirectly in setActiveTool

* fix broken links

* update docs for next js support

* update docs for Preact

* add faq

* docs: add `onChange`, `onPointerDown`, `onPointerUp` docs

* docs: update `useDevice` docs

* update docs for disabling image tool

* add docs for withinBounds helpers

* fix lint

* upgrade excal

* add docusaurus2-dotenv for expose env vars

* fix env variable and upgrade excal

* Update dev-docs/docs/@excalidraw/excalidraw/api/excalidraw-element-skeleton.mdx

Co-authored-by: David Luzar <5153846+dwelle@users.noreply.github.com>

* update docs

Co-authored-by: David Luzar <5153846+dwelle@users.noreply.github.com>

* update docs for process.env

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
1 year ago
Aakansha Doshi 111a48ffb1
docs: release @excalidraw/excalidraw@0.17.0 🎉 (#7284) 1 year ago
Aakansha Doshi 54153629c0
chore: update release scripts (#7282)
* chore: update release scripts

* update docs
1 year ago
David Luzar 9c425224c7
feat: support disabling image tool (#6320)
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
1 year ago
Aakansha Doshi 9d1d45a8ea
chore: update changelog (#7279)
* chore: update changelog

* fix

* Update CHANGELOG.md
1 year ago
David Luzar 029c3c48ba
fix: image insertion bugs (#7278) 1 year ago
Aakansha Doshi adfd95be33
build: support preact 🥳 (#7255)
* build: support preact

* add log

* Simplify the config and generate prod and dev builds for preact

* update changelog

* remove logs

* use env variable so its available during build time

* update cl

* fix
1 year ago
zsviczian ceb255e8ee
fix: exportToSvg to honor frameRendering also for name not only for frame itself (#7270)
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
1 year ago
David Luzar ae5b9a4ffd
fix: not cloning elements on export polluting Scene mapping (#7276) 1 year ago
zsviczian 3d4ff59f40
fix: Can't toggle penMode off due to missing typecheck in togglePenMode (#7273)
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
1 year ago
David Luzar 7b00089314
chore: bump @excalidraw/random-username (#7272) 1 year ago
zsviczian af6b81df40
fix: Replace hard coded font family with const value in addFrameLabelsAsTextElements (#7269) 1 year ago
FilBot3 02cc8440c4
feat: allow D&D dice app domain for embeds (#7263)
Co-authored-by: David Luzar <5153846+dwelle@users.noreply.github.com>
1 year ago
David Luzar 6363492cee
fix: perf issue when ungrouping elements within frame (#7265)
Co-authored-by: Ryan Di <ryan.weihao.di@gmail.com>
1 year ago
Sahil Nagpure 900b317bf3
feat: remove full screen shortcut (#7222) 1 year ago
Gabriel Lalonde 68179356e6
fix: Fixes the shortcut collision between "toggleHandTool" and "distributeHorizontally" (#7189)
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
1 year ago
Jan-Peter Dhallé 3ed15e95da
Small typo fix frames.mdx (#7216) 1 year ago
zsviczian 798e1fd858
fix: allow pointer events when editing a linear element (#7238) 1 year ago
David Luzar f66c93633c
feat: make adaptive-roughness less aggressive (#7250) 1 year ago
Aakansha Doshi cee00767df
feat: support excalidrawAPI and remove refs support (#7251)
* feat: support excalidrawAPI and remove refs support

* update changelog

* remove ready and readyPromise

* update changelog

* update changelog
1 year ago
David Luzar 864c0b3ea8
feat: render frames on export (#7210) 1 year ago
Aakansha Doshi a9a6f8eafb
docs: update the docs with next js dynamic import support (#7252) 1 year ago