Commit Graph

18312 Commits

Author SHA1 Message Date
Tienson Qin
972bac527d fix: test 2024-10-08 20:24:15 +08:00
Tienson Qin
5d7bfbb540 enhance: display book icon instead of bullet for pdf books 2024-10-08 20:19:02 +08:00
Tienson Qin
812cdd5840 enhance: save new files to #asset instead of the current page
When the current editing block is not empty.
2024-10-08 19:56:35 +08:00
Tienson Qin
d06eb5f8d4 fix: pdf area annotation 2024-10-08 18:51:17 +08:00
Tienson Qin
fe8345499a fix: load pdf annotations and storing last visit page 2024-10-08 16:48:54 +08:00
Tienson Qin
7a7e22efdb fix: pdf annotation navigation 2024-10-08 15:53:34 +08:00
Tienson Qin
87699966ea wip: store pdf highlights as children of the pdf asset block 2024-10-08 15:21:31 +08:00
charlie
f05d4e40d0 fix(ux): sometimes ESC not working for the code block editor 2024-10-08 15:02:44 +08:00
Tienson Qin
6d093927b9 fix: use existing asset if checksum matches 2024-10-08 14:21:50 +08:00
Tienson Qin
998fc66132 Merge branch 'feat/db' into refactor/assets 2024-10-08 11:54:31 +08:00
charlie
3fc2beaeaa enhance(ui): polish positioned properties 2024-10-08 11:12:43 +08:00
charlie
61f583e485 fix(ui): property below the block misaligned https://github.com/logseq/db-test/issues/122 2024-10-08 11:05:34 +08:00
Gabriel Horner
eed5c8bce4 enhance: allow tag and property tables to be collapsed
improves usability of pages with large tables. Fixes logseq/db-test#135
2024-10-07 14:30:53 -04:00
Tienson Qin
e1ed2c36ee fix: can't edit inline code block
/calc has been fixed too for db version.
2024-10-07 13:00:29 +08:00
Tienson Qin
3f75a21567 fix: search defaults to phrases 2024-10-06 17:54:05 +08:00
Tienson Qin
9165b13524 fix: increase search snippet length 2024-10-06 15:12:00 +08:00
Tienson Qin
ca4460d8c6 fix: search performance 2024-10-06 15:02:39 +08:00
charlie
c8d63fe4b8 fix(ux): delete image from node ref https://github.com/logseq/db-test/issues/78 2024-10-06 14:27:26 +08:00
Gabriel Horner
b17f4a4c48 fix: tag nearest node doesn't work for new node
Fixes 1st case in logseq/db-test#100. Also display notification
so user knows that action happened since action is off screen
2024-10-04 17:09:49 -04:00
Gabriel Horner
833b9398eb fix: display warning instead of silently failing for unparseable nlp date 2024-10-04 15:34:45 -04:00
Gabriel Horner
544050302f chore: update properties graph to be better examples of query 2024-10-04 15:16:35 -04:00
Gabriel Horner
79cc7f81ae chore: mv two file-graph namespaces to file-based dirs 2024-10-04 11:33:00 -04:00
Gabriel Horner
9e85850378 enhance: show delete button for existing datetime values
fixes logseq/db-test#123
2024-10-04 10:33:47 -04:00
Gabriel Horner
391e5e0ef5 fix: click on deadline date more than once errors
in file graph
2024-10-04 10:08:52 -04:00
Gabriel Horner
e0bce3f1a7 fix: clicking on today's date on deadline again
For https://github.com/logseq/db-test/issues/65#issuecomment-2393240724
2024-10-04 09:47:40 -04:00
Gabriel Horner
adb74f9521 fix: properties should not be parents of pages or classes
when created through page creation. Similar to parent property
validation, user could create weird and meaningless combos of
property/journal parents to a page/class child. Also made a new test for
basic page creation
2024-10-03 17:22:09 -04:00
Gabriel Horner
268ae30f2d fix: 2 namespace page creation bugs
- `[[class/page]]` was creating a page with '/' in it. See
  aba8080271 for bug this causes
- `[[page/class/page]]` was silently converting the class page to an invalid page type.
Page creation shouldn't ever be converting a class to a page
- Also cleaned up unused args to split-namespace-pages and added page
  name validation now that the '/' bug is fixed
2024-10-03 16:13:20 -04:00
Gabriel Horner
830c275d54 chore: use internal-page? helper 2024-10-03 11:52:23 -04:00
Gabriel Horner
21f3adce9b fix: update parent value completion
Update completion to match validation update from previous commit
2024-10-03 11:44:09 -04:00
Gabriel Horner
f898fb5cca fix: disallow more strange parent child relationships
when setting Parent property. property and journal shouldn't be a parent
of any page right now, especially with pages of other types. Maybe
property and whiteboard can have hierarchies later
2024-10-03 10:01:06 -04:00
Tienson Qin
eeecc7ff07 Merge pull request #11555 from logseq/enhance/code-type-block
Enhance(ux): code type block
2024-10-03 18:39:26 +08:00
Tienson Qin
604e4be4d8 fix: test 2024-10-03 18:38:58 +08:00
Tienson Qin
f459444a42 Merge branch 'feat/db' into enhance/code-type-block 2024-10-03 18:35:31 +08:00
Tienson Qin
a53943e19e fix: block content not saved when exit code mode 2024-10-03 18:31:25 +08:00
Tienson Qin
ccb6ee48e4 enhance: ESC on code back to raw editor
Also, removed :editor/pending-type-block.
2024-10-03 17:16:41 +08:00
Tienson Qin
5aaa3c111d enhance: left/right arrow to navigate between code and text blocks 2024-10-03 15:47:17 +08:00
Gabriel Horner
e74912c850 enhance: import advanced queries as query objects
Fixes LOG-3247. Handles migrating deprecated options and string and non-string titles
2024-10-02 16:19:52 -04:00
Gabriel Horner
9531811b68 fix: simple queries without properties not importing
Also handle query title for simple queries. Also loosened page-tags to
allow for future logseq class importing. Fixes LOG-3243
2024-10-02 12:23:22 -04:00
Tienson Qin
deb3507bb0 enhance: copy code block
1. search and store code lang instead of mode
2. select uses frontend.components.select instead of shui input + auto-complete
2024-10-02 12:58:15 +08:00
Gabriel Horner
83c59128ad fix: db import imports simple queries with new query property
Part of LOG-3243
2024-10-01 16:57:18 -04:00
Gabriel Horner
9c08e27483 fix: don't extract and display misleading warnings
in display-type blocks. Was able to reproduce the issue in :code, :quote
and :math blocks. Fixes logseq/db-test#128.
2024-10-01 14:53:18 -04:00
Tienson Qin
3a8352ee04 enhance: increase default width for the query column 2024-10-01 15:16:17 +08:00
Tienson Qin
1bb69c74f2 enhance(ux): query
1. allow editing dsl query with both the query builder and the default text
editor
2. displays placeholder `Set query title` when a query doesn't have a
title yet
2024-10-01 15:00:34 +08:00
charlie
7d1d6f49da enhance(ux): enter to edit the code type block 2024-10-01 13:56:04 +08:00
charlie
4ae499362a Merge branch 'feat/db' into enhance/code-type-block 2024-10-01 10:23:59 +08:00
Gabriel Horner
e69621da69 fix: query tests disabled in #11551 2024-09-30 14:10:48 -04:00
Gabriel Horner
370767ed04 fix: temporary workaround for built-in today queries showing stale data 2024-09-30 12:42:57 -04:00
Gabriel Horner
15fa327aec fix: block attrs for db advanced queries
db graph advanced queries were fetching file graph attributes
2024-09-30 12:39:33 -04:00
Gabriel Horner
3d7269e7b4 fix: tweaked /Query ux so that users can see query builder immediately
Keyboard users can still type query beforehand and then type `/Query`.
Part of LOG-3249
2024-09-30 12:29:20 -04:00
charlie
5745701ef9 enhance(ux): escape to exit the code type block 2024-09-30 17:25:05 +08:00