Commit Graph

305 Commits

Author SHA1 Message Date
Tienson Qin
b19fcdd3cb chore: add heading-level to query 2022-09-30 00:35:59 +08:00
Tienson Qin
8b144269f7 refactor: unify heading UX for both markdown and org mode 2022-09-27 16:12:23 +08:00
Tienson Qin
310bff0fad fix: CI 2022-09-21 16:02:21 +08:00
Tienson Qin
30e87ec5ea fix: linked blocks are not modified when renaming a page 2022-08-23 21:23:42 +08:00
Tienson Qin
7f2666da74 fix: lint warnings 2022-08-22 17:08:53 +08:00
Tienson Qin
3d5825330e wip: fix wrong refs and filters 2022-08-22 17:08:53 +08:00
Tienson Qin
21603f9d1d fix: distinct blocks when sort by left 2022-08-15 21:58:46 +08:00
Tienson Qin
6e87aa9386 perf: don't refresh all paginated blocks queries 2022-08-15 21:58:46 +08:00
Tienson Qin
64d1fdec4c perf: use avet index to speed up block children query 2022-08-15 21:58:46 +08:00
Tienson Qin
fd5f3b4f60 perf: refs reactive query 2022-08-15 21:58:46 +08:00
Tienson Qin
517de6737e fix: try to sort blocks by left 2022-08-15 21:58:46 +08:00
Tienson Qin
d6abc839ec fix: performance degradation for 0.8.0 2022-08-15 21:58:46 +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
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
Gabriel Horner
49fbdd0244 Merge pull request #6214 from logseq/fix/hidden-properties-in-autocompletion
Fix: Property completion for hidden properties and property ordering
2022-08-01 14:42:06 -04:00
Gabriel Horner
f01e8d0ea9 Small cleanup for #6115
Move ns delimiter to vars and make remove-nested-namespaces-link more
clojure-like /cc @8N9KT
2022-07-29 10:30:09 -04:00
Gabriel Horner
f7ddfeffdf Fix hidden properties showing up in autocompletion 2022-07-28 15:46:18 -04:00
8N9KT
a18500ac53 Merge branch 'logseq:master' into fix/remove-namespace-parents-graph-links 2022-07-28 15:26:51 +02:00
8N9KT
e546ba28fc use namespace-page, fix comment and function visibility 2022-07-25 19:29:40 +02:00
8N9KT
83d51ab23f hide journals in page graph
add "Show Journals" toggle in page-graph-inner
add :right-side-bar/show-journals in en and it (dicts.cljc)
add "include-journals" parameter to db/get-pages-that-mentioned-page
add "show-journal" parameter to graph-handler/build-page-graph
2022-07-20 18:44:05 +02:00
8N9KT
6c27435369 Merge branch 'logseq:master' into fix/remove-namespace-parents-graph-links 2022-07-20 17:32:46 +02:00
8N9KT
541fae2ad8 Remove links for each level of the namespaces hierarchy pages in global graph view 2022-07-20 17:21:55 +02:00
Tienson Qin
d7cc6c4b29 fix: trailing blocks disappear when moving 2022-07-20 13:56:04 +08:00
Tienson Qin
56b2405762 fix: Long pages got cut off when toggle on/off a nested bullet
close #5422
2022-07-20 13:56:04 +08:00
Tienson Qin
b9a2a0130b chore: lint 2022-07-20 13:56:04 +08:00
Tienson Qin
4c154f40df chore: disable duplicates pprint 2022-07-20 13:56:04 +08:00
Tienson Qin
b7025b9ce4 fix: undo/redo paginations 2022-07-20 13:56:04 +08:00
Tienson Qin
d40c0d8926 fix: WIP broken undo/redo for long page 2022-07-20 13:56:04 +08:00
sawhney17
dc380ad64d fix(references): block references crash (#6061)
* fix  #6057

* clear extra files

* format

* refactor

* use multi arity to simplify
2022-07-18 10:16:24 -04:00
sawhney17
5f57c508cb address comments 2022-07-14 00:07:00 +04:00
sawhney17
e8ee6b4202 Merge branch 'logseq:master' into improve-references-filter 2022-07-12 18:31:28 +04:00
sawhney17
82886157d5 support block references 2022-07-10 16:45:23 +04:00
sawhney17
be3ddc53e4 support basic filter search 2022-07-10 11:27:40 +04:00
Tienson Qin
264801fedf fix: verify property key && make property values string when searching 2022-07-07 01:42:16 +08:00
Tienson Qin
7b74117d85 enhance: auto-complete for property values 2022-07-07 01:42:16 +08:00
Tienson Qin
49acb54178 feat: add properties as linked references 2022-07-07 01:42:16 +08:00
Junyi Du
47f5c650f9 fix: edn import: keep block uuid; remove redundant last block
fix: json import uuid failure

enhance: improve get-all-referenced-blocks-uuid query
2022-06-24 17:11:24 +08:00
Junyi Du
0cdacc35e2 feat: import from logseq edn
feat: import edn with provided uuid

feat: overwrite page uuid; use properties in content

feat: error handling for importing

feat: support json import

chore: fix lint by splitting setup ui
2022-06-24 17:11:24 +08:00
llcc
7c8ae98911 fix save issues after iOS app re-installation (#5697)
* fix save issues after iOS app re-installation
* fix: ios installation id updates when switching graphs
* fix duplicated file-paths in db

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2022-06-14 18:22:40 +08:00
Tienson Qin
156b152129 fix: slow re-index for large graphs with page-metadata.edn
related to #5547
2022-06-13 17:43:24 +08:00
Gabriel Horner
17d2462343 Move rules into db dep as it's useful for external apps
- rules is already used by logseq-query and will be useful for
  nbb-logseq
- Updated db jobs to run in deps/db by default. Less typing but
  more importantly discourages independent libraries from depending on
  external scripts.
- Moved lint-rules task into db since it is db specific now
- Also remove nbb-logseq from top-level as all nbb compatibility is in
  deps.
2022-06-10 15:39:11 +08:00
Gabriel Horner
6608537909 Move logseq.graph-parser.db* namespaces to their own dep
Also add its own CI file
2022-06-10 15:39:11 +08:00
Tienson Qin
da1e5fc3f8 fix: lint warnings 2022-06-08 17:16:20 +08:00
Tienson Qin
f49a28fa7b Merge pull request #5420 from logseq/enhance/graph-parser-part-four
Enhance: Finish up graph-parser
2022-06-02 10:00:30 +08:00
Tienson Qin
2432947607 fix: logical outdent blocks 2022-06-01 13:44:00 +08:00
Gabriel Horner
2b48d95493 Move frontend db namespaces that graph-parser depends on
graph-parser should be independent of the app
2022-05-26 18:04:45 -04:00
Gabriel Horner
5bce219ca4 Remove unused db-type being passed to start-conn
Also removed other unused db fns
2022-05-26 18:04:45 -04:00
Tienson Qin
eb42972ef9 fix: drag drop on non consecutive blocks
close #5267
2022-05-23 15:20:29 +08:00
Gabriel Horner
6f68d985bd Use core uuid fns where possible
No need for medley or personal util fns when core fns
are available. Also upgraded nbb-logseq to be 1.11.X cljs compatible

- uuid is the same as medley/uuid
- random-uuid is the same as medley/random-uuid
- uuid-string? and uuid is the same as parse-uuid
2022-05-19 14:58:33 +08:00
Tienson Qin
bf954d6cc5 chore: remove pprint 2022-05-16 19:58:10 +08:00