Commit Graph

8445 Commits (9e2d6e7cfbdae78624f8ab6dfbe2558ca5cbf3cf)

Author SHA1 Message Date
Tienson Qin 9e2d6e7cfb fix: page refs 2022-09-09 12:37:57 +08:00
Tienson Qin 336fa578d5 refactor: replace directives(front matter or org) with properties 2022-09-09 12:37:55 +08:00
Tienson Qin d1d1dc50c2 wip: get references from property values 2022-09-09 12:36:54 +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 44d0cd172f chore: use the axe core playwright package 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 c511b88ddc chore: increase the max width of main container 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 560d280acd fix: blurry tooltips 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
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
rcmerci 6785d05e92
Merge pull request #6632 from andelf/fix/persist-var-loading-promise
fix: persist var init promise
2022-09-07 16:09:01 +08:00
Andelf 0043ba6cf0 fix: persist var init promise 2022-09-07 15:54:39 +08:00