Commit Graph

6809 Commits (6ef013c06ea2cd8354bef93554c04a25be4e2f64)

Author SHA1 Message Date
Yue Yang 6ef013c06e fix: cloze selector
Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>
2022-03-15 11:18:30 +08:00
Andelf 888cab7fa0 fix(code): avoid calling saving handler too often
Fix #4565
2022-03-15 11:17:29 +08:00
llcc acc5a62c94 fix(tablet): toolbar width 2022-03-11 20:00:27 +08:00
Andelf b1aa906e89 chore: bump version 0.6.3 2022-03-11 00:13:59 +08:00
Tienson Qin 725ca1c6a1
Feature: flashcards random mode (#4535)
* feat: add flashcards shuffle mode
* fix: flashcards navigation
* refactor(build): use @tabler/icons from node_modules

Co-authored-by: Andelf <andelf@gmail.com>
2022-03-11 00:13:37 +08:00
Tienson Qin f13425590d fix: lint warnings 2022-03-10 23:32:19 +08:00
Tienson Qin f9a9fac6e3 enhance: add "Open page backups directory" 2022-03-10 23:32:19 +08:00
Tienson Qin 51c0581afb enhance: revert to use /bak for backups 2022-03-10 23:32:19 +08:00
Tienson Qin 2e340ca1c6 fix: srs cards
close #4521
2022-03-10 18:21:34 +08:00
Gabriel Horner a57e25cc82 Forgot to update ignore when moving ns 2022-03-10 15:43:07 +08: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 79bbf21f7d Allow advanced queries to pull in dsl rules as needed
- Remove unused query' and when checks from custom-query
- Update bb command to use correct watch
- Provide $EXAMPLE mode in query dsl test to document rule usage
2022-03-10 15:43:07 +08:00
Gabriel Horner a7b230d71d Organize testing helpers and namespaces
Start a helper ns and put test specific namespaces under frontend.test.
2022-03-10 15:43:07 +08:00
Andelf 8eab5753b0 fix(query): yesterday should be a date
Fix #4520
2022-03-10 15:33:54 +08:00
Andelf c483ee56a3 fix(editor): error whilte cycling todos
Fix #4523
2022-03-10 12:30:00 +08:00
Andelf 194bc9dc88 fix(ci): lint errors 2022-03-10 12:22:03 +08:00
Tienson Qin b453fed819 fix: can't collapse/expand in publishing
close #4304
2022-03-10 11:50:18 +08:00
Andelf c51967ca1f fix(electron): unwatch dir when needed 2022-03-10 11:10:33 +08:00
Gabriel Horner d8bc074be1 Move mobile startup to mobile.core/init to not have warning on every shadow reload
It is also the more appropriate place to have init code. Side effecting
on a namespace require should be avoided as much as possible

Cherry-pick #4482
2022-03-09 23:37:57 +08:00
Andelf 5dd0234b9a fix(android): fs watcher initial notification 2022-03-09 23:37:57 +08:00
Andelf a2ce773aba feat(android): add fs watcher plugin 2022-03-09 23:37:57 +08:00
charlie d8fc5d4a27 fix(pdf): PDF toolbar covers top of scrollbar. #4509 2022-03-09 18:25:55 +08:00
charlie cba27489b4 fix(pdf): wrong current number of page initially #3076 2022-03-09 18:25:55 +08:00
Andelf 46d9cbaa5f fix(dev): sourcemap path in electron while dev 2022-03-09 18:06:08 +08:00
Gabriel Horner d34e53b6f7 Bump bb to a version that supports datalog parser 2022-03-09 14:10:38 +08:00
Gabriel Horner d955918525 Display explicit error for one remaining react-query (advanced query)
This is a follow up to #4434. I've now confirmed that all uses of
react/react-query benefit from an explicit exception as they will now
see an explicit error instead of 0 results which is confusing for the
user and harder for us to debug
2022-03-09 14:10:38 +08:00
Gabriel Horner 2286ef71bc Rules must be present for srs since it uses the same dsl-query helper
Closes #4497 and #4500
2022-03-09 14:10:38 +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 6200ec70d3 Add rules linter for unbound vars and invalid queries
Linter caught one unbound var which wasn't an error but nonetheless good
to cleanup
2022-03-09 14:10:38 +08:00
0xflotus 016efe8aff chore: enabled syntax highlighting for nginx
for better readability on github
2022-03-08 23:03:01 +08:00
charlie b3d46225b9 fix(api): return value of move block #4409 2022-03-08 21:52:54 +08:00
Andelf 10c1b2c427 chore: bump version 0.6.2 2022-03-08 20:16:26 +08:00
Tienson Qin 90ef7036ba fix: order is lost when there are more than 8 property:: in a block
related to #3923
2022-03-08 17:12:48 +08:00
Gabriel Horner 4c777fc502 Convert remaining query operators to use rules
- Removed counter and uniq-symbol as those are no longer needed
- build-query cleanly maps conditions to their fns
- Query dsl tests have been fully decoupled
2022-03-08 16:27:30 +08:00
Gabriel Horner 198c3363f7 More query dsl improvements
- Add tests for 5 operators that weren't tested
- Converted all operators to rules except two
2022-03-08 16:27:30 +08:00
Gabriel Horner bcfb9d99ee Move *page-tags operators to rules
Also converted their tests to the new format and finally made test-parse
small enough to be considered more readable
2022-03-08 16:27:30 +08:00
Gabriel Horner 80ef31f4c0 Fixes #4101 by moving todo/task and priority to rules
Task and priority weren't composable in most boolean settings. Rules
fixes that
2022-03-08 16:27:30 +08:00
Tienson Qin ed82b3677e
Merge pull request #4420 from logseq/fix/dsl-query-boolean-operators
Fix page-property bug
2022-03-08 16:18:07 +08:00
Tienson Qin 15e3874b47
Merge pull request #4374 from logseq/fix/multiple-windows-file-watchers
fix: support multiple file watchers for multiple windows
2022-03-08 14:34:31 +08:00
Tienson Qin 004e567fb5 fix: org mode label 2022-03-08 14:27:21 +08:00
Ben Jaffe b17b0ee0e1 amend 2022-03-08 14:23:50 +08:00
Ben Jaffe 9e19f89c3f amend 2022-03-08 14:23:50 +08:00
Ben Jaffe 8573baf426 add comments to make events more searchable 2022-03-08 14:23:50 +08:00
llcc 5d0726cfb0 enhance: ignore logbook and default properties in unlinked reference 2022-03-08 14:20:20 +08:00
llcc 89721672b6 feat: support block-embed alias in orgmode 2022-03-08 14:19:13 +08:00
llcc c32fba0ab1 fix: remove assets/draws from All Pages 2022-03-08 14:18:01 +08:00
llcc f02c21c95b fix: link property causes wrong pages creation 2022-03-08 14:16:28 +08:00
llcc 965bedf4fa fix: id link in orgmode format 2022-03-08 14:13:04 +08:00
llcc fa26d2179f enhance: enable blocks-collapse on mobile browsers 2022-03-08 14:10:45 +08:00
llcc f9b9e674e7 feat(mobile): add collapse/uncollaspe all blocks functionality 2022-03-08 14:10:45 +08:00