Commit Graph

65 Commits

Author SHA1 Message Date
Gabriel Horner
29f73549aa Moved nbb tasks to another repo
They are useful outside of logseq development and don't need to be
embedded in the Logseq app
2022-06-01 01:17:29 -04: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
b142327491 Finish up logseq.graph-parser
- Parser now parses all graph files like the app does, not just pages and journals.
  This required extracting another fn from repo-handler
- Add and tweak CI steps that are specific to graph-parser. All
  namespaces in this library are checked for nbb compatibility
- Cleaned up parser cli API so only one fn is needed for scripts
- Tests were updated to match new parsing behavior
- large_vars.clj can run with a smaller max-line-count after only refactoring two fns
- Add docs
2022-05-27 00:54:30 -04:00
Gabriel Horner
1d390f7bd4 Replace medley/{map-keys/map-vals} with {update-keys,update-vals} 2022-05-19 14:58:33 +08:00
rcmerci
b66b8d6cfc dev: add bb lint cmd (#5354)
* dev: add bb lint cmd

* chore: better docstring for bb dev:lint
2022-05-18 11:50:56 -04:00
Gabriel Horner
d6082156c5 Find namespaces for nbb-compatible CI step 2022-05-04 12:02:36 -04:00
Gabriel Horner
798bac18a5 First pass at file tests for file-sync
Each action usually passes by 5th try
2022-04-13 19:12:24 +08:00
Gabriel Horner
0ccbe4d046 Enhance: validate local storage (#4784)
* Validate localStorage with spec

This will help get at the source of errors like #4706 quicker

* Fix settings bugs

Close #4679 as shortcut tooltip setting is now visible.
No need to js/alert when a setting is changed. Probably leftover bugging

* Add docs and example of reusing specs in bb task

Co-authored-by: Andelf <andelf@gmail.com>
2022-04-01 15:46:52 +08:00
Gabriel Horner
f4839da1e1 Make dictionary namespaces bb compatible
Now that translations are just data no excuse for them not being bb
compatible. Also gets rid of needless sexp parsing
2022-03-28 12:33:28 -04:00
Gabriel Horner
0fcdb498d8 Update lang tasks to also read shortcuts
- Updated docs with more accurate picture of translation state
- invalid task found keys that were no longer used from 2 commands
- Cleaned up rewrite-clj
2022-02-02 11:26:20 -05:00
Gabriel Horner
9a644cfe90 Add duplicate detection and fix a few from langs I know 2022-01-28 16:04:55 -05:00
Gabriel Horner
45fd55701f Can parallelize within bb.edn per borkdude 2022-01-28 14:49:55 -05:00
Gabriel Horner
02c0489a26 Add CI job for invalid dicts
And tweak fn so that it actually fails
2022-01-27 17:43:10 -05:00
Gabriel Horner
8998e9435b Start electron dev env with one cmd
Thanks @borkdude for the gist :)
2022-01-27 17:33:46 -05:00
Gabriel Horner
115b0266f5 First pass 2022-01-27 16:38:30 -05:00