Commit Graph

5913 Commits

Author SHA1 Message Date
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
Gabriel Horner
b1d210d26b Merge configs and create global config file if not present
- Cleanup repo and global config with system components
- test merging
- fix edge cases
2022-09-08 12:34:27 +08:00
Gabriel Horner
cbcc19309d Organize frontend.state into config, subs and everything else
Everything else is purposefully last to expose some state that config
and subs were implicitly relying on. Also noted some TODOs that
would help with state usage
2022-09-08 12:34:27 +08:00
Gabriel Horner
51ed2f94f1 Encapsulate global config state and add global watcher
Correct merge with local state and testing is still TODO
2022-09-08 12:34:27 +08:00
Gabriel Horner
095a4ef1cd Save global config edits
Also alert user if write fails
2022-09-08 12:34:27 +08:00
Gabriel Horner
9c0bb02dcd Can access read global config file from UI
Only for reload case
2022-09-08 12:34:27 +08:00
Andelf
5b50e229e0 refactor(sync): rename graph-txid to graphs-txid 2022-09-08 11:38:59 +08:00
Andelf
9deb7f609a fix(mobile): wrong backup path calc 2022-09-08 11:38:59 +08:00
Andelf
ed18d136da fix: do not backup persist_var 2022-09-08 11:38:59 +08:00
xxchan
e82defb17b i18n(zh-CN): improve translation for different "search" 2022-09-08 09:46:56 +08:00
queeup
6a133db548 i18n: Change graph meaning from Grakif to Çizelge in Turkish 2022-09-07 09:25:31 -04:00
queeup
a6e97b1fda i18n: update Turkish translation 2022-09-07 09:25:31 -04:00
Andelf
0043ba6cf0 fix: persist var init promise 2022-09-07 15:54:39 +08:00
Andelf
dd2adac2b1 refactor(electron): use electron-log, add auto update for windows 2022-09-07 11:43:54 +08:00
Andelf
bd384cfef5 chore: bump version 0.8.5 2022-09-06 23:54:03 +08:00
Tienson Qin
989f4db9c5 fix: lint warning 2022-09-06 23:53:46 +08:00
Tienson Qin
9f2f473cd9 fix: sync not start after binding a local folder to the remote graph 2022-09-06 23:53:46 +08:00
Tienson Qin
ec504fe916 fix: catch error 2022-09-06 23:53:46 +08:00
Tienson Qin
34d3ffe122 fix: sync allows to pick a non-empty folder to sync with remote 2022-09-06 23:53:46 +08:00
Tienson Qin
d822f5928a enhance: make it easy to different between search-in-page and find-in-page 2022-09-06 21:20:53 +08:00
rcmerci
40025a8d19 fix lint 2022-09-06 20:27:16 +08:00
rcmerci
332b8de5a1 fix: es maybe nil 2022-09-06 20:27:16 +08:00
rcmerci
4f3d26c2ca fix: FileMetadata, <get-local-files-meta, <get-local-all-files-meta 2022-09-06 20:27:16 +08:00
Tienson Qin
00c325ff35 fix: deleted remote graph
This can happens when switching between different graphs,
`frontend.fs.sync/graphs-txid` might not be loaded before starting
sync.
2022-09-06 14:35:10 +08:00
Tienson Qin
358c352e27 fix: quit loading if creating remote graph failed 2022-09-06 13:58:26 +08:00
Tienson Qin
47dbc1e585 fix: use uuid-string? instead 2022-09-06 13:42:06 +08:00
Tienson Qin
d70ada1825 fix: add uuid? pre check for <check-remote-graph-exists 2022-09-06 13:38:18 +08:00
Gabriel Horner
0b62afc2e8 Linkable built in props are not rich props - fix #6589 2022-09-05 23:23:32 +08:00
Tienson Qin
3f5927d7c9 fix: remove unused check 2022-09-05 23:18:46 +08:00
Konstantinos Kaloutas
ca991b5c4a fix: disable source button out of electron 2022-09-05 23:12:48 +08:00