* fix: broken outliner structure when DELETE at the beginning
related to #8974
* fix: 'Delete' key deletes entire set of blocks
close#9128
---------
Co-authored-by: Mega Yu <yuhg2310@gmail.com>
* press delete at the end of a block, if no refs in current block,
delete current block instead of next
* enhance backspace behavior to avoid broke ref
* fix press backspace at the end of the block of the end of the page issue
* add e2e-test for delete and backspace across blocks
---------
Co-authored-by: Junyi Du <junyidu.cn@gmail.com>
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
* Remove expensive parsing when saving files
* Add limit to page blocks query
* Don't collapse block's body to make it compatible with other tools
* Alert if there're unsaved changes when switching graphs
* DB schema migration for :block/collapsed? from it's property
Co-authored-by: Andelf <andelf@gmail.com>
* feat: add a secret global flag to load graph from a user defined dir
* fix: use LOGSEQ_OVERWRITE_OPEN_DIR env var to overwrite the openning graph dir
* e2e: add a test for load & check saved graph data
* fix: should also pass in process.env for testing fixtures
* feat: new way to set open dir folder
* fix: e2e
* fix: remove playwright global flag check
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
* improve(ui): [WIP] refactor left sidebar component
* improve(ui): [WIP] refactor left sidebar component
* improve(ui): polish left sidebar for mobile
* improve(ui): polish left sidebar for mobile native
* fix: unnecessary stateful component
* improve(ui): tweak padding inner left sidebar
* fix(tests): update tests
* fix(ui): close left sidebar when create page on sm breakpoint
* improve(ui): tweak `--ls-left-sidebar-sm-width` to 70%
* fix(ui): overlap between left sidebar and toolbar right area on mobile