Commit Graph

9472 Commits

Author SHA1 Message Date
Tienson Qin
a8b60fdff0 Merge pull request #7002 from logseq/more-pasting-issues
fix(whiteboards): some pasting issues
2022-10-18 16:54:16 +08:00
Andelf
1e31567515 chore: run swiftlint 2022-10-18 16:54:16 +08:00
Peng Xiao
1ad2386dd1 fix(whiteboard): preview aspect ratio issue 2022-10-18 16:54:16 +08:00
Andelf
c8cabfc927 enhance(android): add sync progress 2022-10-18 16:54:16 +08:00
Peng Xiao
3583d2ac66 fix(whiteboard): optimize rendering performance of rendering long list of search items 2022-10-18 16:54:16 +08:00
situ2001
cc9c2a1e41 fix: modal in ask-for-re-fresh not respond to enter key-down event 2022-10-18 16:54:16 +08:00
situ2001
8df094c569 fix: fn make-confirm-modal not respond to enter key-down 2022-10-18 16:54:16 +08:00
rcmerci
1d9626e8f8 enhance(sync): check remoteapi exceptions 2022-10-18 16:54:16 +08:00
Konstantinos Kaloutas
efadb995bb chore: disable auto headings on markdown mode 2022-10-18 16:54:16 +08:00
Konstantinos Kaloutas
6ed58e1654 feat: support disabled button state 2022-10-18 16:54:16 +08:00
Konstantinos Kaloutas
ed1dcb9e7e fix: minimum auto heading level 2022-10-18 16:54:16 +08:00
Konstantinos Kaloutas
3c8a9afc85 fix: default markdown heading 2022-10-18 16:54:16 +08:00
Konstantinos Kaloutas
2487a3fe2f chore: auto heading based on level 2022-10-18 16:54:16 +08:00
Konstantinos Kaloutas
207c9575a5 chore: add titles to heading buttons 2022-10-18 16:54:16 +08:00
Konstantinos Kaloutas
46af6b3b15 fix: spacing of color buttons 2022-10-18 16:54:16 +08:00
Konstantinos Kaloutas
40632a1a78 feat: auto heading 2022-10-18 16:54:16 +08:00
Peng Xiao
8ccdf5c9fd Merge remote-tracking branch 'upstream/master' into more-pasting-issues 2022-10-18 16:54:13 +08:00
Konstantinos Kaloutas
ea0cc43f0e chore: add comment 2022-10-18 16:52:25 +08:00
Konstantinos Kaloutas
fa20a38de8 fix: holding up/down arrow issue 2022-10-18 16:52:25 +08:00
Tienson Qin
c4b362668e fix: can't paste number
close #6997
2022-10-18 16:52:25 +08:00
Tienson Qin
d911a03c90 fix: lint warning 2022-10-18 16:52:25 +08:00
Tienson Qin
170eb1d791 fix: can't collapse/expand in the exported public graph 2022-10-18 16:52:25 +08:00
Tienson Qin
04fe16a17e fix: non http links are not supported with mod+l 2022-10-18 16:52:25 +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
30dcb21fae fix(whiteboard): pack action issue 2022-10-17 09:39:10 +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
Konstantinos Kaloutas
118a0dd10c Revert "chore: add confirmation dialog"
This reverts commit 0389aeac43.
2022-10-16 12:17:44 +08:00
Konstantinos Kaloutas
46ef0b5451 Revert "fix: typo"
This reverts commit f1923ac6f4.
2022-10-16 12:17:44 +08:00
Konstantinos Kaloutas
26c2c99392 fix: typo 2022-10-16 12:17:44 +08:00
Konstantinos Kaloutas
6fbe1f437b chore: add confirmation dialog 2022-10-16 12:17:44 +08:00
charlie
3068868347 fix(electron): open custom protocol links as default condition 2022-10-16 12:17:44 +08:00
Gabriel Horner
c6a3eb2de0 Fix title and other built-in properties incorrectly parsing refs
Fixes issues in #6970. Introduced built-in property types as there are
fewer to list as parsed than unparsed.  Also removed test case that was
incorrectly introduced in #5580
2022-10-16 12:17:11 +08:00
Junyi Du
99dc9c371c test: double queare bracket in title 2022-10-16 12:17:11 +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
Charlie
fa30d53f33 Upgrade Tailwind to 3.x (#6931)
* enhance(ui): upgrade tailwind & configures

* enhance(dev): postcss configures

* enhance(dev): deps

* fix(ui): polish form input

* enhance(css): minify css for production mode

* improve(ui): small polish

* improve(ui): reg pattern for tailwind utilities safelist

* enhance(css): add line clamp plugin to tailwind

Co-authored-by: Konstantinos Kaloutas <konstantinos@logseq.com>
2022-10-13 17:42:29 +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
1951994995 chore: add tailwind column classes to safelist 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