Commit Graph

6542 Commits

Author SHA1 Message Date
Konstantinos Kaloutas
6e3a54677d feat: auto heading 2022-10-18 10:42:41 +08:00
Peng Xiao
ef6abe8802 Merge remote-tracking branch 'upstream/master' into more-pasting-issues 2022-10-18 10:38:56 +08:00
Konstantinos Kaloutas
5f4aa91207 chore: add comment 2022-10-18 10:28:05 +08:00
Konstantinos Kaloutas
d88cdc0b11 fix: holding up/down arrow issue 2022-10-18 10:28:05 +08:00
Tienson Qin
459bd2e779 fix: can't paste number
close #6997
2022-10-18 10:13:18 +08:00
Tienson Qin
0da1f2ce83 fix: lint warning 2022-10-18 09:51:41 +08:00
Tienson Qin
d1d28602fb fix: can't collapse/expand in the exported public graph 2022-10-18 09:49:01 +08:00
Tienson Qin
a234730c15 fix: non http links are not supported with mod+l 2022-10-18 09:30:13 +08:00
Gabriel Horner
2685cd1325 Fix bug with certain plugins and misc cleanup
- Plugins that used effects weren't loading correctly e.g.
  logseq-power-plugin
- Cleaned up translation, docs and some fn naming
2022-10-17 10:31:07 -04:00
Gabriel Horner
441a19fcb8 Move indexedDB init to avoid failing non-indexedDB envs
Having this at require time causes environments to fail that don't
have indexedDB defined. Node tests when running async tests
fail for this reason with the promise inside idbkv.js
2022-10-17 10:27:12 -04:00
Gabriel Horner
0c570a0300 Fix more bugs, move plugins.edn and add enabled
- Move plugins.edn to config/ as it is user configuration
- Add plugin-config enabled flag and moved plugin enabled
- Fixed bugs with manual install
- Refactored plugin-config component to have its own listener
- Split out shared plugin fns to a common ns - plugin-config shouldn't
  need to depend on a component like plugin-handler
- Bump rewrite-edn to include upstream fix and avoid tons of cljs
  warnings with earlier versions
- Fix react warning introduced outside this PR in ui/icon
2022-10-17 10:13:27 -04:00
Gabriel Horner
784ad7cce3 Add unit tests for create-if-not-exists and misc test improvements
- Added unit test as it is used by several handlers
- Fixed test suite failing from last commit now that a test fs is used
- Fixed test stat implementation
- Extracted out Plugin schema to make usage of it less impl dependent
- Made test.helper alias consistent
- Made async testing consistent for export-test
2022-10-17 10:13:27 -04:00
Gabriel Horner
c8cda90373 Fix plugin install bugs and add plugin-config tests
- Add validation for plugins.edn with malli
- Add bb task using malli schema
- Add first async test that interacts with frontend.fs
- Add test helpers to make future async testing easier
2022-10-17 10:13:27 -04:00
Gabriel Horner
bf79db9d54 Install and uninstall plugins from file
Change plugins.edn to key off id as it is unique and all operations
work off of it.
Note: there are still some bugs with certain plugin installs
2022-10-17 10:13:27 -04:00
Gabriel Horner
da6c617a5b First pass at writing plugins.edn on install/update/uninstall 2022-10-17 10:13:27 -04:00
Gabriel Horner
2cb0c8f2a3 Fix grammar of error message, close #7004. Thx @rosslaird 2022-10-17 10:07:50 -04:00
Peng Xiao
907bfa2e20 Merge remote-tracking branch 'upstream/master' into more-pasting-issues 2022-10-17 10:31:43 +08:00
Peng Xiao
63b83a03d3 fix(whiteboard): pasting HTML shape issues 2022-10-17 10:31:37 +08:00
Peng Xiao
757ce2a528 fix(whiteboards): some pasting issues 2022-10-16 18:19:19 +08:00
charlie
6b3d92684c fix(pdf): turn on annotations layer for built-in contents links 2022-10-16 12:18:31 +08:00
Gabriel Horner
c030ba3d03 Fix #6965 caused by button unable to handle href (#6982)
This was introduced in #5663
2022-10-14 10:27:23 -04:00
situ2001
015bb1efa8 fix(excalidraw): grid mode status not correctly shown 2022-10-13 17:45:57 +08:00
Peng Xiao
c307cb62cc fix(whiteboard): cleanup click outside events correctly 2022-10-13 16:53:21 +08:00
Konstantinos Kaloutas
b536e78ec0 chore: hide portal icons 2022-10-13 16:52:51 +08:00
Konstantinos Kaloutas
550682a1aa fix: styles of make a template form 2022-10-13 16:52:51 +08:00
Konstantinos Kaloutas
da79a91a11 fix: add bg color to navigation links on hover 2022-10-13 16:52:51 +08:00
Konstantinos Kaloutas
81126d89fc fix: repos dropdown z-index 2022-10-13 16:52:51 +08:00
charlie
ba2b5e09a8 improve(ui): small polish 2022-10-13 16:52:51 +08:00
charlie
489090bc87 fix(ui): polish form input 2022-10-13 16:52:51 +08:00
charlie
3c937520a6 fix(ui): polish form input 2022-10-13 16:52:51 +08:00
charlie
1d301899a1 enhance(ui): upgrade tailwind & configures 2022-10-13 16:52:51 +08:00
Tienson Qin
91ceae48e4 fix: readdir with path-only? option 2022-10-13 16:52:12 +08:00
Tienson Qin
127a4d1613 fix: create local versions on mobile if there's any conflict 2022-10-13 16:52:12 +08:00
rcmerci
b8707cd719 chore: fix lint 2022-10-13 16:49:47 +08:00
rcmerci
fdb11e6ed7 fix(sync): allow to sync-start when txid=nil(in graphs-txid.edn)
avoid to write txid=nil to graphs-txid.edn
2022-10-13 16:49:47 +08:00
Gabriel Horner
2386cbe254 Instrument to debug failure in file/alter-file
Also create a fn to handle uncertain global-config-dir paths.
Follow up to 24975cda01
2022-10-12 15:41:02 -04:00
Tienson Qin
da35064b32 fix: failed to import opml 2022-10-13 00:53:16 +08:00
Tienson Qin
c92defb324 fix: notify users to re-index the graph if it's outdated 2022-10-13 00:35:38 +08:00
Tienson Qin
f8b495aca5 instrument: collect more data to debug invalid outliner structure 2022-10-13 00:21:36 +08:00
Tienson Qin
58a88b867e fix: log parse-journal-date errors 2022-10-13 00:08:57 +08:00
Tienson Qin
24975cda01 fix: global config root directory may not be ready when used 2022-10-12 22:47:18 +08:00
Tienson Qin
53265f6c34 fix: make sure that highlight content exists 2022-10-12 22:11:02 +08:00
Tienson Qin
1321cfefef fix: scroll container couldn't be empty 2022-10-12 21:27:52 +08:00
Tienson Qin
a8244a8e1b fix: trim on nil 2022-10-12 20:52:30 +08:00
Tienson Qin
8b0f83d3ab fix: don't create journal's file when it was initialized by a template 2022-10-12 19:00:17 +08:00
charlie
21ff600c21 fix(ui): alignment of some svg icons 2022-10-12 14:19:20 +08:00
Gabriel Horner
e05f28672a Fix: Remove hidden task properties that weren't used (#6938)
* Remove task properties that weren't used - fix #6902

* Address feedback - remove unused marker
2022-10-11 11:16:01 -04:00
Konstantinos Kaloutas
f793dbbd5b fix: add click handler and translate skip button 2022-10-11 10:21:11 -04:00
Ilya Gusev
a00d6c077c Improve Russian (ru) translations (#6942) 2022-10-11 10:01:28 -04:00
Peng Xiao
9ab5544086 fix(whiteboard): some shortcuts does not work in sidebar when whiteboard is opened 2022-10-10 22:09:43 +08:00