Commit Graph

22693 Commits

Author SHA1 Message Date
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
Gabriel Horner
273eef800b fix: remove needless db-graph? checks in outliner 2026-01-22 13:19:57 -05:00
Gabriel Horner
b91b892181 chore: remove unused file ns graph-parser.cli 2026-01-22 13:19:57 -05:00
Gabriel Horner
a4171a33eb fix: remove lint config for nonexistent fns 2026-01-22 13:19:57 -05:00
Gabriel Horner
5d4a91eb7e enhance(dev): Add more publish docs
enable linter now that namespaces are documented
2026-01-22 11:31: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
a5fe0b8dd5 fix: publish not building in CI 2026-01-21 17:31:01 -05:00
Gabriel Horner
cd8f312b9f enhance(dev): add linters and workflow for publish
to have basic code quality checks. Test worker asset builds
successfully Also fix minor things caught by clj-kondo and carve.
2026-01-21 15:34:22 -05:00
Gabriel Horner
3e0d57bc32 chore: prefix deps workflows with 'deps-'
to organize workflow files better
2026-01-21 14:16:38 -05:00
Gabriel Horner
42f89e11ae chore: disable recent failing assertions until they are fixed 2026-01-21 13:11:09 -05: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
Tienson Qin
6c58b77392 Merge pull request #12296 from logseq/feat/bi-directional-properties
feat: bi-directional property
2026-01-22 00:53:06 +08: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
1e5026aa3f Update deps/db/src/logseq/db/frontend/property.cljs
Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
2026-01-22 00:52:47 +08:00
Tienson Qin
772bd04bda Update deps/db/src/logseq/db/frontend/property.cljs
Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
2026-01-22 00:52:47 +08:00
Tienson Qin
e5c378f6d9 remove repeat definitions of ls-api-call! 2026-01-22 00:52:47 +08:00
Tienson Qin
624b7c593a add e2e tests for bidirectional properties 2026-01-22 00:52:47 +08:00
Tienson Qin
ec0cc4549b fix: lint 2026-01-22 00:52:47 +08:00
Tienson Qin
cbece9e29f fix: lint 2026-01-22 00:52:47 +08:00
Tienson Qin
6d51d33f15 cljs port of pluralize.js 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
ada37adbf1 fix: lint 2026-01-22 00:52:47 +08:00
Tienson Qin
bc5984e1a3 Update deps/db/src/logseq/db/frontend/property.cljs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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