Commit Graph

5641 Commits

Author SHA1 Message Date
sallto
20542700a5 fix: Date sorting is nonsensical #6363 (#6596)
* fix: Date sorting nonsensical
* simplify normalize-block
* adjusted handling of sets and added tests

Co-authored-by: Junyi Du <junyidu.cn@gmail.com>
2022-09-14 22:13:58 +08:00
Tienson Qin
a1e5d72925 fix: put check? in the go block 2022-09-14 22:01:19 +08:00
Tienson Qin
376cda0bd3 fix: disable creating remote graph when sync is not started yet
Also, don't show `password is required` when starting the sync.
2022-09-14 22:01:19 +08:00
Tienson Qin
bd914615ef fix: clicking sync icon restarts the file sync
This can result in app crash when clicking the icon multiple times.
2022-09-14 12:46:07 +08:00
Peng Xiao
442a52f887 fix: plugin settings not loading 2022-09-13 14:05:41 -04:00
Andelf
412e749cb8 chore: bump version 0.8.6 2022-09-13 22:55:49 +08:00
Tienson Qin
c074465b8a fix: readdir
also, fix warnings on persist var
2022-09-13 22:13:38 +08:00
Tienson Qin
8915818c3f fix: UI not refreshed on iOS 2022-09-13 22:13:38 +08:00
Tienson Qin
6f262a10d7 fix: Capacitor readdir 2022-09-13 22:13:38 +08:00
Tienson Qin
fdb53dab6c enhance: add "Show password" 2022-09-13 22:11:34 +08:00
Tienson Qin
9b34aec950 fix: config cleared if passed content is nil
Fixed #6701
Fixed #6700
2022-09-13 22:05:40 +08:00
Andelf
bca0dd42ae fix(ios): file-sync reload when running 2022-09-13 15:56:05 +08:00
Gabriel Horner
f157490d61 3 fixes where global-config as incorrectly called for non desktop
These issues were introduced with #6531. The global-config component
should not be called if not in a supported platform. This fixes
re-index, switching graphs and editing config.edn for mobile.  Switching
graphs was partially fixed in #6664 but didn't address the root cause
which is the global-handler component shouldn't be called if not enabled
for a platform
2022-09-13 12:25:41 +08:00
Andelf
a790146804 fix(e2e): startup warning notification 2022-09-13 11:51:18 +08:00
charlie
987af635ad fix(ui): hack left sidebar on mobile 2022-09-12 20:51:47 +08:00
Andelf
3858f10ac1 fix(ui): mobile left sidebar overflow hidden 2022-09-12 20:51:47 +08:00
queeup
c2c3c2d3b3 i18n: update Turkish translation (#6660)
* i18n: update Turkish translation
* i18n: Change graph meaning from Çizelge to Graf in Turkish
2022-09-10 11:39:36 +08:00
Andelf
6de5c623ab fix(mobile): loading stuck caused by global config 2022-09-10 10:28:05 +08:00
Tienson Qin
0c2fec3e30 fix: left sidebar items hidden 2022-09-09 17:41:26 +08:00
Gabriel Horner
51c318e2da Enable two disabled linters and bump kondo dep
All the fixes were on used-underscored-binding
2022-09-09 12:14:32 +08:00
Konstantinos Kaloutas
dda2c9c92a fix: disable select on all elements while dragging 2022-09-09 12:13:56 +08:00
Konstantinos Kaloutas
4e2b5263d1 fix: replace hardcoded min ratio 2022-09-09 12:13:56 +08:00
Konstantinos Kaloutas
18d58d4026 refactor: window events 2022-09-09 12:13:56 +08:00
Konstantinos Kaloutas
59959328fd fix: linter errors 2022-09-09 12:13:56 +08:00
Konstantinos Kaloutas
58357becfd fix: e2e test 2022-09-09 12:13:56 +08:00
Konstantinos Kaloutas
df59ba1cd3 enhance: accessibility and translations 2022-09-09 12:13:56 +08:00
Konstantinos Kaloutas
cf7a44f01f enhance: make resize handler keyboard accessible 2022-09-09 12:13:56 +08:00
Konstantinos Kaloutas
acb0f91e77 fix: wide mode width 2022-09-09 12:13:56 +08:00
Konstantinos Kaloutas
7c6ab463e3 fix: alignment of bullet on headings 2022-09-09 12:13:56 +08:00
Konstantinos Kaloutas
73bbcc2ba0 fix: persist zoom level on navigation 2022-09-09 12:13:56 +08:00
Konstantinos Kaloutas
af0bf00344 refactor: sidebar resizer 2022-09-09 12:13:56 +08:00
Konstantinos Kaloutas
ccc96f2e04 chore: replace shift label with icon 2022-09-09 12:13:56 +08:00
Konstantinos Kaloutas
58b8f0ce21 fix: link color on highlighted areas 2022-09-09 12:13:56 +08:00
Konstantinos Kaloutas
6e9dae8549 enhance: right sidebar handler 2022-09-09 12:13:56 +08:00
Konstantinos Kaloutas
c9b4d69871 fix: remove min-height from search modal 2022-09-09 12:13:56 +08:00
Konstantinos Kaloutas
bcb1024ccc fix: replace shift with icon 2022-09-09 12:13:56 +08:00
Taylor Hoffmann
9eac507a57 refactor: Fully translated in pt-BR and pt-PT (#6657) 2022-09-08 16:47:07 -04:00
George Guimarães
7a64166152 Change pt-BR from "Gráfico" to "Grafo"
The word "Gráfico" in pt-BR usually means "chart". The more precise word
would be "Grafo" (see https://pt.wikipedia.org/wiki/Grafo_(tipo_de_dado_abstrato) ).

Although it's a little bit more mathematical, I think it's gonna be more
precise and correct.
2022-09-08 15:44:19 -04:00
Tienson Qin
e5fd0b6529 perf: importing graph
There're two things makes the importing slow:
1. db transact! for each file, now it's batched for 100 files.
2. block waiting for 10s before parsing so that the progress bar ui
can be changed, this is batched too for 10 files.
2022-09-08 20:21:09 +08:00
rcmerci
0b6328fcfa fix(sync): api calls fail when network offline 2022-09-08 18:36:02 +08:00
Andelf
e196b8eda8 fix(search): cannot batch insert to search db 2022-09-08 12:35:33 +08:00
Andelf
00bc964a9c fix(dev): avoid react same key warnings 2022-09-08 12:35:13 +08:00
Andelf
853c6d44c5 fix(latex): avoid accessing null 2022-09-08 12:35:13 +08:00
Gabriel Horner
6e3f784626 Fix global directory watcher not working for multiple windows
Fix also simplifies global config component and generalizes file watcher
to handle any global directory. Also fixed intermittent, annoying "object could not
be cloned" error
2022-09-08 12:34:27 +08:00
Gabriel Horner
12b8592f9b Update docstrings after Tienson's shortcuts fix
Also remove unused :db-schema
2022-09-08 12:34:27 +08:00
Gabriel Horner
bfe8d46945 Update src/main/frontend/handler.cljs
Switch to p/do! since not using result

Co-authored-by: Andelf <andelf@gmail.com>
2022-09-08 12:34:27 +08:00
Tienson Qin
19d6e9727f fix: document/mode? is in state not in config 2022-09-08 12:34:27 +08:00
Tienson Qin
56668eeaef fix: subs dependencies 2022-09-08 12:34:27 +08:00
Tienson Qin
7fa9209e29 fix: load global config synchronously instead of relying on watcher
This commit also refreshs the shortcuts when config files has been edited.
2022-09-08 12:34:27 +08:00
Gabriel Horner
7ade955df7 Additional polish and fixes
- fix two bugs with subs - didn't have global config and missing merge
- explicit re-watch for global config
- more docs
2022-09-08 12:34:27 +08:00