Commit Graph

14966 Commits (073ae3473050ecbfb210b30be5238b58678f0502)

Author SHA1 Message Date
Tienson Qin c4e6db9afb fix: don't start rtc for local db graphs
Also, stop rtc when switching into a local graph.
2024-03-17 13:47:19 +08:00
Tienson Qin cd1c71291b fix: conflict datoms from sqlite db and tail
Fixes LOG-3087.
Addressed by fc3645fa4a.
2024-03-17 12:05:44 +08:00
Gabriel Horner 67a7a0a3e9 enhance: Add default namespace of :logseq.property
for db/ident of built-in-properties. Namespacing block identities will
be important for future features. Adding namespacing also fixed some
hidden coupling between identity and name. Also converted a couple more
related :block/name queries to use :db/ident to slowly get us closer to
named blocks
2024-03-15 18:37:15 -04:00
Gabriel Horner 4652410dfb fix: Add choices for existing values
for url many and number many properties
2024-03-15 13:57:16 -04:00
Gabriel Horner 148f2f7b16 fix: built-in class property check works
if property or class name changes
2024-03-15 13:07:45 -04:00
Gabriel Horner 26a72ae54d fix: frontend lints 2024-03-15 10:48:59 -04:00
Gabriel Horner 9cdf78ca6a enhance: use db/ident for classes
allows built-in class names to change
2024-03-15 09:22:35 -04:00
charlie 55f6823ce8 fix(ui): rtc indicator only for the login user 2024-03-15 16:14:48 +08:00
charlie 27b61e7987 enhance(ui): polish jump navigation label 2024-03-15 16:10:26 +08:00
charlie 553a4a7866 enhance(ux): refactor the shui popup default as dropdown with dimissing layer 2024-03-15 16:10:05 +08:00
charlie fb7b367952 enhance(ux): refactor the shui popup default as dropdown with dimissing layer 2024-03-15 15:26:03 +08:00
Andelf b640884313 fix(build): missing resource files in release build 2024-03-15 14:46:07 +08:00
charlie fce692af30 enhance(ux): polish property editor interaction 2024-03-15 14:30:03 +08:00
charlie db803d77ac enhance(ui): polish jump navigation label 2024-03-15 11:34:36 +08:00
Gabriel Horner 40a6b31fcf fix: db lint 2024-03-14 15:32:52 -04:00
Gabriel Horner 6e7c410427 fix: other closed values should have :db/ident
Without db/ident, these values could be deleted easily
which would cause users to lose functionality
2024-03-14 15:26:18 -04:00
Gabriel Horner c053fbab41 refactor: use db idents for more property identification
e.g. internal property validation, status and priority. The less we rely
on :block/name the more features we can open up later e.g.
interchangeable block/page and rename any page
2024-03-14 14:54:50 -04:00
charlie 26b7eac65d enhance(ux): polish property editor interaction 2024-03-14 23:57:21 +08:00
rcmerci 461ad320c4 test(rtc): fix gen-block-uuid->remote-ops in testcases 2024-03-14 22:48:48 +08:00
Gabriel Horner b6177c758c fix: remove built-in pages for CLI db graphs
built-in pages no longer called for DB graphs. Related to LOG-3046.
Also fixed frontend lint
2024-03-14 09:56:50 -04:00
Gabriel Horner fd274f702e Merge branch 'master' into feat/db 2024-03-14 08:29:45 -04:00
Tienson Qin a47bc18f1a feat: rtc delete graph 2024-03-14 16:58:17 +08:00
Tienson Qin 7cc1ec3fe5 fix: use graph name from rtc 2024-03-14 16:37:08 +08:00
rcmerci 67dcc78911 enhance(rtc): add :created-by when push local-updates 2024-03-14 16:11:54 +08:00
Tienson Qin c86d29d67d feat: add rtc sync indicator 2024-03-14 16:05:39 +08:00
charlie c00b970188 enhance(ux): keys ux for the property editor 2024-03-14 15:29:59 +08:00
charlie c74f1749c8 enhance(ux): support enter key shortcut for the shui button 2024-03-14 14:38:54 +08:00
rcmerci b625bf555e enhance(rtc): support remote-graph-name 2024-03-14 14:34:12 +08:00
charlie cdbb586495 enhance(ux): support enter key shortcut for the shui button 2024-03-14 14:32:32 +08:00
liy 53257d0919
enhance(i18n): Fixed and added some zh-cn(Simplified Chinese) translation (#11119)
* enhance(i18n): Fixed and added some zh-cn(Simplified Chinese) translation

* Update src/resources/dicts/zh-cn.edn

---------

Co-authored-by: Andelf <andelf@gmail.com>
2024-03-14 11:19:11 +08:00
Gabriel Horner 517eef9c27 fix: lint and disable tests that have been failing
for a couple days with new fix-me flag
2024-03-13 16:41:38 -04:00
Gabriel Horner 345fd96e2a enhance: full file graph import works from CLI
Also cleaned up naming, added docstrings and fixed a bug that
failed import hard when user didn't input any tag-classes or
property-classes
2024-03-13 16:23:49 -04:00
Tienson Qin 6c12f5ab33 feat: download shared rtc graph
RTC will be running immediately after:
1. app start and the initial graph is a rtc graph
2. app refresh when the current graph is a rtc graph
3. switch into a rtc graph
4. download a rtc graph
2024-03-14 00:46:34 +08:00
rcmerci 4db9acd5ec fix(rtc): catch ex-break-rtc-loop in rtc-loop 2024-03-13 23:16:08 +08:00
rcmerci 8b879a28e8 fix(rtc): async/put! return nil 2024-03-13 22:53:05 +08:00
rcmerci e2b53795ef fix(rtc): don't setup ws before check 2024-03-13 22:07:09 +08:00
rcmerci 2f3f1853fd fix(rtc): fix handle-remote-genernal-exception 2024-03-13 22:04:14 +08:00
rcmerci de7ada4124 fix(rtc): also clear db metadata.edn when remove-remote-graph-info 2024-03-13 21:54:42 +08:00
charlie 6385e40dc9 enhance(ux): polish property editor interaction 2024-03-13 21:36:11 +08:00
rcmerci 1b9fd83f57 fix(rtc): handle remote :graph-not-exist exception 2024-03-13 21:27:03 +08:00
Tienson Qin 0aa8ab5fab enhance: store remote graph uuid in metadata.edn
We need the remote graph uuid to bind current local db (if exists)
with the remote one.
2024-03-13 20:41:21 +08:00
charlie f12a242673 enhance(ui): support focus target with the shui popup 2024-03-13 20:33:14 +08:00
charlie 7f5ae850d5 refactor(dev): names for the shui popup options 2024-03-13 14:28:33 +08:00
charlie 8d927ca6fb enhance(ui): update demos 2024-03-13 14:17:14 +08:00
charlie 70341f8ae0 enhance(ui): polish property icons 2024-03-13 14:16:53 +08:00
charlie bc1dc30dfd fix(ux): navigation for the shui date picker 2024-03-13 14:02:43 +08:00
charlie 30bb364072 fix(ux): data picker popup 2024-03-13 13:40:38 +08:00
charlie 0b43253bbe enhance(ui): support multi select within the popup 2024-03-13 12:09:08 +08:00
charlie e1acd86481 fix(ui): checkbox behavior for the updates 2024-03-13 11:45:26 +08:00
Gabriel Horner 2f599919fb fix: favorites not importing
Also made underlying fns reusable from UI and nbb compatible.
Fixes LOG-3031
2024-03-12 17:57:47 -04:00