Commit Graph

466 Commits (71f01b111564657aee830bf02bd454003ae799a7)

Author SHA1 Message Date
Tienson Qin cea105cc34 fix: wrong ns import 2024-01-16 16:01:18 +08:00
Tienson Qin a619850998 Merge branch 'feat/db' into refactor/pipeline-worker 2024-01-16 15:42:18 +08:00
Gabriel Horner 34222b3436 chore: bump nbb-logseq that points to upstream nbb 2024-01-15 18:07:49 -05:00
Gabriel Horner 2305d09cc8 chore: DRY up duplicated vars and needless/confusing aliases 2024-01-15 16:51:27 -05:00
Gabriel Horner ca020fcdb3 fix: loading all new deps namespaces in nbb
- bb test:load-all-namespaces-with-nbb now passes for all deps
- Updated nbb-logseq to support cljs.core/Atom
- Adjusted datascript.impl.entity with previous datascript.db require
  so that correct loading occurs in nbb
- fixed missing deps in logseq.outliner
- Converted a minor cljs.spec to malli since malli is nbb compatible
- Changed exists? to some? since they are functionally equivalent for
  the given arg and some? is nbb compatible
2024-01-15 12:43:16 -05:00
Tienson Qin b55e4e7380 fix: db requests could be dropped if some requests not finished yet 2024-01-14 12:55:55 +08:00
Gabriel Horner 951e7cc841 fix: ns-docstring and large-var deps lints
Also fixed db-and-file-graphs-separate lint and moved gp-property tests
that should be moved since their source code has moved from frontend
to gp-property
2024-01-12 17:03:09 -05:00
Gabriel Horner 690764aa52 fix: unused time dep and duplicated time-ms fns
cljs-time shouldn't be added to nbb.edn since it's already included in
nbb-logseq (since parts of it aren't nbb compatible). duplicated
time-ms fns can now be removed since they are available to all deps
from common dep
2024-01-12 10:41:22 -05:00
Gabriel Horner cdddce0120 fix deps db test and most lints
Also deleted duplicated gp-util.{page-ref,block-ref} files that were moved to common
and moved a related test to common dep
2024-01-11 14:35:04 -05:00
Gabriel Horner a81e18e9a6 fix: update nbb-logseq and make entity-plus nbb compatible
deps can now load in nbb and all nbb tests pass except for db
2024-01-11 13:10:06 -05:00
Gabriel Horner a2bb7e4479 fix: adding timestamps to imports shouldn't change updated-at 2024-01-10 16:06:20 -05:00
Tienson Qin 9ee04feeb5 Merge branch 'feat/db' into refactor/pipeline-worker 2024-01-10 16:13:56 +08:00
Tienson Qin 271f34838a fix: page property test 2024-01-10 05:29:52 +08:00
Gabriel Horner 3cb980bf91 fix: invalid pages and whiteboard pages from import
- some pages are missing block/journal? and block/original-name
- removed another file graph only attribute
- fixed whiteboard block schema missing :block/path-refs
- pulled out importing block to its own fn

Part of LOG-2990
2024-01-09 16:03:49 -05:00
Tienson Qin 16f8beefaf fix: model and page ref test 2024-01-10 04:47:18 +08:00
Gabriel Horner e1ad1fd9c8 fix: invalid blocks in import created by tags and refs
Also make :block/format valid. Part of LOG-2990
2024-01-09 13:43:00 -05:00
Gabriel Horner e715881a4f fix: macro blocks and remove file-graph only attributes for import
Also disable properties until it's ready. Part of LOG-2990
2024-01-09 12:48:27 -05:00
Tienson Qin 501c06c44f fix: whiteboard redundancy 2024-01-09 16:53:49 +08:00
Gabriel Horner 6ad5fb2dd4 fix: db graphs not adding :block/content for whiteboard shape
Caused by hopefully one of the last incorrect lookups of
:block/properties
2024-01-08 16:16:07 -05:00
Gabriel Horner 0957cb15b3 fix: built-in props weren't persisted to opfs
and didn't show up in new graphs. Fixes LOG-2998. Issue was that
e6a464e64f introduced transacting built-in
properties twice. Since the first transaction doesn't send tx-data to
the db-worker (an issue with pipeline/invoke-hooks it seems), the 2nd tx
results in missing property info including name. Removing this
incorrectly setup first tx allows the original one to successfully send
initial property data to db-worker
2024-01-08 11:26:22 -05:00
Gabriel Horner 6e911798e7 fix: Make bare graph valid for file graph import
Fixed blocks, pages and config.edn as part of LOG-2990
2024-01-05 17:03:35 -05:00
Tienson Qin fa2892cef6 use ldb/transact! instead of d/transact! 2024-01-05 06:42:10 +08:00
Tienson Qin 086a052ee7 Move page-create to worker 2024-01-05 01:02:22 +08:00
Tienson Qin f3e7f8b66b remove handler.whiteboard dependency for rtc.core 2024-01-04 17:30:04 +08:00
Tienson Qin 7258cf48da fix deps 2024-01-03 18:12:12 +08:00
Tienson Qin 9194a671fd Move outliner core to its own dep 2024-01-03 18:02:48 +08:00
Tienson Qin faf2d8116a Move worker.mldoc and worker.file.property.util to graph parser dep 2024-01-03 17:35:12 +08:00
Tienson Qin a6f83c2445 Move worker.util fns to common.util 2024-01-03 17:08:24 +08:00
Tienson Qin b7d9098e80 Move gp-util and gp-config to the common dep 2024-01-03 16:38:05 +08:00
Gabriel Horner 4fd0b65639 bump nbb-logseq to use datascript with dirty flag fix 2024-01-02 17:07:11 -05:00
Gabriel Horner 5afbfce4a0 fix: graph-parser lints and tests from #10770 2024-01-02 16:22:04 -05:00
Tienson Qin 0ca1bd61eb wip: outliner core refactor 2024-01-02 21:46:40 +08:00
Andelf 098766b1fb enhance: support of importing from graph folder to db graph 2024-01-02 18:17:11 +08:00
Tienson Qin 54d2cd6a0d fix: tests and warnings 2023-12-25 17:36:46 +08:00
Tienson Qin 018e1ae8ee Merge branch 'master' into feat/db 2023-12-23 14:18:25 +08:00
Gabriel Horner d4f438f228 bump nbb-logseq for latest datascript 2023-12-21 13:00:44 -05:00
Gabriel Horner 52f7afa18f bump nbb-logseq to latest datascript with another storage delete fix
part of LOG-2974
2023-12-19 13:42:13 -05:00
Gabriel Horner de3d82baba bump to latest nbb-logseq with datascript.storage delete fix 2023-12-18 11:10:59 -05:00
Tienson Qin 621faf90a4 fix: don't treat a block as pre block if it has auto heading 2023-12-15 17:10:16 +08:00
Gabriel Horner ffa6aaae29 fix: remove unused db.sqlite related fns
- remove sqlite-db/close! as its not used and didn't make sense to be
  used in other electron ns
- remove sqlite-db/connections atom as its not needed
- remove read-graph as its not necessary
- rename cli.persist-graph as its primary purpose has changed
- update effected scripts
2023-12-13 12:06:24 -05:00
Gabriel Horner 0f4cdbbadf bump outdated nbb-logseq and fix lint 2023-12-11 15:55:38 -05:00
Gabriel Horner e0901b9d04 bump nbb-logseq to first version
that works for forked datascript. Deps tests pass locally
without needing to rely on local builds
2023-12-11 13:52:15 -05:00
Gabriel Horner b5eabc80ee fix: db and graph-parser nbb tests to pass locally
Updated sqlite fns to use updated approach. Deleted some unused
fns from old approach
2023-12-11 13:51:47 -05:00
Tienson Qin ea3f5973b7 Merge branch 'feat/db' into feat/datascript-storage 2023-12-06 01:10:23 +08:00
Tienson Qin 67fd609170 fix: typing a normal page as a tag silently changes its page type
User can choose to create either a page or a class with '#' now.
FIXES LOG-2742
2023-12-05 17:31:21 +08:00
Tienson Qin e8d411b837 fix: typing markdown property results in a blank line
Fixes LOG-2741
2023-10-27 14:23:26 +08:00
Gabriel Horner edaf9b286a chore: move frontend db namespaces to a dedicated parent ns
Moved these namespaces to logseq.db.frontend.* to make their purpose
explicit and make the namespaces easier to maintain
2023-10-16 17:24:51 -04:00
Gabriel Horner b1b830c872 fix tests I forgot to update with :block/format fix 2023-10-16 16:14:53 -04:00
Gabriel Horner e09a5d9988 fix: pages didn't consistenly have :block/format
Making attributes consistent reduce bugs in components and query layer (where
most wouldn't know to use get-else)
2023-10-16 12:58:11 -04:00
Gabriel Horner 82994cb79d fix: tests related to :block/type arity change 2023-09-25 12:30:21 -04:00
Tienson Qin 0e8653985d refactor: allow a block to have multiple types
For example, a whiteboard page can be used both as a property and a class.
2023-09-25 10:46:00 +08:00
Gabriel Horner ea8d6679de Fix frontend and graph-parser tests
A number of outliner tests were failing which is distracting when trying
to separate out outliner namespaces. Most failures were caused by
introduction of state/get-selection-blocks into outliner layer. A few
are caused by trivial count change in datoms. Removed config/test? from
outliner as it's unused
2023-09-06 11:57:41 -04:00
Gabriel Horner b264d17309 Move db-graph property fns to its own logseq.db ns
db-graph related fns like these shouldn't be in the graph-parser dep as
that dep should only really be used with file graphs as much as possible.
This is also being done in preparation for making the create-graph ns independent of
the frontend

Also db- prefixes in fns were dropped since the ns now carries the db-
prefix
2023-09-05 17:15:45 -04:00
Tienson Qin 60ab58c2ad fix: can't tag a block if the tag name has spaces 2023-09-06 01:08:33 +08:00
Gabriel Horner deb2a1aaad fix: render v2 tables correctly
also added shui properties so they are built-in
and editable
2023-08-24 16:42:24 -04:00
Gabriel Horner 775a38f91d fix: sorting for keyword columns 2023-08-22 17:15:32 -04:00
Gabriel Horner 6ad560e4cb fix: query table column selection
also fix lint in related ns
2023-08-22 16:27:04 -04:00
Gabriel Horner ef03f12da7 Fix typos and get fn back to a reasonable size 2023-08-22 08:55:29 -04:00
Tienson Qin 6f8b9712d9 fix: other unit test 2023-08-18 21:42:37 +08:00
Gabriel Horner 0f1f8873f3 fix: existing tags and alias are now excluded
if they already exist on a block. Also fixed lower case version
of properties not being excluded. Also fixed lint in component ns
2023-08-16 15:40:24 -04:00
Gabriel Horner 172ee0ae24 Provide sqlite.cli for reusable sqlite fns
Already had to do read-graph 3 times and will soon need to it outside
logseq so worth putting this behind an api ns
2023-08-15 18:08:44 -04:00
Tienson Qin e2c28aa91a enhance: hide block refs count for blocks created in property 2023-08-07 18:53:28 +08:00
Tienson Qin 668a17c2af enhance: be able to collapse/expand properties 2023-08-07 17:31:34 +08:00
Tienson Qin 6ec79d48cb feat: property icon emoji picker 2023-08-07 15:03:03 +08:00
Tienson Qin 5d2e65b8f8 enhance: use row layout for multiple pages 2023-08-04 12:21:09 +08:00
Gabriel Horner 6537f0dfab Loosen property name check for db graphs
properties don't need to be keywords for db graphs since property names
aren't involved in property storage. This change allows for property
names to have whitespace and be invalid edn.

See #6753 for example bugs that db-validation-property-name? catches
2023-08-03 17:00:49 -04:00
Gabriel Horner 47cea36e7d fix: add back disallowing adding hidden built-in properties
Without this adding a built in prop and value leads to it disappearing
with no explanation. Also cleaned up gp-property into sections mostly
to differentiate between file and db graph properties
2023-08-03 10:11:23 -04:00
Gabriel Horner d3ba0de946 fix: user can't add hidden built-in properties to blocks
Allowing this leads to errors e.g. user adds 'query-properties' property
and then adding value throws error b/c of internal schema type :coll
2023-08-02 15:39:18 -04:00
Gabriel Horner e85557bacd Fix graph-parser lint
Also bump property perf for db-graph as it's a little slower but
still within reasonable range
2023-08-01 16:48:35 -04:00
Gabriel Horner 991c0994e5 All query-dsl tests pass for db graphs
Add to CI. Also fix graph-parser lint and typo
2023-08-01 16:34:48 -04:00
Tienson Qin 4f24c80b33 fix: add back support for alias and tags 2023-08-02 03:09:55 +08:00
Tienson Qin 15cb78fbf7 fix: add pre-configured properties when creating a new db graph 2023-08-02 01:49:23 +08:00
Tienson Qin 8e9a189ba1 handle whiteboard built-in properties 2023-08-01 21:48:36 +08:00
Tienson Qin db5e0a6571 handle pdf annotation properties 2023-08-01 21:23:00 +08:00
Tienson Qin dbcd082f08 wip: handle built-in properties 2023-08-01 19:03:16 +08:00
Gabriel Horner 40237b912f Remove nonexistent :block/unordered from test 2023-07-24 12:32:08 -04:00
Gabriel Horner 5f91e6cf0f Merge branch 'master' into feat/db 2023-07-24 12:21:19 -04:00
Gabriel Horner ba53bf297c Remove last use of :block/unordered
This was coming directly from the block's ast so it was harder to trace
2023-07-24 10:26:02 -04:00
Gabriel Horner 2b90b0462a Remove explicit :block/unordered that should already be deleted 2023-07-24 10:26:02 -04:00
Gabriel Horner 48009adaf9 chore: reuse common helper for stringifying datoms 2023-07-20 18:37:22 -04:00
Gabriel Horner d7eeea28dd Add a test that ensures file and db graphs have expected datoms 2023-07-20 18:27:07 -04:00
Tienson Qin 23d3091fce Added :block/instance to db schema 2023-07-10 16:44:51 +08:00
Tienson Qin 3820cb7ff6 feat: structured pages 2023-07-10 03:01:40 +08:00
Tienson Qin 70406332dc fix: namespace whiteboard pages import 2023-06-27 14:00:33 +08:00
Tienson Qin 23d918dcc2 Merge branch 'master' into feat/db 2023-06-26 20:10:41 +08:00
Andelf a59ecb370d chore(deps): bump diff-merge to 0.1.0 2023-06-26 19:20:04 +08:00
Andelf 1c6fe4be82 enhance(sync): add merge step to update local 2023-06-26 19:20:04 +08:00
Tienson Qin fd6b587235 Merge branch 'master' into feat/db 2023-06-21 14:09:16 +08:00
rcmerci 8a1c54173b [wip] property edit 2023-06-20 18:08:40 +08:00
Junyi Du bea081c5b0 test: more remove indent test 2023-06-16 00:42:30 +08:00
Junyi Du e50e129fba dev(docstring): remove indentation 2023-06-16 00:42:30 +08:00
Tienson Qin 6cbbd66333 Revert "Trim whitespaces for org mode files too"
This reverts commit 3fd7492e0ab90fc1d4890ea4b4005743cbbe0856.
2023-06-16 00:42:30 +08:00
Tienson Qin bccf5888c7 add tests 2023-06-16 00:42:30 +08:00
Tienson Qin 54706785c3 Trim whitespaces for org mode files too 2023-06-16 00:42:30 +08:00
Tienson Qin b1236b4e89 fix: trim whitespaces for block's content
Let's say we have a page like this:
- a
  - b
 b' content

After parsing, block `b` content should be `b\nb' content`
2023-06-16 00:42:30 +08:00
Tienson Qin 32173ff95e fix: new page doesn't have block/uuid 2023-06-14 17:29:55 +08:00
Gabriel Horner 3f1d32dd6c Update clj-kondo and bb-tasks for deps projects 2023-06-13 14:48:50 +08:00
Gabriel Horner df2edd44ac Rename temp :block keys to be explicit about their use
:block is a heavily used namespace. We should at least
be explicit about keys that aren't being transacted
2023-05-26 09:13:38 -04:00
Gabriel Horner 33285a354d Fix table and view properties not hidden on display
fix #9489
2023-05-26 09:10:46 -04:00
Gabriel Horner 51a23934a4 Fix parse-graph not ignoring correctly for relative dir
parse-graph now returns absolute file paths
2023-05-19 21:49:58 -04:00
Gabriel Horner 47508ac2ac Add :hidden config support to graph-parser.cli
Also fix lints and tests from previous commits
2023-05-18 23:25:15 +08:00
Gabriel Horner 91beda09d5 Split out graph fns and reuse them b/n gp-cli and electron
Also added test
2023-05-18 23:25:15 +08:00
Gabriel Horner fe24b61beb Fix asset link creating invalid page for org mode 2023-05-15 11:55:59 +08:00
Gabriel Horner 7335a6f623 Fix org mode page refs - close #9367 2023-05-15 11:55:59 +08:00
Ben Yorke 928742e66b shui/table introduction 2023-05-12 13:24:54 -04:00
Gabriel Horner b2776bbb18 Remove supported-formats in all the places it's no longer used 2023-05-11 13:56:25 +08:00
Gabriel Horner b26d83d2fc Fix mailto and other links creating invalid pages
Fixes #9346 and fixes #5926.
Also fixes case where relative paths for unsupported paths were creating
pages per directory e.g. `deps/graph-parser/yarn.lock` created deps and
graph-parser pages
2023-05-11 13:56:25 +08:00
charlie 9367590d9b Merge branch 'master' into feat/custom-children-list-style 2023-04-28 10:30:53 +08:00
Andelf 0c91829365 fix(editor): handle protocol urls
Related: #9243
2023-04-27 14:30:46 -04:00
Andelf a301f25474 Revert "Feat: ordered(number) list blocks (#9141)"
This reverts commit 68492a5c67.
2023-04-25 12:37:30 +08:00
Charlie 68492a5c67
Feat: ordered(number) list blocks (#9141)
* fix(ui): marker of number list
* feat(ui): sub alpha marker for order block (own-property)
* fix(ui): make order list style more compatiable
* fix(ui): reactive block state for all the order list related items
* improve(ux): backspace for the empty order list block
* improve(ui): slash commands for the own number list block
* fix(ui): incorrect order list number for the root block
* fix(ui): order list not work for the custom query blocks
* fix(ui): contextmenu for the number list marker
* improve(ui): remove the property of `logseq.children-as` for the order list feature
* fix(ui): incorrect order list number for the journal pages list
---------

Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
2023-04-25 12:24:09 +08:00
charlie e075d23758 improve(ui): remove the property of `logseq.children-as` for the order list feature 2023-04-21 17:45:57 +08:00
charlie 0449ee6bdc Merge branch 'master' into feat/custom-children-list-style 2023-04-18 18:26:57 +08:00
Tienson Qin b359718f4a
fix: insert properties will truncate other properties if there's any empty property (#9117)
fix: insert properties not working when there's any empty property
2023-04-18 14:01:13 +08:00
charlie f0855d4021 Merge branch 'master' into feat/custom-children-list-style 2023-04-18 10:05:58 +08:00
Junyi Du 5aba871ead deps: diff-merge
dev: graph parser IoC hook

test: use test db for diff-merge tests

fix: ci lint

dev: refactoring post block-parsing process

feat: diff-merge 2 way merge integration

fix: key namespace of uuid in fix-duplicated-id

fix: duplicated uuid ci
2023-04-17 09:41:39 -04:00
charlie 9183dbfdca Merge branch 'master' into feat/custom-children-list-style 2023-04-17 13:57:57 +08:00
Gabriel Horner a7fe7fa19d Break up var that is too large 2023-04-14 09:35:55 -04:00
Gabriel Horner a53ebf1750 Fix parse-graph namespace bugs
parse-graph didn't have all the extract-options that the app does.
Adding them fixed the bugs.
Also fix publishing bug where old :all-pages-public? option wasn't
respected
2023-04-14 09:35:55 -04:00
Gabriel Horner eac3c273ca Updates docs version for parse-graph integration tests 2023-04-14 09:35:55 -04:00
charlie 1043eff9cd feat(ui): WIP number list block (own-property) 2023-04-14 18:37:31 +08:00
charlie d8af0cc35a feat(ui): WIP number list block 2023-04-12 17:43:14 +08:00
Gabriel Horner 5cce967192 Add nbb-test-runner to graph-parser
Replaces manual, hardcoded runner
2023-04-12 11:02:43 +08:00
Gabriel Horner 7dc9c41899 Fix nbb.edn paths with latest nbb-logseq
Also upgrade nbb-logseq in other deps
2023-04-12 11:02:43 +08:00
Gabriel Horner 12c0ae38e5 Fix tests and lints
- Fix publishing tests missing dev dep and workaround nbb.edn bug
- Fix regex which fails in cljs tests
- Fix typo
- Fix missing dep in job
2023-04-09 23:13:33 +08:00
Gabriel Horner fef07fe812 Add docs and workflow for dep
Also rename dep to publishing for consistency with existing names
2023-04-09 23:13:33 +08:00
Gabriel Horner 5186070248 Finish migration of publishing to deps
* Frontend and cmdline version use the same fns!
* Add docstrings and db tests
* Fix bug with intermittently failing asset copies
* Move publish cli to scripts since publish-spa shouldn't have graph-parser dependency
* Fix parse-graph bug noticed while testing publishing
2023-04-09 23:13:33 +08:00
Andelf 94b27014dd fix(fs): asset path on windows 2023-03-28 09:14:42 +08:00
Andelf 72a290d21c fix(electron): initial warning of local dir 2023-03-28 09:14:42 +08:00
Andelf e95d73059b refactor(fs): refactor bfs to memory-fs, add memory:// support 2023-03-28 09:14:42 +08:00
Andelf 6082663f4c fix(electron): assets:// url handling 2023-03-28 09:14:42 +08:00
Andelf ad564a4d72 fix(fs): asset url handling 2023-03-28 09:14:42 +08:00
Andelf 31d7c8f836 refactor(fs): use rpath 2023-03-28 09:14:42 +08:00
Tienson Qin db6fc6b7ee
feat: simple query builder (#8774)
Simple query builder

---------

Co-authored-by: Gabriel Horner <gabriel@logseq.com>
Co-authored-by: charlie <xyhp915@qq.com>
2023-03-21 14:27:00 +08:00
Gabriel Horner 1c3ef2ccb5 Fix url? detection for raw paste case - fix #7297 2023-03-20 09:54:41 -04:00
rcmerci c3f7417682
enhance: add mldoc ast schema (#8829)
* enhance: add mldoc ast schema

* Add bb task to validate mldoc

Also move mldoc schema to make room for other schemas

---------

Co-authored-by: Gabriel Horner <gabriel@logseq.com>
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2023-03-20 13:41:13 +08:00
Gabriel Horner 6108aa1036 Add tests for timestamp blocks
Also make block attributes more explicit in pre-block and reduce needless coupling
2023-02-27 13:20:10 -05:00
Gabriel Horner 6506c369e8 Add support for block refs in page/block props 2023-02-27 13:20:10 -05:00
Gabriel Horner d7d65a6c66 Remove :collapsed from properties-text-values like we do for :id
https://github.com/logseq/logseq/pull/8657/files#r1112206914
2023-02-21 12:35:23 -05:00
Zhizhen He 25c15053d6 feat: add typos to GitHub action
Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
2023-02-21 12:01:58 -05:00
Tienson Qin 40ad524443
fix: duplicated block ids in multiple files (#8668)
fix: duplicate block ids in multiple files
Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2023-02-21 15:50:09 +08:00
Tienson Qin 3372b3bfbd
fix: duplicate block ids in same file (#8657)
fix: duplicate block ids in the same file
2023-02-21 14:40:43 +08:00
Tienson Qin 3fde6f59ec fix(lint): add mldoc-link? to ignore 2023-02-13 15:27:20 +08:00
Tienson Qin c8db7646e2 fix: use mldoc to check links 2023-02-13 15:19:11 +08:00
ksqsf 9f2ce3dd39 enhance: recognize refs as links when inserting links from selection 2023-02-13 15:19:11 +08:00
Junyi Du 9d2055f8b9 enhance: re-index performance 2023-02-10 15:32:54 +08:00
Konstantinos 206844d2a8
Fix: Auto heading on markdown mode (#8327)
* fix: markdown auto heading

* fix: do not remove heading property

* fix: always clear heading before setting

* fix: auto heading preview on edit mode

* fix: inc

* fix: remove console log

* fix: remove numeric heading and revert changes

* disable current state button
2023-02-06 23:04:22 +08:00
sallto 351a4f34a3
feat: support Media Fragment URIs with audio (#8300)
* fix: fragment urls for audio player

* fix: add Support for url queries and fragments to extension detection

* feat: add tests for extraction of file extension

Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2023-02-06 16:47:23 +08:00
Gabriel Horner 917a8aa098 Fix page blocks not displaying full property values in query tables
We were only saving these in pre-block but we also need them in page
block. Also adds tests for blocks that had this behavior since #6529
2023-02-01 16:28:42 -05:00
Ben Yorke c76da13570 Adds support for :query-page as an input 2023-01-31 16:05:20 -05:00