Commit Graph

9792 Commits

Author SHA1 Message Date
Gabriel Horner
c7ab2e763c fix: api call that failed with new async call
Also update lint for recent change with frontend.db.async
2024-01-04 14:29:42 -05:00
Gabriel Horner
ec916de768 fix: property value search for file graphs
Looks like this was introduced with move to db.async
2024-01-04 14:22:10 -05:00
Gabriel Horner
358e4c4921 enhance: all pages can choose an icon, not just property
Moved closed-value/icon into icon-component as it is used in more
places than just closed-value. Also "Configure" page link is
now always shown so that a page can configure their icon regardless
of whether it has other properties
2024-01-04 11:55:01 -05:00
Tienson Qin
5ddf051057 fix: search issue 2024-01-04 17:11:10 +08:00
Gabriel Horner
7676aa1fc1 fix: invalid '+' for graph name not checked for import 2024-01-03 15:54:56 -05:00
Gabriel Horner
c8ba262fb6 fix: disallow two db graphs with same name and different case
Fix LOG-2995. Also fix redirect message when deleting db graph
2024-01-03 15:41:55 -05:00
Gabriel Horner
be411a1347 fix: disable description for closed value types that can't edit them - fix LOG-2958 2024-01-03 10:12:18 -05:00
rcmerci
e68173ee67 enhance(rtc): add query-blocks api 2024-01-03 21:11:43 +08:00
Gabriel Horner
56a81f9671 fix: allow UI and validation to know what property types have :position
this is done by configuring user-built-in-allowed-schema-attributes
and then using the helper fn to check it
Fix LOG-2955
2024-01-02 15:12:36 -05:00
Andelf
098766b1fb enhance: support of importing from graph folder to db graph 2024-01-02 18:17:11 +08:00
Tienson Qin
54d2cd6a0d fix: tests and warnings 2023-12-25 17:36:46 +08:00
Tienson Qin
b134954e2c Move all search related impl to worker
This commit also introduced a new ns `frontend.db.async` for
async queries.
2023-12-25 17:05:44 +08:00
Tienson Qin
e6a464e64f enhance: creating built-in properties when creating db conn 2023-12-23 17:53:57 +08:00
Tienson Qin
bdd8aa05c5 fix: can't ref block
related to LOG-2956
2023-12-23 16:20:47 +08:00
Tienson Qin
c92316b46a fix: remove properties background when in block container 2023-12-23 15:43:12 +08:00
Tienson Qin
9073c18a08 fix: search 2023-12-23 15:35:21 +08:00
Tienson Qin
ad360b1f56 fix: :page/:date closed values can't be edited
Fixed LOG-2958

Clicking a page will redirect to its own page, we can polish it later
with a page popup
2023-12-23 15:30:42 +08:00
Tienson Qin
87b66e56b3 fix: :default/:url closed values can't be clicked
Fixes LOG-2957
2023-12-23 14:47:07 +08:00
Tienson Qin
40550cfa4c Merge branch 'master' into feat/db 2023-12-23 14:19:20 +08:00
Tienson Qin
018e1ae8ee Merge branch 'master' into feat/db 2023-12-23 14:18:25 +08:00
Vivianne
981b1ef80f fix(i18n): Fix french translation typo 2023-12-23 12:46:21 +08:00
charlie
3934efb537 fix(api): safety key string for the simple command key value 2023-12-23 12:30:37 +08:00
Tienson Qin
5bc80ccf22 Disable property position for date and page types
Close LOG-2955
2023-12-22 22:43:39 +08:00
Tienson Qin
807c2f5b68 fix: show tags or page references in breadcrumbs
Clicking it will redirect to the block with the tag/reference instead
of opening the tag/ref.

Fixes LOG-2947
2023-12-22 22:32:59 +08:00
Tienson Qin
0b012b5773 fix: can't open logseq url
Fixes LOG-2969
2023-12-22 21:59:19 +08:00
Tienson Qin
0e11226d01 fix: remove old transit file when unlink repo
Also, rename demo repo from "local" to "Logseq demo"
2023-12-21 23:41:45 +08:00
Andelf
8871bee48d chore(release): bump version 0.10.2 2023-12-21 23:15:26 +08:00
Tienson Qin
5ba29482f7 Comment code 2023-12-21 23:12:34 +08:00
Tienson Qin
64ae406847 Clean comments 2023-12-21 23:08:37 +08:00
Tienson Qin
e0ced25999 fix: lint warning 2023-12-21 23:03:24 +08:00
Tienson Qin
2102fc4db0 List file based graphs 2023-12-21 22:54:12 +08:00
Tienson Qin
57c43c89e1 fix: repos list 2023-12-21 22:12:42 +08:00
Tienson Qin
77a8ea13ab Merge branch 'feat/db' into refactor/worker-search 2023-12-21 21:35:41 +08:00
Tienson Qin
673d29d114 fix: can't exit window 2023-12-21 21:11:57 +08:00
Tienson Qin
f6d8e090a0 fix: wasm url 2023-12-21 16:39:53 +08:00
Tienson Qin
1ccd50ee2d Remove profile 2023-12-21 16:12:53 +08:00
Gabriel Horner
f7e890b662 enhance: dev command to update db graph with its db.sqlite 2023-12-20 17:02:02 -05:00
Gabriel Horner
0fc1fd0f15 fix: error or notify loudly if db transactions aren't being transacted
followup to
https://github.com/logseq/logseq/pull/10726#discussion_r1431990823
2023-12-20 13:44:45 -05:00
Tienson Qin
75c396a92f fix: file graph restore 2023-12-21 02:40:03 +08:00
Gabriel Horner
1026e1eb22 fix: add graph name warning to import as well 2023-12-20 12:25:27 -05:00
Tienson Qin
a4f7b950e1 fix: typo 2023-12-20 21:58:49 +08:00
Tienson Qin
ab3c249e43 Export db after opening a file graph 2023-12-20 21:57:55 +08:00
Tienson Qin
0356017dec fix: opfs file path 2023-12-20 21:47:56 +08:00
Tienson Qin
4cdc718cea fix: file version path 2023-12-20 21:06:59 +08:00
Tienson Qin
2f03bc988a fix: db/close! still needed 2023-12-20 19:48:36 +08:00
Tienson Qin
cd36c1a0ce Merge branch 'feat/db' into refactor/worker-search 2023-12-20 19:46:10 +08:00
Tienson Qin
aeb5026a26 Add fn to clean up all dbs 2023-12-20 18:43:50 +08:00
Tienson Qin
2d0d298608 fix: load db from disk if it can't be found on OPFS 2023-12-20 18:28:31 +08:00
Tienson Qin
d07790af87 Revert "fix: only look to opfs for db graphs"
This reverts commit 34a71eedaf.
2023-12-20 17:17:58 +08:00
Tienson Qin
cdd1815615 No need to export db when switching graphs 2023-12-20 17:13:47 +08:00