Commit Graph

11202 Commits (2887a9c56b24a70919472a3da021687717d4136e)

Author SHA1 Message Date
Konstantinos Kaloutas bdcf0740d2 fix: custom portal color on previews 2023-04-12 20:44:59 +08:00
Tienson Qin 17206d32c0 enhance: remove the short for toggle undo/redo mode
To avoid switching accidentally.
2023-04-12 20:37:52 +08:00
Konstantinos Kaloutas b613a9a3b7 enhance: page only mode 2023-04-12 20:37:52 +08:00
Konstantinos Kaloutas cf13507587 enhance: add node to debugger 2023-04-12 20:37:52 +08:00
Konstantinos Kaloutas 793768f3af fix: bottom bar position 2023-04-12 20:37:52 +08:00
Konstantinos Kaloutas e8817bcc41 chore: add tests 2023-04-12 20:37:52 +08:00
Konstantinos Kaloutas 72277222d9 chore: add debugger 2023-04-12 20:37:52 +08:00
Tienson Qin 8c5314d449 fix: lint 2023-04-12 20:37:52 +08:00
Tienson Qin 6f1237a8b5 enhance: bottom bar to show undo mode 2023-04-12 20:37:52 +08:00
Tienson Qin e04ec1dd08 chore: rename components.sidebar to components.container 2023-04-12 20:37:52 +08:00
Tienson Qin d9cfebd384 enhance: disable copy ref notification 2023-04-12 20:37:52 +08:00
Tienson Qin af87b0e3ba fix: lint 2023-04-12 20:37:52 +08:00
Tienson Qin 81f571a7d6 enhance: mod+c mod+u to toggle undo/redo mode 2023-04-12 20:37:52 +08:00
Tienson Qin 68691467de feat: limit the scope of undo/redo to page only 2023-04-12 20:37:52 +08:00
Tienson Qin 593526f578 enhance: restore both route and right sidebar when undo/redo 2023-04-12 20:37:52 +08:00
charlie d8af0cc35a feat(ui): WIP number list block 2023-04-12 17:43:14 +08:00
Konstantinos 95149e13f6
Feat: Export to image (#9037)
* feat: export to image

* chore: export selection on whiteboards

* fix: whiteboards zoom on export

* fix: loading position

* chore: support video thumb

* core: add export to  whiteboards context menu

* fix: context menu entry

* fix; copy image to clipboard

* fix: copy / export label

* fix: hide ui elements

* fix: remove random character

* fix: graph export

* chore: remove console log and jpg format

* style: run prettier

* fix: disable on multiple selected blocks

* fix: multiple blocks

* enhance: restrict bounds of selected shapes

* chore: export selection on whiteboards

* fix: whiteboards zoom on export

* chore: support video thumb

* core: add export to  whiteboards context menu

* fix: context menu entry

* fix; copy image to clipboard

* fix: copy / export label

* fix: hide ui elements

* fix: remove random character

* fix: graph export

* chore: remove console log and jpg format

* style: run prettier

* fix: disable on multiple selected blocks

* fix: multiple blocks

* enhance: restrict bounds of selected shapes

* Fix any html2canvas related functionality failing in publishing

* fix: portal header gradient on export

* chore: add comment about html2canvas-ignore attr

* fix: use export padding constant

* fix: export collapsed portals with size >  medium

* fix: reset export type

* enhance: export filename

---------

Co-authored-by: Gabriel Horner <gabriel@logseq.com>
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2023-04-12 17:39:22 +08:00
Tienson Qin 339fb7ceb2
fix: buggy selection hightlights (#9074) 2023-04-12 17:19:06 +08:00
Konstantinos Kaloutas 0edb4f5f5a fix: iphone main toolbal issue 2023-04-12 15:15:53 +08:00
Konstantinos Kaloutas d86dbde640 feat (whiteboards): Support custom colors 2023-04-12 15:15:53 +08:00
Seokseong Jeon 86446af159 Correct a comment in config.edn 2023-04-12 13:32:06 +08:00
megayu c90e266310
Fix: Delete and backspace deleting block ids and breaking references (#8974)
* 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>
2023-04-12 12:17:13 +08:00
Tienson Qin b17c4ea37e
enhance: show custom title instead of live query for custom queries (#9026)
* enhance(ui): replace live query with custom title if exists

also moved query related components to frontend.components.query

* fix: simplify query components' state
2023-04-12 11:12:05 +08:00
Gabriel Horner 5cce967192 Add nbb-test-runner to graph-parser
Replaces manual, hardcoded runner
2023-04-12 11:02:43 +08:00
Gabriel Horner 7dc9c41899 Fix nbb.edn paths with latest nbb-logseq
Also upgrade nbb-logseq in other deps
2023-04-12 11:02:43 +08:00
charlie d4950b1898 enhance(ui): add hint class for the blank content block 2023-04-12 00:40:20 +08:00
djaggi 3971988c76 fix twitter badge README.md 2023-04-11 23:23:53 +08:00
Mikhail Smelov df5cddbfb3
Enhance: Improve Russian (ru) translations (#9050)
Co-authored-by: situ2001 <yongcong2001@outlook.com>
2023-04-10 09:58:44 -04:00
Gabriel Horner 50ff53ea72 Mention setup required for bb command 2023-04-09 23:13:33 +08:00
Gabriel Horner ba840399ff Export should error with exit 1 when an error occurs
Also provide skip env var for when not wanting latest publishing
2023-04-09 23:13:33 +08:00
Gabriel Horner 12c0ae38e5 Fix tests and lints
- Fix publishing tests missing dev dep and workaround nbb.edn bug
- Fix regex which fails in cljs tests
- Fix typo
- Fix missing dep in job
2023-04-09 23:13:33 +08:00
Gabriel Horner fef07fe812 Add docs and workflow for dep
Also rename dep to publishing for consistency with existing names
2023-04-09 23:13:33 +08:00
Gabriel Horner 5186070248 Finish migration of publishing to deps
* Frontend and cmdline version use the same fns!
* Add docstrings and db tests
* Fix bug with intermittently failing asset copies
* Move publish cli to scripts since publish-spa shouldn't have graph-parser dependency
* Fix parse-graph bug noticed while testing publishing
2023-04-09 23:13:33 +08:00
Gabriel Horner 9ac17d485a Wire up frontend to use nbb export and html
- Add tests for export
- Refactor export to be more readable
- Add error notification for export that user can see
- Remove unused :ui/show-recent? state
- Cleanup and move escape fns to proper locations
2023-04-09 23:13:33 +08:00
Gabriel Horner 66fdb73bce Reorg namespaces and add package.json
Also add db support
2023-04-09 23:13:33 +08:00
Gabriel Horner 76c4e49f34 Working POC! 2023-04-09 23:13:33 +08:00
Gabriel Horner a748b4f6b3 PoC on porting electron.core to cmd
Also added dev:build-publishing
2023-04-09 23:13:33 +08:00
Gabriel Horner 9bf867e9ff Update comment to reflect update in #9016 2023-04-07 10:00:04 -04:00
Tienson Qin bdc15d04db fix: default value :scheduled/future-days is 7 2023-04-07 14:13:03 +08:00
Tienson Qin fdef07ded9 fix: trigger query only once 2023-04-07 14:13:03 +08:00
Tienson Qin f7f2a26fa6 fix: scheduled and deadlines no long works 2023-04-07 14:13:03 +08:00
Tienson Qin 0352a14486 fix: built-in queries share the same logic as other custom queries 2023-04-07 14:13:03 +08:00
Tienson Qin fe84cf1137 fix: don't re-run queries when hovering the foldable title 2023-04-07 14:13:03 +08:00
charlie 30df4c220b fix(ui): unwanted reset style from amplify ui 2023-04-06 14:36:36 +08:00
charlie 462967e7dc fix(api): sometimes the http api server not auto restart 2023-04-06 14:35:30 +08:00
Adam Hupp 34e806999f
Simplify Windows development docs (#8857)
* Simplify Windows development docs

This PR simplifies the Windows development setup documentation, specifically:

 * Uses `winget` for installing pre-requisites.  This is installed by default on modern windows and is now the "standard" package manager.
 * Use clj-msi to install clj.exe, rather than the clojure-tools powershell module.  This allows the build to work without modifying package.json
 * Remove build instructions that are out of date and now inconsistent with the develop-logseq.md doc.

* Update develop-logseq-on-windows.md

Include scoop and chocolately instructions, explicitly redirect to develop-logseq.md for build info.
2023-04-05 12:56:48 -04:00
Zhizhen He 08d5eaff09
chore: change feature icon from tie-app-feature to square-asterisk (#8805) 2023-04-05 09:31:34 -04:00
Tienson Qin a1c3804e96 enhance(ux): add an apply button to multiple selects 2023-04-05 00:09:07 +08:00
Gabriel Horner b2e6e3d16b Update large-var kw to reflect correct state 2023-04-04 11:49:03 -04:00
charlie 9b4fcbba66 fix: lint 2023-04-04 11:49:03 -04:00