Commit Graph

1542 Commits

Author SHA1 Message Date
Gabriel Horner
b5ed337f3b fix: /node embed failing hard
new nlp pages tripped this up
2024-09-19 17:36:23 -04:00
Tienson Qin
c3f0cc1953 fix: disallow # in page name
Because it creates ambiguity in some cases:
1. With cmd-k we can’t tell the difference between an Apple page
tagged with Fruit and a page named "Apple #Fruit"
2. What should we do with [[Apple #Fruit king]]?
3. Is `#` for Markdown heading or part of a page name?

Fixes https://github.com/logseq/db-test/issues/100
Fixes https://github.com/logseq/db-test/issues/106
Fixes https://github.com/logseq/db-test/issues/105
2024-09-19 06:31:26 +08:00
charlie
2f7d268692 fix(ui): keyboard shortcuts not working in linked references https://github.com/logseq/db-test/issues/97 2024-09-18 14:17:42 +08:00
Tienson Qin
42f127b396 feat: support nlp date in node reference (#11531)
feat: support nlp date in node reference
2024-09-18 10:41:37 +08:00
Tienson Qin
378476f418 fix: can't create page reference for today's date
fixes https://github.com/logseq/db-test/issues/85

This allows a block to reference its parents and a page's block to
reference this page.
2024-09-16 05:37:50 +08:00
Tienson Qin
4cdedf754e fix: can't update non-built-in property name
close https://github.com/logseq/db-test/issues/68
2024-09-15 17:29:07 +08:00
Tienson Qin
a47608e953 fix: inline namespace tag editing 2024-09-15 11:58:32 +08:00
Gabriel Horner
a246db8a82 fix: remove built-in properties only used by file graphs
In #11508 we switched to a new table component for db graph queries which left
these built-in properties unused. Also moved file query code to
file-based namespaces and fixed a bug where multiple query properties
couldn't be set for a file graph query
2024-09-13 12:08:42 -04:00
Tienson Qin
4b3534476c fix: display parent in editor mode 2024-09-13 23:56:00 +08:00
Tienson Qin
46f2667976 enhance(ux): display collapse button on page title if collapsable
This makes it easier to collapse/expand properties for pages.
2024-09-11 09:09:07 +08:00
Gabriel Horner
e5e9c5c687 chore: mv file-based util namespaces to their own directory
Makes maintenance of different graph types easier and increases linting
of what occurs in these namespaces
2024-09-09 14:31:56 -04:00
Tienson Qin
1e70ed0ae5 fix: clearing the search box for setting node icons deletes nodes
fixes https://github.com/logseq/db-test/issues/62
2024-09-10 00:30:18 +08:00
Tienson Qin
1cc7078a4f fix: backspace shifts adjacent property
fixes https://github.com/logseq/db-test/issues/50
2024-09-06 06:36:37 +08:00
Tienson Qin
d0e04000f5 fix: alias to tag a node 2024-09-05 04:39:09 +08:00
charlie
565deb69a0 fix(ux): enter interaction for the icon picker from block property 2024-09-04 16:48:59 +08:00
Tienson Qin
c7677c813e refactor: set parent for any page, not just tags (#11494)
* refactor: replace :class/parent with :logseq.property/parent

* replace :class/schema.properties with property.class/properties

* enhance: display schema properties directly in Tag properties

* tag properties style tweaks

* fix: properties view context

* fix: limit parent to be classes or pages depends on the current node

* enhance: display ancestors in Parent

* fix: ancestors

* enhance: display tag properties always for tags

* enhance: display tag block container instead of properties area

* enhance: show add property as popup instead of dialog

* fix: tag parent must be a tag

* enhance: display properties in the right sidebar

* fix: tags style

* fix: icon style

* fix: positioned icons

* fix: lint

* fix: tests

* fix: remove properties from rtc watched attrs

* fix: graph-parser tests

* enhance: style tweaks

* enhance: page/create parses tags from user-input title

* enhance(ux): [[ref]] followed by # (no whitespace) to add tags

* fix: tests

* fix: graph-parser lint and tests

* fix: allow tagged nodes to be parents

* enhance(ux): display tag property descriptions

Also, make it editable.
2024-09-03 07:32:38 +08:00
Gabriel Horner
1401bb1dd9 enhance: unify advanced commands with slash commands
fixes LOG-3206
2024-08-27 12:36:46 -04:00
Tienson Qin
4859ecd7ea fix: page title shouldn't be blank 2024-08-27 23:22:27 +08:00
Tienson Qin
d20f4d9b8e fix: css tweaks 2024-08-27 23:22:27 +08:00
Tienson Qin
69816cdd2b fix: cmd-k search deletes unsaved changes
fixes https://github.com/logseq/db-test/issues/27
2024-08-23 14:55:47 +08:00
charlie
36cb047997 fix(ui): invalid input for command popups in block editing mode 2024-08-19 12:50:55 +08:00
Tienson Qin
562c83eab2 fix: cut and Paste does not copy the contents of properties
fixes https://github.com/logseq/db-test/issues/20
2024-08-19 11:02:45 +08:00
charlie
b755369a0b enhance(apis): get blocks from batch blocks insertion 2024-08-15 17:26:51 +08:00
Tienson Qin
7e5c195df6 chore: disable advanced commands for db graph 2024-08-13 10:45:11 +08:00
Tienson Qin
faecfd6859 fix: safe check block/title 2024-08-12 17:33:15 +08:00
Gabriel Horner
fc518f0756 fix: block not collapsing for simple queries 2024-08-09 14:39:50 -04:00
Tienson Qin
59103a1607 fix: can't edit notes for class and property page 2024-08-09 18:17:08 +08:00
Tienson Qin
ce11e09c7b enhance: disable (()) to trigger node embed to avoid confusion 2024-08-09 13:02:47 +08:00
Tienson Qin
a6e0b0a092 chore: remove ar support 2024-08-08 11:44:32 +08:00
Tienson Qin
411b05e7ba Prefer to use ldb/{type}? check when possible 2024-08-05 17:51:24 +08:00
Tienson Qin
4083a2d0a0 enhance: prefer tag instead of class on UI
Some users are confused with Classes/Objects, so on UI it'll be
Tags/Nodes.
2024-08-05 15:06:54 +08:00
Tienson Qin
4cb9cb63a6 Merge branch 'feat/db' into refactor/single-block-type 2024-08-03 15:34:40 +08:00
charlie
ea58da6083 enhance(ui): simplify codes for modals 2024-08-01 16:28:36 +08:00
Tienson Qin
d26e620a82 refactor: update :block/type to cardinality one instead of many 2024-07-31 19:35:26 +08:00
Tienson Qin
4bda9ee559 fix: lint warning 2024-07-29 13:45:24 +08:00
Tienson Qin
b3a786db02 Merge branch 'feat/db' into refactor/narrow-gap-between-page-and-block 2024-07-29 13:36:00 +08:00
Tienson Qin
47737148f8 fix: node could be invisible in viewport but still exists in dom 2024-07-25 23:45:35 +08:00
Tienson Qin
eb1108527c fix: virtualized blocks selection 2024-07-25 23:12:58 +08:00
Tienson Qin
6d48200d76 fix: selection 2024-07-25 22:33:21 +08:00
Tienson Qin
0eaf10cacc fix: selection for virtualized blocks 2024-07-25 21:35:40 +08:00
charlie
5c8190e5e4 fix(ux): incorrect blocks selection for the mouse events on virtual list mode 2024-07-25 17:52:27 +08:00
Tienson Qin
1e01cdbd85 fix: # auto-complete classes only 2024-07-24 15:24:14 +08:00
Tienson Qin
e3723141fa fix: copy block ref for db graphs
Copy block embed has been disabled for now, it needs to be fixed first.
2024-07-22 22:01:21 +08:00
Tienson Qin
cada6e2d9b fix: delete tagged block 2024-07-22 21:14:59 +08:00
Tienson Qin
a1a65a4fa0 enhance: reduce search block timeout
Because the search is using fts5 instead of including full-text like
search result.
2024-07-22 18:04:41 +08:00
Tienson Qin
8bb6e7be6b enhance: (()) to embed && [[]] to reference 2024-07-22 17:10:56 +08:00
Tienson Qin
8864bd5b22 chore: disable (()) block ref since it's already supported by [[]] 2024-07-22 16:45:54 +08:00
Tienson Qin
a44f6c27d5 Merge branch 'feat/db' into refactor/narrow-gap-between-page-and-block 2024-07-21 11:34:49 +08:00
Tienson Qin
3d8cc3df08 fix: [[]] auto complete support all kinds of blocks 2024-07-21 07:34:29 +08:00
Tienson Qin
d55519ef8d fix: page auto-complete 2024-07-20 21:41:48 +08:00