Commit Graph

18312 Commits

Author SHA1 Message Date
Tienson Qin
d3b6d0f4ec Remove debugging 2023-12-19 22:57:21 +08:00
Tienson Qin
dfaec37fef Merge branch 'feat/db' into enhance/write-to-disk 2023-12-19 22:52:51 +08:00
Tienson Qin
0ae74ee8c0 fix: can't redo 2023-12-19 21:46:27 +08:00
charlie
ef3dc26db9 fix(pdf): set up initial listeners for the pdf viewer inside system window 2023-12-19 21:28:07 +08:00
Tienson Qin
dd2f1014eb Bump datascript
This version reuses addresses to reduce writes and make GC easier
2023-12-19 21:15:57 +08:00
Andelf
5231fcf431 fix(test): fs name collision 2023-12-19 18:24:50 +08:00
Andelf
b8c213d36b fix(test): additional await for search box 2023-12-19 18:24:50 +08:00
Andelf
9a92ec1900 fix: demo whiteboard 2023-12-19 18:24:50 +08:00
Andelf
22da19126f fix(test): refine check state 2023-12-19 18:24:50 +08:00
Andelf
b15652fdd9 chore(release): ios version 0.10.2 for TF release 2023-12-19 11:09:37 +08:00
Gabriel Horner
de3d82baba bump to latest nbb-logseq with datascript.storage delete fix 2023-12-18 11:10:59 -05:00
Tienson Qin
b27709ce13 enhance: group db transactions 2023-12-18 23:21:55 +08:00
queeup
4b3d4eaa7c enhance(i18n): update Turkish translation 2023-12-18 08:38:11 -05:00
eliovir
515cf66683 enhance: Update French translations (#10706)
* Update French translations

Add missing strings

* Update fr.edn
2023-12-18 08:36:48 -05:00
Tienson Qin
222b2f84bc fix: remove unused addr+data from sqlite 2023-12-18 20:56:28 +08:00
Gabriel Horner
8612f8245d fix: display more notice when re-routing after graph deletion
If left sidebar is collapsed, there's no indication of what graph you
are on so we should at least notify user so it's explained and
not seemingly buggy
2023-12-15 13:41:31 -05:00
Gabriel Horner
8eec034c61 fix: user can't export a file graph as a db graph 2023-12-15 09:55:28 -05:00
Gabriel Horner
6f8badf18f add frontend.persist.db* to list of db namespaces
also cleaned up inconsistent alias and fixed export-db calling
db-based-graph? when caller fns already do this
2023-12-15 09:50:22 -05:00
Gabriel Horner
eecb443fb8 enhance: display notice when deleting graph
also fix file graph deletion kicking off db graph specific deletion
2023-12-15 09:26:44 -05:00
Tienson Qin
621faf90a4 fix: don't treat a block as pre block if it has auto heading 2023-12-15 17:10:16 +08:00
Tienson Qin
e8c41899ac Tweak words a bit 2023-12-15 13:48:36 +08:00
Tienson Qin
24fb0d2cfe enhance: able to switch into another graph when multi-tabs access 2023-12-15 13:46:55 +08:00
Tienson Qin
755cf64a4c fix: acquireAccessHandles if released 2023-12-15 12:03:09 +08:00
Tienson Qin
dbc6af22cc fix: javascript can't close tab 2023-12-15 11:38:10 +08:00
Tienson Qin
ea70f39102 enhance: show modal instead of notification if multi-tabs access 2023-12-15 11:35:25 +08:00
Tienson Qin
52f04c2d24 enhance: redirect to bug report if multi-tabs access to a graph 2023-12-15 11:17:30 +08:00
Tienson Qin
739822f155 fix: release access handles after graph has been downloaded 2023-12-15 11:02:31 +08:00
Gabriel Horner
8dde33e915 chore: Update datascript to latest version before our fork
Also updated db/entity because d/entity returns nil for nonexistent ids since 1.4.2
2023-12-15 09:42:52 +08:00
Tienson Qin
a9f62baf6d wip: transact tx to disk to avoid data-loss 2023-12-15 09:39:56 +08:00
Konstantinos Kaloutas
81eab963e6 limit clone functionality 2023-12-14 14:42:03 -05:00
Konstantinos Kaloutas
6e67df9e37 add shortcuts and fix naming 2023-12-14 14:42:03 -05:00
Konstantinos Kaloutas
760cb8e314 refactor 2023-12-14 14:42:03 -05:00
Konstantinos Kaloutas
cc3c0197da clean refs on cloned shape 2023-12-14 14:42:03 -05:00
Konstantinos Kaloutas
844fa15041 handle cloning and positioning 2023-12-14 14:42:03 -05:00
Konstantinos Kaloutas
0869a10cef enhance clone handles 2023-12-14 14:42:03 -05:00
Konstantinos Kaloutas
fcb7435b3b filter out non geometry shapes 2023-12-14 14:42:03 -05:00
Konstantinos Kaloutas
98b615b22d (wip): introduce clone handles 2023-12-14 14:42:03 -05:00
Vivianne
73cc4e3aa5 enhance(i18n): add more localization support for linked references view (#10643)
* Add more localization to the references UI, fix English grammar

* Version 2 which uses tongue properly!

* Fix bugs after testing!

* So sorry, missed one line

* Untested fixes

* Fix typo

---------

Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
2023-12-13 16:44:48 -05:00
Richard Garčár
b7ba2e8f7e i18n: update slovak translation 2023-12-13 16:25:21 -05:00
Gabriel Horner
ef874ceb5d fix: remove failing test introduced by #10674
CI should be green on master to allow for 3rd party contributions
2023-12-13 16:02:20 -05:00
Tienson Qin
e8e553c08c Remove bak file 2023-12-14 02:14:48 +08:00
Tienson Qin
b8a6f820ad New file based graphs works with opfs db 2023-12-14 02:12:24 +08:00
Tienson Qin
d38bba76bf Use OPFS storage for file based graphs too 2023-12-14 01:20:31 +08:00
Gabriel Horner
ffa6aaae29 fix: remove unused db.sqlite related fns
- remove sqlite-db/close! as its not used and didn't make sense to be
  used in other electron ns
- remove sqlite-db/connections atom as its not needed
- remove read-graph as its not necessary
- rename cli.persist-graph as its primary purpose has changed
- update effected scripts
2023-12-13 12:06:24 -05:00
Tienson Qin
f3d032d83d fix: move some fns from db.sqlite to sqlite.common-db
To remove better-sqlite3 dependency on Electron.
2023-12-14 00:34:07 +08:00
Tienson Qin
0f01d27f95 Add back page content search for file-based graphs 2023-12-14 00:27:23 +08:00
Tienson Qin
c13565b90a fix: current page search 2023-12-13 23:00:08 +08:00
Gabriel Horner
79a9c59dd5 fix: lint and minor cleanup from datascript-storage PR
- remove unused electron state
- remove comment with nonexistent fns
- rename fn which didn't read well
2023-12-13 09:53:16 -05:00
Tienson Qin
23e31b53fa fix: use block uuid instead of id when building search indice 2023-12-13 22:38:44 +08:00
Tienson Qin
a7de12d59f chore: remove better-sqlite3 2023-12-13 21:35:25 +08:00