Full-text search, highlights and assets alias support
It also exposes a plugin API for highlight context menu
```ts
/**
* Current it's only available for pdf viewer
* @param label - displayed name of command
* @param action - callback for the clickable item
* @param opts - clearSelection: clear highlight selection when callback invoked
*/
registerHighlightContextMenuItem: (
label: string,
action: SimpleCommandCallback,
opts?: {
clearSelection: boolean
}
) => unknown
```
* fix: state shouldn't be returned in ipc
* feat: download && upload processing
* enhance(ui): interaction of show password checkbox
* feat: time left
* feat: download progress
* Set download batch size to 100
* improve(ui): progress pane of file sync indicator
* improve(ui): progress pie of each file state
* improve(ui): progress pie of each file state
* improve(ui): progress pie of each downloading file
* fix: add last changed time
* enhance: time left
* fix: total needs to be larger than finished
* fix: wait for update-graphs-txid!
* enhance: show in-progress files first
* chore: ui polish
* improve(ui): persist stauts of sync files list toggle switch
* fix(ui): visibility of sync now button on mobile
* chore: remove ios static out after sync
* fix: debounce clicking on sync icon
* fix: repos not refreshed after unlink or delete
* enhance: automatically save page-metadata.edn to avoid sync when restart
* improve(ui): sync now shortcut for file sync progress pane
* enhance: data transfer icons
* fix: stop sync if switched to another graph
* fix: can't switch
* enhance: sort files first before uploading or downloading
* fix: clear current graph uuid when sync stops
* fix: separate progress by graphs
* fix: check files only in the current progress
* fix: prevent multiple sync managers for the same graph
* fix: remove redundant files watchers
* enhance(sync): re-exec remote->local-full-sync when exception
re-exec remote->local-full-sync when <update-local-files return exceptions
* enhance(sync): re-exec remote->local-full-sync when exception
re-exec remote->local-full-sync when <update-local-files return exceptions
* fix(sync): set-progress-callback, update rsapi
* fix(sync): uploading progress bar
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
Co-authored-by: charlie <xyhp915@qq.com>
Co-authored-by: rcmerci <rcmerci@gmail.com>
* Fix re-running e2e tests when it reuses old app instances
I'm not certain this doesn't break things for other OSes/setups, but it was required for e2e tests to run after the first time I ran them. It keeps a list of all previous (now missing) graphs in the sidebar, and this flow properly causes the new one to be selected, where the old flow did not match what the UI was doing anymore.
* Add e2e test for quickly pasting blocks after editing new blocks
* Fix pasting quickly after editing a new block
* Remove "test.only" focus
* Fix clicking add button in first test by closing error notification
* Improve some flaky race conditions in tests
* Remove unrelated waits in E2E tests
* Update playwright version; update tests to match
* Fix logic for checking if there are unsaved edits
* Fix typescript complaints
* Reduce how long we wait after closing each error popup
- rules is already used by logseq-query and will be useful for
nbb-logseq
- Updated db jobs to run in deps/db by default. Less typing but
more importantly discourages independent libraries from depending on
external scripts.
- Moved lint-rules task into db since it is db specific now
- Also remove nbb-logseq from top-level as all nbb compatibility is in
deps.
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
* feat(audio): render audio link as component
* refactor frontend/component/block/inline
* fix audio component on mobile
* Fix(iOS): allow clock to replay audio
* feat(mobile): audio record
* add permission request code on record
* rename `editor/recording?` to `editor/record-status`
* move `get-asset-path` into handler/editor.cljs
* add android settings
* support sharing audio file from some apps
* enhance(record): insert audio link in a new block if non-editing
* feat(audio): allow cancelling record
* fix lints
* feat(iOS): add a tab bar
* tweak some css on mobile
* fix lints
* fix https://github.com/logseq/logseq/issues/4798
* enable tab bar on Android
* fix landscape height of tab bar
* add :reuse-last-block? option
* dont't show tab bar when editing mirror code
* tweak code-editor css
* increase width for more functional buttons
* fix card preview css on iPad
* add document-mode to tab bar
* remove tabbar when editing code and tweak textarea resize cursor behavior
* reduce SplashScreen launch screen duration
* don't show tabbar when editing page title
* enhance: float timer
* fix lint
* fix tabbar height on iPhone without notch
* remove .embed-page width
* fix lint
Co-authored-by: Andelf <andelf@gmail.com>