Peng Xiao
031ad9c4a9
Merge remote-tracking branch 'upstream/master' into whiteboards
2022-09-15 09:46:44 +08:00
Gabriel Horner
55ec6d6ce0
Remove kondo config for recently removed library
2022-09-13 11:35:03 -04:00
Peng Xiao
4d86f4f53f
Merge remote-tracking branch 'upstream/master' into whiteboards
2022-09-10 00:45:27 +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
Gabriel Horner
b1d210d26b
Merge configs and create global config file if not present
...
- Cleanup repo and global config with system components
- test merging
- fix edge cases
2022-09-08 12:34:27 +08:00
Peng Xiao
b30adea656
Merge remote-tracking branch 'upstream/master' into whiteboards
2022-08-05 13:59:06 +08:00
Gabriel Horner
4ec5827902
Move block-ref fns and vars to their own ns
...
Similar to page-ref to keep namespaces explicit
2022-08-04 17:25:29 +08:00
Gabriel Horner
e0b1f6b2de
Move common uses of page-ref to its own ns
...
By having a specific ns for page-ref utils, our code is more readable
and intention revealing. Also found that
text/{get-page-name,page-ref-un-brackets!} was getting called in
contexts that didn't make sense e.g. query layer was checking for
markdown and org page-refs
2022-08-04 17:25:29 +08:00
Peng Xiao
5c2e644a43
Merge remote-tracking branch 'upstream/master' into whiteboards
2022-06-07 10:52:11 +08: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
15b8e5e9df
Setup CI jobs that are only for graph-parser
...
Also move all non graph-parser fns to frontend thanks to carve lint
2022-05-26 18:04:45 -04:00
Gabriel Horner
e999ebc149
Automatically set extract-options correctly
...
- Removed state paths [:config :text-formats], [:config :img-formats]
and [:me :settins :date-formatter] as they have been unused since
their introduction in 2020
- Converted incorrect js/Error refs
- Also merged db.config test helpers
2022-05-26 18:04:45 -04:00
Peng Xiao
7038e6cbe6
Merge branch 'master' into whiteboards
2022-05-20 16:08:35 +08:00
Gabriel Horner
1d390f7bd4
Replace medley/{map-keys/map-vals} with {update-keys,update-vals}
2022-05-19 14:58:33 +08:00
Gabriel Horner
6f68d985bd
Use core uuid fns where possible
...
No need for medley or personal util fns when core fns
are available. Also upgraded nbb-logseq to be 1.11.X cljs compatible
- uuid is the same as medley/uuid
- random-uuid is the same as medley/random-uuid
- uuid-string? and uuid is the same as parse-uuid
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
Peng Xiao
a62d6e7e90
Merge remote-tracking branch 'upstream/master' into feat/tldraw-basic
2022-05-16 15:57:40 +08:00
Peng Xiao
97120441db
wip
...
wip
2022-05-16 15:53:10 +08:00
Gabriel Horner
b9bbd0c605
Finish migrating extract to nbb
2022-05-13 15:47:54 -04:00
Gabriel Horner
b1e226745d
Finish migration block ns to nbb
2022-05-12 16:58:26 -04:00
Gabriel Horner
b83f6bbd19
Migrate half the block deps to be nbb compatible
2022-05-12 16:57:28 -04:00
Gabriel Horner
22ddae8998
Move graph-parser related block code to proper ns and nbb migration wip
2022-05-12 16:57:28 -04:00
Gabriel Horner
b79b1ca36e
Mldoc tests run under nbb
2022-05-10 20:22:48 -04:00
Gabriel Horner
657bb09591
Add mldoc integration test and start mldoc split
2022-05-10 20:22:48 -04:00
Gabriel Horner
a58a411567
Move config fns and remaining util fns that mldoc depends on
2022-05-04 12:02:36 -04:00
Gabriel Horner
85bd1fecb2
Move first batch of util fns to graph-parser.util
...
Still need to fix external.roam
2022-05-04 12:02:36 -04:00
Gabriel Horner
af4b55c870
Consistent aliasing for frontend.config
2022-05-04 12:02:36 -04:00
Gabriel Horner
a3d60bf2a1
Consistent aliasing for frontend.util
2022-05-04 12:02:36 -04:00
Gabriel Horner
5635469d7a
Split out command and category descs
...
Move them to a more appropriate ns that is just dictionary focused.
This _majorly_ slims down dependencies for the main translation ns
Also:
- add tests
- make medley requires consistent
- alter spec to reflect how command data is actually being used in
command palette component
- add basic translation tests
2022-03-28 11:05:42 -04:00
Gabriel Horner
6a1bcec82c
Make db/query react aliases consistent
...
These namespaces had conflicting aliases which led to confusing reading
2022-03-10 15:43:07 +08:00
Gabriel Horner
f9cb132482
Fix simple queries not working in advanced query - close #4498
...
Also removed unused repo fn in query-dsl ns and configured custom-query
to throw exception
2022-03-09 14:10:38 +08:00
Gabriel Horner
b0babf2232
Change export to not depend on printing - close #4211
2022-02-24 00:32:30 +08:00
Gabriel Horner
17a09f114a
Remove last bits of with-context
...
Follow up to 982eba9396
2022-02-08 11:14:11 -05:00
Gabriel Horner
b0d77e5d7f
Use consistent datascript aliases to more easily see datascript usage
2022-02-08 14:54:17 +08:00
Gabriel Horner
8b428796bc
Setup carve and ignore all unused vars by default
...
Also split out lint jobs to their own step
2022-01-27 14:11:59 -05:00
Gabriel Horner
2b46cc4938
Fix kondo invocation and output progress
2022-01-16 12:42:34 +08:00
Gabriel Horner
3ec587d6eb
lint :all-the-things:
2022-01-16 12:42:34 +08:00
Gabriel Horner
b7b3375f62
Lint extensions/ and wrap up hanging frontend dirs
...
fs/, format/ and logseq/ also added to linting by adding todos for later
inspection
2022-01-12 16:38:17 -05:00
Gabriel Horner
7497d8b396
Lint a good chunk of src/main/frontend
...
Left some TODOs to discuss with others and others for me to finish
2022-01-11 17:34:54 -05:00
Junyi Du
0245da0a5a
Expand kondo configuration
2021-11-18 21:13:35 +08:00
Junyu Zhan
b9a36d58f5
feat: add a kondo map for auto-transact!
2021-04-26 19:10:19 +08:00
Martin Klepsch
b1149309df
add configuration files for clj-kondo + rum defc
2021-03-22 11:11:45 +08:00