Commit Graph

16550 Commits

Author SHA1 Message Date
charlie
0d4ce6a615 fix(ui): correct on-click handler syntax for dropdown menu item 2026-01-27 14:53:13 +08:00
charlie
4f54340115 fix(pdf): update drag-and-drop data format to use double brackets 2026-01-27 11:50:01 +08:00
Tomasz Kontusz
3a3e14b790 fix: return the function's result in hook-lifecycle-fn! (#11712)
This is needed for prevent-default-behaviour, which just returns
`false`.

Fixes #11711.

Co-authored-by: Charlie <xyhp915@qq.com>
2026-01-25 10:31:17 +08:00
Gabriel Horner
208b4bc205 fix: remove whiteboards and tldraw from rest of codebase
Also remove some old excalidraw refs that should've been removed awhile
back
2026-01-22 13:19:58 -05:00
Gabriel Horner
c77ccc8827 fix: remove org mode everywhere except graph-parser 2026-01-22 13:19:58 -05:00
Gabriel Horner
d117bed029 chore: remove unused file graph tx-meta options 2026-01-22 13:19:58 -05:00
Gabriel Horner
01426fd244 fix: editing global config.edn and export.css in desktop app
Only enable export.css for desktop since it doesn't work
for browser and db graphs. Also remove a related and
unused db-graph? flag
2026-01-22 13:19:58 -05:00
Gabriel Horner
a6c3569ea3 fix: remove most file-graph references from frontend and electron
- Remove references to old files under logseq/ e.g.
  logseq/version-files
- Remove flashcard commands and translations that applied to file graph flashcards
- Remove unused electron and frontend events
- Remove timetracking config which was for file graphs
2026-01-22 13:19:58 -05:00
Gabriel Horner
05ffa3eeb6 chore: remove fns made unused by OG removal
Found unused ones in deps/common, from unused frontend.db aliases
and from fns that only existed for their corresponding tests
2026-01-22 13:19:58 -05:00
Gabriel Horner
173898240e fix: remove most file graph uses in deps
except for graph-parser and publish deps

- Removed most mentions of 'repo' in deps, which cleaned up a lot related
  to export cli and worker
- Removed db-based-graph? checks in deps except for unknown use
  in entity-plus?
- Removing db-based-graph? checks resulted in deleting unused file graph
  code paths e.g. get-pid
- Removed file graph handling in cli list command
- Remove file-based-graph? checks from deps
2026-01-22 13:19:58 -05:00
Gabriel Horner
37af8f690e fix: remove remaining uses of file graph specific attributes
Removed all file graph uses of :block/namespace, :block/file, :block/type and
:block/properties except for graph-parser which still uses them for db
importer.
Removed all uses of :block/format except for graph-parser and
src/main/frontend
2026-01-22 13:19:58 -05:00
Gabriel Horner
4bb7430682 fix: rm the last file-based namespaces in db dep
Also remove the following related file schema
attributes and their dependent code:
:block/marker, :block/priority, :block/scheduled,
:block/deadline,:block/repeated?, :block/pre-block?,
:block/properties-order, :block/properties-text-values, :block/macros,
:block/invalid-properties
2026-01-22 13:19:58 -05:00
Gabriel Horner
ab137a962a fix: remove file graph imports
Remove mention of removed JSON import in descriptions. Also mv frontend.util.fs
to where they are used instead of keeping an outdated file ns
2026-01-22 13:19:58 -05:00
Gabriel Horner
6312f8236a fix: remove file graph :block/file and dependent code
Also remove all file graph references in publishing and
add back publishing.db tests with db graph.
Also remove file graph behavior for cmd-k and files
2026-01-22 13:19:57 -05:00
Gabriel Horner
c89d415e93 chore: remove unused tutorial files 2026-01-22 13:19:57 -05:00
Gabriel Horner
1d15e1f85d fix: rm file graph config from user config
Also remove unused helpers for file config keys and file graph code in
mobile.intent.  These removals also result in removing
frontend.common.file.util as it's no longer used
2026-01-22 13:19:57 -05:00
Gabriel Horner
37d9ebda1f chore: remove file-specific graph-parser code
Also removed file graph code for markdown export as a prereq
2026-01-22 13:19:57 -05:00
Gabriel Horner
6c876a0be2 chore: convert last of frontend tests to db graphs
Now able to remove unused frontend.test.* namespaces.
Also removed file-graph specific handling of old attrs like
:block/ref-pages
2026-01-22 13:19:57 -05:00
Gabriel Horner
96a9f95622 fix: remove file graph code from query-dsl
Allows removing unused file-rules and common.marker. Also remove
any incorrect or unused references to file graph markers like NOW
2026-01-22 13:19:57 -05:00
Gabriel Horner
e07ff6dd88 chore: convert query-dsl tests to db graphs
Able to remove some dead code and add :build.test/title which
is reusable for future tests
2026-01-22 13:19:57 -05:00
Gabriel Horner
e01664bac4 chore: convert more frontend tests to db graph
Removed file graph specific tests in outliner.core-test and export-test.
Also fixed test for export-test as file graph exports didn't
reference pages in blocks
2026-01-22 13:19:57 -05:00
Gabriel Horner
e5778093a6 fix: convert model tests to use db graphs
Tweaked sqlite.build to allow :block/alias. Also modified
one test's assertions since there aren't pre-blocks anymore.
model tests are running as DB_GRAPH=1 with a hack for now
2026-01-22 13:19:57 -05:00
Gabriel Horner
20cbb626a0 fix: frontend and graph-parser tests and lints
Removed file specific test
2026-01-22 13:19:57 -05:00
Gabriel Horner
2bcc331916 fix: remove gp-db ns, especially since it's unused
or incorrect in case of graph-view. Removed file graph
specific tests that depended on gp-db
2026-01-22 13:19:57 -05:00
charlie
6932114afc Merge branch 'master' of https://github.com/logseq/logseq 2026-01-22 14:38:22 +08:00
charlie
13e9781a1c enhance(ui): adjust image width in property value class 2026-01-22 14:37:41 +08:00
Gabriel Horner
7ca5c1de64 fix: unpublish not working for a local graph 2026-01-21 12:26:59 -05:00
Gabriel Horner
a24a7d48fe chore: add basic testing instructions
Move commented out PUBLISH-API-BASE so that it actually works
2026-01-21 12:26:59 -05:00
Gabriel Horner
094b65336a chore: rename new property to be feature specific
and encourage for more varied use
2026-01-22 00:52:47 +08:00
Tienson Qin
cbece9e29f fix: lint 2026-01-22 00:52:47 +08:00
Tienson Qin
a0f737e3a8 enhance(ux): block collapse state should be isolated in container 2026-01-22 00:52:47 +08:00
Tienson Qin
bb9a51d020 fix: wrong effect 2026-01-22 00:52:47 +08:00
Tienson Qin
c978675abc add enable-bidirectional? property to excludes 2026-01-22 00:52:47 +08:00
Tienson Qin
bcb9f84469 add tests 2026-01-22 00:52:47 +08:00
Tienson Qin
e5521da233 enhance: able to edit property value of :string type
able to set plural form for tags
2026-01-22 00:52:47 +08:00
Tienson Qin
164d1c908c fix: async query bidirectional properties 2026-01-22 00:52:47 +08:00
Tienson Qin
ce3f0a6d94 ux enhancements 2026-01-22 00:52:47 +08:00
Tienson Qin
3f8c6cde92 feat: Bi-directional property 2026-01-22 00:52:47 +08:00
charlie
110084e4ba enhance(apis): add today page 2026-01-19 15:35:05 +08:00
charlie
3c9c18500f fix(css): prevent flex item overflow by setting min-width to 0 2026-01-19 11:17:21 +08:00
charlie
77537a337b enhance(apis): add set_property_node_tags API and corresponding test 2026-01-18 12:33:31 +08:00
charlie
af51223ff6 enhance(apis): add setPropertyNodeTags function for managing property tags 2026-01-17 15:05:35 +08:00
charlie
e94959690d enhance(api): managing property choice values 2026-01-16 18:16:16 +08:00
charlie
56a38abb47 fix(apis): streamline tag and property resolution functions 2026-01-16 16:34:14 +08:00
charlie
55216f36f0 enhance(plugin): add support for invoking external plugin commands 2026-01-16 16:17:42 +08:00
charlie
6be47c18be enhance(plugin): add support for DB graphs in plugin UI 2026-01-14 11:05:31 +08:00
charlie
5138f0c58b fix(plugins): simplify header UI items list component 2026-01-13 15:16:22 +08:00
charlie
5ec403c32e fix(plugins): mark hook-ui-slot as static for render optimization 2026-01-13 14:46:39 +08:00
rcmerci
562a68e0e4 enhance(rtc): move rtc api schema to logseq/logseq-schema repo 2026-01-08 22:06:58 +08:00
rcmerci
f7e1a3a6fa dev(rtc): refactor debug-log, only record rtc related tx-data 2026-01-06 23:42:16 +08:00