Tienson Qin
9db35fdb8e
enhance: ask for persist to ensure that storage will not be cleared
2023-12-11 15:34:08 +08:00
Tienson Qin
6ea6ebaaa3
fix: refresh switch to the demo graph
2023-12-11 14:30:46 +08:00
Tienson Qin
efa1c93fff
enhance: set opfs pool for each graph
2023-12-11 00:21:43 +08:00
Tienson Qin
d487a3e808
wip: open a different graph in another tab
2023-12-10 21:27:17 +08:00
Tienson Qin
46ecfef928
chore: remove logseq/sqlite
2023-12-10 20:13:45 +08:00
Tienson Qin
dffc1376f5
fix: sqlite-wasm works now on Electron
2023-12-10 20:08:05 +08:00
Tienson Qin
9f7599b9fd
fix: sqlite wasm path on Electron
2023-12-10 19:45:03 +08:00
Tienson Qin
8a20b419d4
Warning on multiple tab/windows access to the same graph
2023-12-10 19:27:12 +08:00
Tienson Qin
1977063ce3
Add unsafeUnlinkDB support
2023-12-10 18:16:12 +08:00
Tienson Qin
0849f801c9
enhance: add opfs check
2023-12-10 18:05:37 +08:00
Tienson Qin
e5c6207194
fix: close other dbs before creating a new one
2023-12-09 12:32:46 +08:00
Tienson Qin
2813eb9e04
fix: list db
2023-12-09 12:22:28 +08:00
Tienson Qin
5a4aabf8d8
fix: remove file names output
2023-12-07 23:17:36 +08:00
Tienson Qin
ba2aaae000
Both load && persist work now
2023-12-07 23:15:04 +08:00
Tienson Qin
2503ceb720
fix: newDB call
2023-12-07 21:28:00 +08:00
Tienson Qin
c14b2b4140
fix: use comlink with promesa
2023-12-07 21:20:37 +08:00
Tienson Qin
e2ea7d7c29
fix: comlink proxy method arguments shouldn't put in promesa
2023-12-07 21:01:07 +08:00
Tienson Qin
ecc322cdcf
wip: replace sqlite-db with official sqlite-wasm
2023-12-07 20:27:21 +08:00
Tienson Qin
1d1807e5aa
Add sqlite-wasm
2023-12-06 23:06:40 +08:00
Tienson Qin
95c5c09f39
remove unused vars
2023-12-06 17:00:06 +08:00
Tienson Qin
678d5c8ee6
Remove page content search
2023-12-06 15:13:25 +08:00
Tienson Qin
75c010e1c3
WIP: use OPFS db for electron
2023-12-06 15:03:29 +08:00
Tienson Qin
ea3f5973b7
Merge branch 'feat/db' into feat/datascript-storage
2023-12-06 01:10:23 +08:00
Gabriel Horner
34d2b3c234
fix: don't show closed value editing in publishing
...
Also allow class and page properties to be styled differently
2023-12-05 11:17:36 -05:00
Tienson Qin
1b2a3cc1c1
fix: tests
2023-12-05 19:48:29 +08:00
Tienson Qin
3df099a15e
fix: don't retract attributes for db if block content is not updated
2023-12-05 18:07:48 +08:00
Tienson Qin
67fd609170
fix: typing a normal page as a tag silently changes its page type
...
User can choose to create either a page or a class with '#' now.
FIXES LOG-2742
2023-12-05 17:31:21 +08:00
Tienson Qin
3bae1cae12
fix: a non-journal home page is empty on initial graph load
...
FIXES LOG-2813
2023-12-05 13:57:05 +08:00
Gabriel Horner
e847c0899a
enhance: bring back built-in properties using closed values
...
Fixes LOG-2903. Also fixed a bug with logseq.color property
not working with latest accent color
2023-12-04 17:29:41 -05:00
Tienson Qin
87a741cad2
fix: exit editing after creating text block
2023-12-05 01:52:31 +08:00
Tienson Qin
fb9e1057fa
chore: remove react/db-graph?
2023-12-05 01:29:05 +08:00
Tienson Qin
7dfbecb3e2
fix: query state should never be cleared for db graphs
2023-12-05 01:16:55 +08:00
Gabriel Horner
2554016d63
enhance: make closed values scriptable
...
Added closed value examples of all 5 property types
to properties graph. Part of LOG-2903
2023-12-04 10:11:52 -05:00
Tienson Qin
e04a5b4316
Merge branch 'master' into feat/db
2023-12-04 20:47:37 +08:00
Tienson Qin
d6e5e2b0b4
fix: tests
2023-12-04 20:31:39 +08:00
Tienson Qin
336c6cfd08
fix: lint warnings
2023-12-04 20:12:49 +08:00
Tienson Qin
00b11d6cb0
Add db-based model tests
2023-12-04 20:07:52 +08:00
Tienson Qin
aff14668fc
Add page rename tests
2023-12-04 18:15:47 +08:00
Tienson Qin
f4309bdc2b
Add recents test
2023-12-04 17:08:21 +08:00
Tienson Qin
dae27861d2
Finish db-based property tests
2023-12-04 16:44:01 +08:00
Tienson Qin
fbb8f96191
fix: tests
2023-12-04 16:26:12 +08:00
Tienson Qin
e6bc77e8b5
Add text block test
2023-12-04 16:07:39 +08:00
Tienson Qin
c2a216e4e1
Add closed values related tests
2023-12-04 15:15:15 +08:00
Tienson Qin
5761f206be
Add Posthog instrument when failed to refresh access token ( #10625 )
...
* Add posthog instrument when refresh token failed
* Add user-id to instrument
* fix: clear tokens iff oauth2/token returns 400 and invalid_grant
2023-12-03 23:10:22 +08:00
Tienson Qin
ecde2c3bfc
fix: cross-platform shotcuts ( #10590 )
...
This PR also simplifies the implementation of shui/shortcut a lot.
* fix: consistent char for the Enter key
* fix: show ctrl instead of ⌘ for copy ref
* fix: "Ctrl" should be split from "Ctrl X"
2023-12-03 12:40:08 +08:00
Andelf
95461d8a8a
fix(e2e): page search results
2023-12-03 12:07:51 +08:00
Andelf
a81ec6e215
fix(recents): zoomed block uuid should not be added to recents
2023-12-03 12:07:51 +08:00
Andelf
871f58e96b
fix(cmdk): avoid using uuid from recents
2023-12-03 12:07:51 +08:00
ROCKTAKEY
7525689bfb
Update Japanese translation ( #10612 )
...
* enhance: Update Japanese translation
* Update src/resources/dicts/ja.edn
---------
Co-authored-by: Andelf <andelf@gmail.com >
2023-12-02 10:52:54 +08:00
Gabriel Horner
045a59ea10
fix: slides don't work on published sites that aren't under '/'
...
Fixes https://github.com/logseq/publish-spa/issues/11
2023-12-02 10:49:36 +08:00