Commit Graph

7639 Commits

Author SHA1 Message Date
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
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
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
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
charlie
d4950b1898 enhance(ui): add hint class for the blank content block 2023-04-12 00:40:20 +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
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
76c4e49f34 Working POC! 2023-04-09 23:13:33 +08: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
462967e7dc fix(api): sometimes the http api server not auto restart 2023-04-06 14:35:30 +08: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
charlie
cd844da008 fix(ui): heading image overflow for the breadcrumb items 2023-04-04 11:49:03 -04:00
charlie
4e631eed0c fix(ui): heading image overflow for the breadcrumb items 2023-04-04 11:49:03 -04:00
Tienson Qin
07a0f78e52 fix: hash tags enclosed in double brackets is broken
close #8942
2023-04-04 23:48:38 +08:00
Tienson Qin
040deb7212 fix: lint 2023-04-04 17:53:32 +08:00
Mega Yu
2de72bafb8 add missing i18n text to context menu 2023-04-04 17:13:23 +08:00
Mega Yu
25306c6a9b replace hardcode text with text from i18n dicts 2023-04-04 17:13:23 +08:00
Mega Yu
560eee72fb add shortcut key prompts to the context menu 2023-04-04 17:13:23 +08:00
Andelf
8edaa256db fix(ios): no permission warning
See-also #9002
2023-04-04 13:34:08 +08:00
Andelf
ff04cc2009 fix(ios): handle invalid path selection 2023-04-04 13:34:08 +08:00
Andelf
378afac510 fix(ios): folder creation 2023-04-04 13:34:08 +08:00
OneGameKoTT
d584055da5 Add Ukrainian translation 2023-04-03 14:34:47 -04:00
OneGameKoTT
40835bd266 Add Ukrainian translation 2023-04-03 14:34:47 -04:00
Mikhail Smelov
38c3f5d03b Improve Russian (ru) translations 2023-04-03 14:31:03 -04:00
Tienson Qin
327c29af49 fix: disable backspace from the start and delete in the end for query 2023-04-04 00:46:45 +08:00
Gabriel Horner
60b2eac6fc Fix default for :block/properties-order for #8930 2023-04-03 10:30:49 -04:00
rcmerci
14d91a5f6d fix inline-link when html export 2023-04-03 20:18:21 +08:00
rcmerci
9b5bdb2f69 remove placeholder tag when html export 2023-04-03 20:18:21 +08:00
rcmerci
ab2f147336 prettify html and opml export 2023-04-03 20:18:21 +08:00
megayu
81c1397106 Enhance context menu (#8930)
* replace duplicate code

* only select current block during open contxt menu & fix issue 7689

* change unnecessary mixin function to value

* add bgcolor to custom context menu

* add collapse/expand to custom context menu

* remove redundant code

* fix misdirected comment

* add make card to custom context menu

* add heading to custom context menu

* Merge branch 'master' into enhance/context-menu

* fix undo heading need multiple times

* Revert "Merge branch 'master' into enhance/context-menu"

This reverts commit d4222db6bb.

* fix: lint

* fix heading case logically incorrect

* format code

---------

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2023-04-03 12:59:59 +08:00