Commit Graph

103 Commits (feat/shui-button)

Author SHA1 Message Date
Ben Yorke 928742e66b shui/table introduction 2023-05-12 13:24:54 -04:00
Gabriel Horner fef07fe812 Add docs and workflow for dep
Also rename dep to publishing for consistency with existing names
2023-04-09 23:13:33 +08:00
Gabriel Horner 9ac17d485a Wire up frontend to use nbb export and html
- Add tests for export
- Refactor export to be more readable
- Add error notification for export that user can see
- Remove unused :ui/show-recent? state
- Cleanup and move escape fns to proper locations
2023-04-09 23:13:33 +08:00
Andelf 3c0973013b refactor(fs): mv fs2 logic to logseq.common pkg 2023-03-28 09:14:42 +08:00
charlie 22dfa621e4 enhance(pdf): UI lag for the case of large highlights data 2023-03-09 09:15:33 +08:00
Gabriel Horner b08e079ab7 Update :commands in config schema - fixes #8403
Update malli to pull in :some schema
2023-01-20 15:55:24 -05:00
Junyi Du 414fef6933
Merge branch 'master' into dev/malli-schema&kondo-config 2023-01-12 19:28:24 +08:00
rcmerci 0480983af9 dev: update cider-nrepl to 0.29.0 2023-01-12 10:31:59 +08:00
rcmerci 21e8a2eab9 dev: add malli-schema & generate kondo config 2023-01-08 20:33:27 +08:00
Gabriel Horner 13277b875d Upgrade to latest clj-kondo - pods were pretty out of date 2022-12-09 13:17:09 -05:00
Gabriel Horner 7a5310eb5d Update rewrite-edn and hickory deps
shadow workaround for hickory is no longer needed since hickory got node
support
2022-12-08 10:26:33 +08:00
Timothy Pratley 3b6a89c975 replace whiteboard printing with ugly print
Prints fast with newlines

clojure -M:test:bench

Testing frontend.benchmark-test-runner
[], (with-out-str (pprint/pprint onboarding)), 10 runs, 2950 msecs
[], (with-out-str (fipp/pprint onboarding)), 10 runs, 2447 msecs
[], (up/ugly-pr-str onboarding), 10 runs, 94 msecs
[], (pr-str onboarding), 10 runs, 82 msecs
2022-11-14 17:23:42 +08:00
Gabriel Horner fa6c5da6c6 Use supported hickory dep
Includes the only commit we had and has a security patch we don't
2022-10-19 21:24:54 +08:00
Gabriel Horner 5962e0621d Bump to latest kondo and enable new aliased-namespace-symbol linter 2022-10-19 21:24:54 +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 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 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 da6c617a5b First pass at writing plugins.edn on install/update/uninstall 2022-10-17 10:13:27 -04:00
Andelf c3e96dba43 chore(dev): rm unused workspace card 2022-09-13 11:18:44 +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
Charlie 01d879c18e
feat!: File Sync (#5355)
- file sync for electron/ios/android
- age encryption of both file content and file path
- massive UI enhancement
- corresponding CI tasks

Co-authored-by: llcc <lzhes43@gmail.com>
Co-authored-by: rcmerci <rcmerci@gmail.com>
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
Co-authored-by: Andelf <andelf@gmail.com>
Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2022-09-01 00:31:49 +08:00
Tienson Qin b59d98ada5 fix: paste blocks 2022-06-16 04:47:17 +08:00
Gabriel Horner d0755ef161 Update dependencies in deps
Also fix conditional workflows that didn't trigger if changes were made
to them
2022-06-10 15:39:11 +08:00
Gabriel Horner 70c0708f09 Add nbb:watch task and example
Also update to latest clj-kondo
2022-05-27 20:42:17 -04:00
Gabriel Horner 7e5ba8d705 Upgrade to latest clj-kondo dep and pods
- Remove cljs 1.11 workarounds since latest includes those symbols
- Unique duplicate ns which intermittently show up in script-vars
  despite using :lang :cljs
- Able to use :format :progress since failing bug no longer shows up
- Remove unnecessary ignore and unused garden config
2022-05-27 10:07:22 -04:00
Gabriel Horner 4813d903d5 Move graph-parser to its own dir 2022-05-26 18:04:45 -04:00
Gabriel Horner a672719394 Update medley and tongue that were printing 1.11 refer warnings 2022-05-19 14:58:33 +08:00
Gabriel Horner fec0b755a8 Upgrade cljs + shadow
- Upgraded shadow to keep goog compiler versions the same
- Converted some safe-parse-int's to parse-long
- Converted some safe-parse-float's to parse-double
- Simplified impl of safe-parse-* fns
2022-05-19 14:58:33 +08:00
Gabriel Horner ca9cc2454f Convert roam namespaces to cljs
The clj functionality was only for tests and those tests no longer
exist for clj. Also removed unused dependency
2022-05-04 15:16:13 -04:00
Tienson Qin ac436ee9fa Use upstream rum 2022-04-02 22:05:13 +08:00
Tienson Qin e37649299f use forked rum 2022-04-02 21:49:37 +08:00
Tienson Qin c3d95482bc Bump rum to batch updates 2022-04-02 21:40:28 +08:00
Michiel Borkent 689e86b527 Upgrade SCI
SCI has moved to a new organization: `org.babashka/sci {:mvn/version "0.3.2"}`.

Having both `borkdude/sci` and `org.babashka/sci` on the classpath can cause problems.
2022-03-15 11:22:31 +08:00
Gabriel Horner 3987395ab5 Merge branch 'master' into fix/dsl-query-boolean-operators 2022-03-04 09:54:23 -05:00
Gabriel Horner 669a56911e Document logging setup and bump to latest devtools 2022-03-03 13:31:58 -05:00
Gabriel Horner ce618443bf Improve query dsl tests
- Each dsl test can load its own test data
- Refactored property and page-property tests to test accuracy
  of each
- Also added humane-test-output to make diff easier to read when tests
  fail
- Also fixed weird behavior of test runner that runs all tests when no
  tests selected
2022-03-01 16:42:19 -05:00
Gabriel Horner 2a03753955 Bump to latest shadow-cljs
Bumped glogi and cljs to minimum versions that would not fail with this
version of shadow
2022-02-28 16:27:22 +08:00
Gabriel Horner 35d2023e24 Add shadow test runner that provides most test-runner like options 2022-02-24 22:45:52 +08:00
Gabriel Horner 163d31005f Add testing library and document workflow
Also moved testing instruction to dev-practices as it didn't make sense
to have them split
2022-02-24 00:32:30 +08:00
Gabriel Horner dea0ca5441 chore: Use standard datascript now that it has get built-in :) 2022-02-08 14:54:17 +08:00
Gabriel Horner 78eb6366ef Upgrade clj-kondo without hang issue per https://github.com/clj-kondo/clj-kondo/issues/1536 2022-01-16 12:42:34 +08:00
Andelf 7bd30a6204 refactor(dev): use global dev-http in shadow-cljs 2021-12-22 10:40:58 +08:00
Andelf f80af25b94 enhance: format build cfgs, reorder module deps 2021-12-22 10:40:58 +08:00
Tienson Qin 566ba16965 enhance: add blocks ast cache 2021-12-13 12:26:51 +08:00
Tienson Qin 117cc9f83d chore: bump datascript 2021-12-05 16:28:05 +08:00
Gabriel Horner d2675cdfe7 Remove clj testing as it's no longer used 2021-11-22 14:59:57 +08:00
Junyi Du 0245da0a5a Expand kondo configuration 2021-11-18 21:13:35 +08:00
Tienson Qin 031d53011f fix: make hickory compatible for tests 2021-11-05 17:41:34 +08:00
Tienson Qin e87f83c395
Use web workers to speed up parsing (#2655)
* wip: use web workers to speed up parsing

* chore: uncomment forget.config.js

* fix: parser pool initialization

* fix: extract parser-worker

* fix: can't run the parser worker in the release mode

* fix: extract async tests

* fix: dsl query async test

* fix: img path in dev mode
2021-08-18 17:02:40 +08:00
Weihua Lu c1368c58d0 fix: add back missing dep 2021-07-12 10:16:43 +08:00