Commit Graph

18 Commits

Author SHA1 Message Date
Peng Xiao
4520399ddf Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-28 10:29:20 +08:00
Gabriel Horner
1f0e22275d Add ns docstrings for most ns in src/main
- Added to CI now that it passes
- Added no-doc for docstrings that don't add any more than what's in the
ns name or for ones where I didn't know the ns that well
2022-09-27 13:55:16 +08:00
Gabriel Horner
639001971d Add shortcut for seeing whiteboards and minor fixes
See #6812 for the catch and we should be using our util fns
for ref chars
2022-09-24 02:58:10 -04:00
Peng Xiao
b30adea656 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-08-05 13:59:06 +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
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
Tienson Qin
e1e8ff8a92 fix: paste copied quote block got messed content
close #6229
2022-08-04 13:47:22 +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
cefe46072e fix: whiteboard path-refs 2022-07-24 10:26:20 +08:00
Peng Xiao
6bf4b05141 feat: pasting shapes into outliner 2022-07-23 23:31:42 +08:00
Andelf
0c19a02a2d fix(editor): handle windows crlf in clipboard 2022-06-16 17:52:29 +08:00
Tienson Qin
f8ace0bc8d enhance: simplify copied state 2022-06-16 16:35:56 +08:00
Tienson Qin
d81dcb2de3 fix: pasting does not replace a selected text
related to #5700
2022-06-16 06:48:22 +08:00
Tienson Qin
6a8ef4f4f8 enhance(ux): convert a url to markdown/org link when pasting 2022-06-16 06:17:28 +08:00
Tienson Qin
a59a7d9643 fix: lint warnings 2022-06-16 04:47:17 +08:00
Tienson Qin
807beb2586 fix: simplify internal pasting check 2022-06-16 04:47:17 +08:00
Tienson Qin
b59d98ada5 fix: paste blocks 2022-06-16 04:47:17 +08:00