Commit Graph

19574 Commits

Author SHA1 Message Date
rcmerci
048bd106f6 enhance(rtc): try to restart-rtc when network-online event emits 2025-04-23 17:10:03 +08:00
rcmerci
d03810da2f enhance: update created-by-ref property when :block/title changed from empty to non-empty 2025-04-23 14:44:56 +08:00
Tienson Qin
85479ad337 fix: delete empty page error 2025-04-23 10:30:06 +08:00
Gabriel Horner
8cb5fecb91 fix: user can't reverse a class parent decision
Class parent defaults to Root but user can't select it later. This
should be reversible, especially given how much functionality this
affects. Fixes #256
2025-04-22 09:50:51 -04:00
Tienson Qin
4c74d25490 enhance: put markdown export next to edn 2025-04-22 21:00:48 +08:00
Gabriel Horner
954ec0c721 fix: graph md exports have no indent
Affected both graph types
2025-04-22 21:00:48 +08:00
Gabriel Horner
5685fe5540 enhance: enable basic markdown export
Dont include built-in entities which are a lot in db graph, except for
user facing ones like Contents
2025-04-22 21:00:48 +08:00
Tienson Qin
7f9517c7d8 fix: (rseq nil) throws error 2025-04-22 19:02:28 +08:00
Tienson Qin
c6560231d3 fix: cardinality one property get multiple values in db
The bug was introduced by 3a41bbcdbe
2025-04-22 18:59:37 +08:00
Tienson Qin
18c0762f6e chore: bump datascript 2025-04-22 16:29:27 +08:00
Tienson Qin
be66b5e6c0 chore: bump datascript 2025-04-22 09:56:45 +08:00
Tienson Qin
6788818aec enhance: property keyboard navigation (#11825)
Keyboard enhancements:

1. UP/DOWN to navigate between blocks and properties, the property value will be focused and highlighted
2. Backspace/Delete to delete a property value and move it to the nearest property or block above
3. Enter/Space to open datetime and select type property value
2025-04-21 23:22:48 +08:00
Tienson Qin
727391fe7a fix: don't show breadcrumb for pages when tagging 2025-04-21 18:01:05 +08:00
Tienson Qin
615e2a392e enhance(ux): display existing choices when choosing node property 2025-04-21 17:55:51 +08:00
Tienson Qin
30d230380f perf: skip db persistent for previous actions in pipeline 2025-04-20 23:21:50 +08:00
Tienson Qin
0df1208ae6 fix: remove d/store calls
There's a bug with `d/store`: it doesn't clear `tx-tail` in the conn atom.
2025-04-20 19:32:24 +08:00
Tienson Qin
7d436cf5eb chore: bump datascript 2025-04-20 18:03:23 +08:00
Tienson Qin
878331c53e fix: block title inline 2025-04-20 12:30:11 +08:00
Tienson Qin
2a8461b41a fix: no way to edit the query as the settings icon doesn't show up 2025-04-20 12:18:36 +08:00
Tienson Qin
f843df9482 fix: empty data not trigger query view re-render 2025-04-20 12:18:36 +08:00
Gabriel Horner
6042c8b112 refactor: keep testing concerns in tests
Move testing requirement to relevant test to make production code easier
to maintain. Where possible we should avoid helpers like util/node-test? as
they couple testing concerns with production code
2025-04-20 12:18:36 +08:00
Tienson Qin
c9177abc9a fix: tests 2025-04-20 12:18:36 +08:00
Tienson Qin
b7c45f881c fix: don't show query builder for non-query blocks 2025-04-20 12:18:36 +08:00
Tienson Qin
46bdd1a366 enhance: set query title && code 2025-04-20 12:18:36 +08:00
Tienson Qin
abf90fbb7d fix: queries don't automatically update
Fix https://github.com/logseq/db-test/issues/237

This commit also updates custom queries to only fetch :db/id to
improve performance.
2025-04-20 12:18:36 +08:00
Gabriel Horner
aa45b3fa6c fix(regression): paths of file graph exports
markdown + opml exports had zipped files several
directories deep because they used the full path of the graph
2025-04-18 14:36:51 -04:00
Gabriel Horner
63403bd8c5 fix: remove unused workarounds from #11774
Previous commit fixed these issues
2025-04-18 12:33:51 -04:00
Gabriel Horner
4ad4944b4e fix: for file graphs, tags with blank space in the namespace parent
creates entities with nil :block/title to be created. This
created unexpected bugs in the UI e.g. all pages and
caused duplicate content to appear.
Example from test graph: 'tags:: [[Some / Namespace ]]'
Fixes
https://test.logseq.com/#/page/68017fb5-7b9c-448a-9f64-6bb8d8669396
2025-04-18 12:29:06 -04:00
Tienson Qin
bc534793cc fix: don't show file sync graphs on web 2025-04-18 15:34:55 +08:00
Tienson Qin
7583e6c00b chore: remove debug 2025-04-18 10:29:43 +08:00
Tienson Qin
a70372ac88 enhance: unify page and block references 2025-04-18 10:24:09 +08:00
Gabriel Horner
548971bdf4 chore: remove test :focus 2025-04-17 14:28:05 -04:00
Gabriel Horner
a4ff003263 Merge pull request #11823 from megayu/enhance/command-input
enhance:  / command input tolerance
2025-04-17 14:26:17 -04:00
Gabriel Horner
c56f3312df fix: resizing image breaks validity of :url blocks
db graphs should storing this in properties, not text.
Fixes https://github.com/logseq/db-test/issues/241
2025-04-17 13:43:20 -04:00
Tienson Qin
cb43e4025e Merge branch 'feat/db' into enhance/command-input 2025-04-17 23:08:28 +08:00
Mega Yu
3a6888d48a command input tolerance threshold set to 2 2025-04-17 23:00:22 +08:00
Tienson Qin
2f5625818c resolve conflicts 2025-04-17 22:52:51 +08:00
Tienson Qin
9a94698917 fix: fuzzy search on commands returns wrong result 2025-04-17 22:50:46 +08:00
Gabriel Horner
76c60b59c9 fix: backspace on block with property deletes prev children
Fixes https://github.com/logseq/db-test/issues/249
2025-04-17 22:50:46 +08:00
Tienson Qin
031ab92709 fix: can't set status in page reference 2025-04-17 22:50:46 +08:00
Tienson Qin
1d4c6a100f enhance: hide group when user already input some command text 2025-04-17 21:53:25 +08:00
Tienson Qin
5bd127b101 fix: fuzzy search on commands returns wrong result 2025-04-17 21:42:20 +08:00
Gabriel Horner
424dfce32c fix: backspace on block with property deletes prev children
Fixes https://github.com/logseq/db-test/issues/249
2025-04-17 09:40:08 -04:00
Tienson Qin
05d87883bb fix: can't set status in page reference 2025-04-17 21:08:03 +08:00
Tienson Qin
86be0ac83e Merge branch 'feat/db' into enhance/command-input 2025-04-17 20:48:58 +08:00
Tienson Qin
b30f679eef fix: lint 2025-04-17 20:48:39 +08:00
Mega Yu
cfd5ea9d0b enhance the / input tolerance 2025-04-17 20:41:36 +08:00
Tienson Qin
813d18402f fix: lint 2025-04-17 20:38:29 +08:00
Tienson Qin
cb66a5ad7f fix: check and fix db schema 2025-04-17 20:26:40 +08:00
Tienson Qin
0baaadadeb chore: remove react-tippy css 2025-04-17 18:34:26 +08:00