Commit Graph

9713 Commits (02dfb9ede53817b77ef3470961509b5d605cc0d4)

Author SHA1 Message Date
Konstantinos Kaloutas cce937b9d7 feat: support disabled button state 2022-10-18 10:42:41 +08:00
Konstantinos Kaloutas f081486879 fix: minimum auto heading level 2022-10-18 10:42:41 +08:00
Konstantinos Kaloutas 21a575789c fix: default markdown heading 2022-10-18 10:42:41 +08:00
Konstantinos Kaloutas 7ba7c9e087 chore: auto heading based on level 2022-10-18 10:42:41 +08:00
Konstantinos Kaloutas 95c803d614 chore: add titles to heading buttons 2022-10-18 10:42:41 +08:00
Konstantinos Kaloutas ab0f3b6f5d fix: spacing of color buttons 2022-10-18 10:42:41 +08:00
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 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
Konstantinos Kaloutas da79a91a11 fix: add bg color to navigation links on hover 2022-10-13 16:52:51 +08:00
Konstantinos Kaloutas 93e3f53a3d fix: zoom menu styles 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 31f6375800 enhance(css): add line clamp plugin to tailwind 2022-10-13 16:52:51 +08:00
charlie e40646c959 improve(ui): reg pattern for tailwind utilities safelist 2022-10-13 16:52:51 +08:00
charlie ba2b5e09a8 improve(ui): small polish 2022-10-13 16:52:51 +08:00
charlie 43e554380d enhance(css): minify css for production mode 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