Commit Graph

8106 Commits (8d471bd0c1481ba9afe4cda1d532a75dbf43998d)

Author SHA1 Message Date
Gabriel Horner 8d471bd0c1 Remove uses of smart-re-find
All uses except one were locations where there were already string
checks or fns before it only worked with strings
2022-08-11 16:32:00 -04:00
Gabriel Horner 39b43b363c Fix page-properties bug and dsl-query bug
parser test caught page properties bug and dsl-query tests once written
correctly exposed another bug. Also remove unit test as they are
replaced by integration style tests in graph-parser-test
2022-08-11 16:32:00 -04:00
Gabriel Horner 0301fd3173 Print log messages and setup custom test runner
Got tired of getting bit by catch statements and no logging printing.
Moved frontend to a custom test runner as we may eventually need the
node-test-runner for other apps/builds
2022-08-11 16:32:00 -04:00
Gabriel Horner 0719163d30 Split out parse-property for use in dsl-query and tests
- Add tests for all *property dsl queries with and without new
  config option
- Add tests for property persistence
- Add tests for property relationships
2022-08-11 16:32:00 -04:00
Gabriel Horner 405183db09 Add config option to allow for more free text in property values
Still need to test that *property operators work correctly when this
option is on
2022-08-11 16:32:00 -04:00
swk777 bfc347a70c
fix: alias of page in sidebar did not redirect to the original page (#6085)
* fix alias of page in sidebar did not redirect to the original page

* process when clicking

* fix:  use source-page entity directly

Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
2022-08-11 16:29:21 -04:00
maxweilun1989 65e9e9915f fix: kepp the favorites item when publishing 2022-08-11 23:31:28 +08:00
Gabriel Horner 5c22682fa2 Tweak unusual indentation from recent translation PR 2022-08-11 11:07:24 -04:00
Phoenix Eliot bb199c4de5 Fix wrapped-by? utility function
Improve readability of test failures, add more unit tests
2022-08-11 22:58:51 +08:00
AlexFullmoon d0ff784ebe Improved Russian translation
Added missing translation strings and fixed some typos in existing ones.
2022-08-11 10:57:23 -04:00
Michał Świtoń ca23f3a689 Polish translation 2022-08-11 10:53:05 -04:00
Tienson Qin 31fee024f6 fix: typo 2022-08-11 20:44:16 +08:00
Tienson Qin 05da02659a fix: api.custom_query 2022-08-11 20:10:51 +08:00
Giuseppe D'Andrea 4b7ab91488 fix #6309 2022-08-11 16:58:05 +08:00
Tienson Qin eeb827a1d3 fix: performance degrading for nested linked references
Fix #6316.

This commit also fixed the issue that toggle block children doesn't
work sometimes.
2022-08-11 16:38:00 +08:00
Andelf 471b52b985 fix(android): handle home uri when picking folder 2022-08-11 14:13:29 +08:00
Tienson Qin 010c0082c3 debug: posthog capture bad ref blocks
related to #6327
2022-08-11 12:43:12 +08:00
Tienson Qin 887522ffc6 fix: no block children in query results
close #6322
2022-08-11 12:39:27 +08:00
Andelf bb697a1673 feat(android): experimental support pick folder from termux 2022-08-11 09:34:29 +08:00
Andelf 4cc89a2de2 refactor: address comment, better async code 2022-08-11 09:34:29 +08:00
Andelf 28268bb8ff fix(android): use getExternalMediaDirs api 2022-08-11 09:34:29 +08:00
Andelf 3e78139da2 fix(android): handle exteral storage 2022-08-11 09:34:29 +08:00
Andelf a887810751 fix(android): handle raw: uri for some devices 2022-08-11 09:34:29 +08:00
Andelf 2d1fb05117 ci(build): use options menu for android 2022-08-10 09:14:29 +08:00
Andelf 80fb12b6e7 chore(deps): update electron 19.0.10
BREAKING CHANGE: IndexDB version incomaptible, should clear cache
2022-08-09 00:08:09 +08:00
Grant Moyer 161d3174e4
Upgrade electron to 19 (#6032) 2022-08-08 23:54:30 +08:00
Andelf da5f22acbc chore: bump version 0.8.0 2022-08-08 21:48:53 +08:00
Andelf 44f23db9d4
fix(ref): block embedded error (#6304)
Fix #6284
2022-08-08 21:48:27 +08:00
Andelf 91f3c39908 fix(electron): handle corrupted search db
Fix #6004
2022-08-08 20:55:13 +08:00
charlie 040c8282be chore: build libs core 2022-08-08 15:49:11 +08:00
charlie af49427ef1 improve(plugin): api of select single block 2022-08-08 15:49:11 +08:00
charlie 7bd32fb911 improve(plugin): update types 2022-08-08 15:49:11 +08:00
charlie 1665058386 improve(plugin): perf console table 2022-08-08 15:49:11 +08:00
charlie 3e7c20fd80 improve(plugin): support textarea for settings input item 2022-08-08 15:49:11 +08:00
charlie a14b397899 improve(api): the last active block also represent for current block 2022-08-08 15:49:11 +08:00
Andelf 52b7a5e203 test(e2e): add test case page name
fix: lint
2022-08-08 13:34:47 +08:00
Tienson Qin b6be007d98 fix: don't replace _ for the page name if it's not a local asset 2022-08-08 13:34:47 +08:00
Giuseppe D'Andrea 192a30ae1b fix left-right navigation after selecting multiple blocks 2022-08-08 08:44:08 +08:00
Giuseppe D'Andrea b129a703ec fix up-down navigation after selecting multiple blocks 2022-08-08 08:44:08 +08:00
lecoan 0c563facad
improve UX design: click the plugin title to open README (#6286)
* improve UX design: click the plugin title to open readme

* improve UX design: let the icon clickable

* improve UX design: rename the function from open-plugin-readme! to get-open-plugin-readme-handler
2022-08-06 21:11:19 +08:00
Phoenix Eliot 7eef27c020 Add comments to editor keyup-handler cases 2022-08-04 13:38:17 -04:00
netwjx 6205027909 Finish Chinese Translations 2022-08-04 13:19:50 -04:00
Tienson Qin 027ede88df fix: breadcrumb context navigation 2022-08-04 22:15:25 +08:00
Tienson Qin b6a7a11fac fix: safe check block content 2022-08-04 21:23:11 +08:00
Tienson Qin db700fe740 fix: Aliases where both pages exist break linked references
related to #6263
2022-08-04 21:16:12 +08:00
Tienson Qin f1ee980e47 fix: do not overwrite .md file if it already exist
close #1332
2022-08-04 21:01:25 +08:00
Tienson Qin 59b924f25d fix: CI 2022-08-04 17:25:29 +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
Gabriel Horner 8be0deecd0 Move markdown property colons into a var 2022-08-04 17:25:29 +08:00