Commit Graph

8340 Commits

Author SHA1 Message Date
Peng Xiao
e77fd12a22 fix: disable rotate 2022-08-06 23:27:47 +08:00
Peng Xiao
c093251f40 fix: more styles 2022-08-06 23:23:25 +08:00
Peng Xiao
eef15ab991 fix: hide breadcrumb preview in whiteboard 2022-08-06 23:15:45 +08:00
Peng Xiao
c8d34a0106 fix: highlighted should have no border-radius 2022-08-06 23:11:46 +08:00
Peng Xiao
c8d3d39c0e Merge remote-tracking branch 'upstream/master' into whiteboards 2022-08-06 23:07:15 +08:00
Peng Xiao
fe561bd730 fix: minor change 2022-08-06 23:06:55 +08:00
Peng Xiao
d5a1bbf1a9 feat: enhance quick add ux 2022-08-06 23:03:09 +08:00
lecoan
0c563facad improve UX design: click the plugin title to open README (#6286)
* improve UX design: click the plugin title to open readme

* improve UX design: let the icon clickable

* improve UX design: rename the function from open-plugin-readme! to get-open-plugin-readme-handler
2022-08-06 21:11:19 +08:00
Peng Xiao
7ba324bfd2 fix: quick add by block or page 2022-08-06 17:36:34 +08:00
Peng Xiao
ecfb82d8a3 fix: dashboard preview 2022-08-06 15:50:34 +08:00
Peng Xiao
357a51c8bd fix: normal page cannot be saved 2022-08-06 15:45:43 +08:00
Peng Xiao
0f42e9fd13 fix: remove unsed file 2022-08-06 14:52:18 +08:00
Peng Xiao
06f1594fad feat: tag icon in list 2022-08-06 14:38:10 +08:00
Peng Xiao
1352ee404e fix: some ux fix 2022-08-06 14:25:39 +08:00
Peng Xiao
b9bc4130e9 fix: tests 2022-08-06 13:29:36 +08:00
Peng Xiao
37f0893b01 fix: remove some logging 2022-08-06 10:40:09 +08:00
Peng Xiao
c8075a7ee0 Update whiteboard.cljs 2022-08-06 10:38:35 +08:00
Peng Xiao
e9e2df17df fix: should not remove child block 2022-08-06 00:39:54 +08:00
Peng Xiao
1ea91988a2 decorate shape links 2022-08-06 00:22:38 +08:00
Peng Xiao
aa224fb6de fix: some displaying styles 2022-08-06 00:13:33 +08:00
Peng Xiao
1e476bd26c feat: add tabler icon extensions 2022-08-05 21:50:58 +08:00
Peng Xiao
3ed5476ba8 fix: innerheight minor change 2022-08-05 14:24:54 +08:00
Peng Xiao
712c49906c fix: editing issue 2022-08-05 14:16:19 +08:00
Peng Xiao
b30adea656 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-08-05 13:59:06 +08:00
Peng Xiao
5ce5a1bfc3 fix: remove debug code 2022-08-05 11:33:14 +08:00
Peng Xiao
5f6dad4526 quick add single block 2022-08-05 11:28:24 +08:00
Peng Xiao
fcd158fdc8 quick add block shape 2022-08-05 01:58:39 +08:00
Phoenix Eliot
7eef27c020 Add comments to editor keyup-handler cases 2022-08-04 13:38:17 -04:00
netwjx
6205027909 Finish Chinese Translations 2022-08-04 13:19:50 -04:00
Peng Xiao
a2103a0d45 all pages: filter by whiteboard 2022-08-05 00:10:29 +08:00
Peng Xiao
2f0125b31f fix: quick click to reset zoom 2022-08-04 23:46:10 +08:00
Peng Xiao
ba3077dcad fix: styles cleanup 2022-08-04 22:49:07 +08:00
Tienson Qin
027ede88df fix: breadcrumb context navigation 2022-08-04 22:15:25 +08:00
Peng Xiao
2c42d4f7e5 fix 2022-08-04 21:59:27 +08:00
Tienson Qin
b6a7a11fac fix: safe check block content 2022-08-04 21:23:11 +08:00
Tienson Qin
db700fe740 fix: Aliases where both pages exist break linked references
related to #6263
2022-08-04 21:16:12 +08:00
Tienson Qin
f1ee980e47 fix: do not overwrite .md file if it already exist
close #1332
2022-08-04 21:01:25 +08:00
Tienson Qin
59b924f25d fix: CI 2022-08-04 17:25:29 +08:00
Gabriel Horner
4ec5827902 Move block-ref fns and vars to their own ns
Similar to page-ref to keep namespaces explicit
2022-08-04 17:25:29 +08:00
Gabriel Horner
e0b1f6b2de Move common uses of page-ref to its own ns
By having a specific ns for page-ref utils, our code is more readable
and intention revealing. Also found that
text/{get-page-name,page-ref-un-brackets!} was getting called in
contexts that didn't make sense e.g. query layer was checking for
markdown and org page-refs
2022-08-04 17:25:29 +08:00
Gabriel Horner
8be0deecd0 Move markdown property colons into a var 2022-08-04 17:25:29 +08:00
Gabriel Horner
001e0d302d Finish block-ref helpers
There were a couple scattered in 2 text namespaces and there were
a couple uses of block-ref that involved escaping.
Removed block-ref-un-brackets! once it was seen as the equivalent
of an or statement
2022-08-04 17:25:29 +08:00
Gabriel Horner
a3d30e0b52 Move all block ref parens strings to vars
Extracted a couple fns we kept reinventing across namespaces
2022-08-04 17:25:29 +08:00
Peng Xiao
10b4985190 fix: pasted logseq shapes should also auto resize 2022-08-04 17:10:40 +08:00
Tienson Qin
e1e8ff8a92 fix: paste copied quote block got messed content
close #6229
2022-08-04 13:47:22 +08:00
Gabriel Horner
b66ec9cd9f Add tests to confirm property completion fix
Move current-line to specific clause for performance as fn is run on every keystroke
2022-08-04 13:43:10 +08:00
maxweilun1989
d12437722d fix: only show perperty search when current line is wrapped by . #6146 2022-08-04 13:43:10 +08:00
Tienson Qin
a1ca6820df Fix: broken linked references (#6105)
* enhance: clicking the refresh button if a query is slow

* fix: skip running slow queries if there's no need to refresh

* fix: linked reference filtering does not work on TASK items

close #1669

* fix: each block should have its own page as a reference when query page references

* fix: references

* fix: non consecutive blocks in query result and filtered linked references

* simplify filters logic

* fix: ref numbers

* Save both :block/refs and :block/path-refs for different usage

* fix: block refs

* enhance: move scheduled and deadlines to its own ns

* linked references performance tweaks

* mouse hover filters icon to expand the collapsed linked refs

* perf: react/refresh! once instead twice

* enhance: compute flashcards every hour instead of every 5s

* feat: macros as blocks

* feat: flashcards list

* fix: refed pages count

* fix: can't select in linked references

* fix: block editing on linked refs

* perf: editing in linked references

* enhance: update srs cards number when clicking flashcards

* Add a test for the case fixed in #6100

* Address feedbacks from Gabriel

* fix: Block Ref Indicator is missing from the references-blocks class

close #5375

* fix: referenced pages

* fix: page refs

* fix: Using filters pushed the title property to the second block

close #5845

Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2022-08-04 13:03:12 +08:00
Peng Xiao
817d844758 fix: disable some conflicting whiteboard shortcuts 2022-08-04 10:17:11 +08:00
charlie
0694154829 fix(lint): remove unused var 2022-08-03 18:38:49 +08:00