* replace duplicate code
* only select current block during open contxt menu & fix issue 7689
* change unnecessary mixin function to value
* add bgcolor to custom context menu
* add collapse/expand to custom context menu
* remove redundant code
* fix misdirected comment
* add make card to custom context menu
* add heading to custom context menu
* Merge branch 'master' into enhance/context-menu
* fix undo heading need multiple times
* Revert "Merge branch 'master' into enhance/context-menu"
This reverts commit d4222db6bb.
* fix: lint
* fix heading case logically incorrect
* format code
---------
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
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
```
* enhance: clicking the refresh button if a query is slow
* fix: skip running slow queries if there's no need to refresh
* fix: linked reference filtering does not work on TASK items
close#1669
* fix: each block should have its own page as a reference when query page references
* fix: references
* fix: non consecutive blocks in query result and filtered linked references
* simplify filters logic
* fix: ref numbers
* Save both :block/refs and :block/path-refs for different usage
* fix: block refs
* enhance: move scheduled and deadlines to its own ns
* linked references performance tweaks
* mouse hover filters icon to expand the collapsed linked refs
* perf: react/refresh! once instead twice
* enhance: compute flashcards every hour instead of every 5s
* feat: macros as blocks
* feat: flashcards list
* fix: refed pages count
* fix: can't select in linked references
* fix: block editing on linked refs
* perf: editing in linked references
* enhance: update srs cards number when clicking flashcards
* Add a test for the case fixed in #6100
* Address feedbacks from Gabriel
* fix: Block Ref Indicator is missing from the references-blocks class
close#5375
* fix: referenced pages
* fix: page refs
* fix: Using filters pushed the title property to the second block
close#5845
Co-authored-by: Gabriel Horner <gabriel@logseq.com>
* First pass at select-graph with select component
* Add empty placeholder and move graph switch logic to events
* Remove unused force? in shortcuts
* Document additional option and make disabled open-select consistent
* Address review feedback
Add data check to :graph/switch, translation improvements and update
browser to display graph names same as in the sidebar
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>