so it can be used outside Electron e.g. when creating graphs from CLI.
Put a symlink in the old templates/config.edn location to make new
location easier to find but it's not needed for anything to work
* Some langs like es didn't have tutorials translated and were
pretending to
* it lang had tutorials but they weren't being used
* Moved tutorials to the more appropriate src/resources/tutorials
* Also fixed typos and bb task
- frontend.dicts encapsulates dicts behavior for all other namespaces
- Each dict ns only has one var which prepares us
- No longer need shortcut.dicts
- Fix remaining lints that were broken
- Also bring back frontend.dicts
- Update guide
- Add a false binding to :editor/toggle-undo-redo-mode which throws a
needless warning
* Simplify Windows development docs
This PR simplifies the Windows development setup documentation, specifically:
* Uses `winget` for installing pre-requisites. This is installed by default on modern windows and is now the "standard" package manager.
* Use clj-msi to install clj.exe, rather than the clojure-tools powershell module. This allows the build to work without modifying package.json
* Remove build instructions that are out of date and now inconsistent with the develop-logseq.md doc.
* Update develop-logseq-on-windows.md
Include scoop and chocolately instructions, explicitly redirect to develop-logseq.md for build info.
* chore: remove unused dictionary keys
* wip: add dictionary keys for hardcoded strings
* resolve conflicts
* Add linter to detect :en ui translation keys match used ones
- Fix a couple entries caught by linter
- Copy :command.editor/open-link-in-sidebar entries to
:help/open-link-in-sidebar as translation keys shouldn't be reused in
multiple contexts, especially when it's across ui and shortcut dicts
* fix: remove dead keys
* chore: reuse dict keys
* chore: reintroduce useful keys
---------
Co-authored-by: Gabriel Horner <gabriel@logseq.com>
* chore(dep): bump NodeJS to LTS 18.x
* update nginx image CVE-2022-43551
* upgrade node version in GH workflows
* update nodejs version in dev docs
* upgrade tldraw version nodejs version to 18.x
* update static/yarn.lock
* fix yarn.lock electron version
---------
Co-authored-by: situ2001 <yongcong2001@outlook.com>
update to match `$ bb dev:lint`
```cljs
(defn lint
"Run all lint tasks
- clj-kondo lint
- carve lint for unused vars
- lint for vars that are too large
- lint invalid translation entries"
[]
(doseq [cmd ["clojure -M:clj-kondo --parallel --lint src --cache false"
"bb lint:carve"
"bb lint:large-vars"
"bb lang:invalid-translations"
"bb lint:ns-docstrings"]]
(println cmd)
(shell cmd)))
```
not sure if we should just add `$ bb dev:lint` since it doesn't seem to be documented anywhere
this update is a pre-req to adding docs for data validation with Malli from https://github.com/logseq/logseq/blob/dev/malli-schema%2526kondo-config/
```sh
bb dev:gen-malli-kondo-config
```
Note that it will also need to be added to `build.yaml`
https://github.com/logseq/logseq/blob/dev/malli-schema%26kondo-config/.github/workflows/build.yml
CC: @RCmerci
the link https://cljdoc.org/d/cljfmt/ will always load the most up to date documentation of cljfmt.
It should be used instead of a specific version number