Commit Graph

349 Commits

Author SHA1 Message Date
Gabriel Horner
e157e818cb chore: mv publishing.cljs to deps/publishing
allows for faster publishing dev as publishing-backend workflow
works against latest deps/publishing instead of cached version in .nbb
2024-10-30 12:37:02 -04:00
Tienson Qin
7d084abc5e fix: publishing app fails to load initial and then user data
fixes https://linear.app/logseq/issue/LOG-3257/publishing-app-fails-to-load-initial-and-then-user-data
2024-10-30 15:51:58 +08:00
Gabriel Horner
5c4ce0eee5 fix: delete keys from master langs that no longer exist in db version
using new --fix ability
2024-10-29 21:51:44 -04:00
Gabriel Horner
7d729804b0 enhance(dev): add lang --fix support for linting non-default langs
Useful for deleting no longer valid keys after merging master to feat/db
2024-10-29 21:49:41 -04:00
Gabriel Horner
79d289a7e2 Merge branch 'master' into feat/db 2024-10-29 21:30:08 -04:00
Gabriel Horner
e27e23574e fix: lint for a couple pl translations from #11306 2024-10-29 17:06:39 -04:00
Miroslai
5c3d6e9b40 add cs localization (#11576)
Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
2024-10-29 16:54:15 -04:00
scayuela
88368d5332 Catalan translation registering duplicates 2024-10-28 23:39:57 +01:00
Gabriel Horner
e05d69f3b1 chore: add examples of datetime queries 2024-10-11 17:35:03 -04:00
Gabriel Horner
544050302f chore: update properties graph to be better examples of query 2024-10-04 15:16:35 -04:00
Gabriel Horner
41554646de fix: objects with empty properties weren't collapsible
Also
- moved file specific collapse to only apply to file graphs
- removed db Query collapse branch b/c it was covered by other db
  branches
- updated separate lint to include org mode syntax that is deprecated in
  db graphs
2024-09-26 13:19:40 -04:00
Gabriel Horner
128295416a fix: properties graph generates queries correctly
with latest tag and query property
2024-09-25 18:27:51 -04:00
Gabriel Horner
6363dc11ff fix: invalid advanced query displays simple query editor
Also temp fix for separate lint
2024-09-25 10:04:53 -04:00
Gabriel Horner
52eb6985ff chore: update db file lint to remove namespace
and update more unused attributes
2024-09-23 15:00:52 -04:00
Gabriel Horner
8542e6d8d9 chore: add datetime examples to properties graph 2024-09-23 10:09:44 -04:00
Gabriel Horner
a3f8315e01 chore: db file linter can have exceptions 2024-09-23 09:53:31 -04:00
Tienson Qin
fe3d445f32 chore: typo 2024-09-22 13:42:47 +08:00
Tienson Qin
c5c0f5d822 feat: add datetime type 2024-09-22 10:25:07 +08:00
Tienson Qin
7e26022c8b Merge branch 'feat/db' into feat/namespace 2024-09-21 07:44:53 +08:00
Gabriel Horner
f33ce442e4 fix(dev): dev cmd should only run on clj* files
linter fails nonsensically on .md and .css
2024-09-20 17:32:58 -04:00
Tienson Qin
4b3534476c fix: display parent in editor mode 2024-09-13 23:56:00 +08:00
Gabriel Horner
366e01b7ef chore: add new ns from #11508 to db lint
Also forgot to update docstring in recent commit
2024-09-09 14:40:38 -04:00
Gabriel Horner
e5e9c5c687 chore: mv file-based util namespaces to their own directory
Makes maintenance of different graph types easier and increases linting
of what occurs in these namespaces
2024-09-09 14:31:56 -04:00
Tienson Qin
c268841121 refactor: query result with the new table view (#11508)
feat: table && list view
2024-09-09 06:55:37 +08:00
rcmerci
bc7a7d6c6d test(rtc): fix case move-blocks-concurrently 2024-09-06 13:34:31 +08:00
Tienson Qin
c7677c813e refactor: set parent for any page, not just tags (#11494)
* refactor: replace :class/parent with :logseq.property/parent

* replace :class/schema.properties with property.class/properties

* enhance: display schema properties directly in Tag properties

* tag properties style tweaks

* fix: properties view context

* fix: limit parent to be classes or pages depends on the current node

* enhance: display ancestors in Parent

* fix: ancestors

* enhance: display tag properties always for tags

* enhance: display tag block container instead of properties area

* enhance: show add property as popup instead of dialog

* fix: tag parent must be a tag

* enhance: display properties in the right sidebar

* fix: tags style

* fix: icon style

* fix: positioned icons

* fix: lint

* fix: tests

* fix: remove properties from rtc watched attrs

* fix: graph-parser tests

* enhance: style tweaks

* enhance: page/create parses tags from user-input title

* enhance(ux): [[ref]] followed by # (no whitespace) to add tags

* fix: tests

* fix: graph-parser lint and tests

* fix: allow tagged nodes to be parents

* enhance(ux): display tag property descriptions

Also, make it editable.
2024-09-03 07:32:38 +08:00
rcmerci
50fb730c43 test(rtc): launch two clients at the same time 2024-08-30 20:52:25 +08:00
Gabriel Horner
d431f62c97 fix: add more file graph concepts to db linter 2024-08-29 11:40:37 -04:00
Gabriel Horner
3bc6a27173 chore: remove unused vars in property.type
We used to use these vars when :block/schema contained cardinality and
classes
2024-08-28 11:14:54 -04:00
Gabriel Horner
7a96fc0e32 fix: show blank page error to user instead of silent failure
also fix outdated lint
2024-08-27 17:11:36 -04:00
Tienson Qin
f442c9e954 fix: lint 2024-08-27 23:22:27 +08:00
Gabriel Horner
de6c6aedd2 chore: bump nbb-logseq for datascript bump in #11483 2024-08-26 11:22:40 -04:00
Gabriel Horner
e16c880280 enhance(dev): extend fast kondo lint to run across all kondo dirs 2024-08-21 21:43:12 -04:00
Gabriel Horner
bc18661c90 enhance(dev): Add fast kondo lint for dev 2024-08-21 13:33:01 -04:00
Gabriel Horner
e0b2a75747 chore: add another file to db-file graph linter 2024-08-21 09:19:00 -04:00
Gabriel Horner
c703ebd794 fix: remove deleted lang keys from English config 2024-08-20 17:23:43 -04:00
Gabriel Horner
85e358e57b fix: not able to create case sensitive classes
Also important to keep db graphs decoupled from file specific
:block/name. Made sure that related fix in logseq/db-test#9 still works
2024-08-20 17:08:14 -04:00
Gabriel Horner
cabb24ea4e chore: tweak doc wording 2024-08-20 10:17:23 -04:00
Gabriel Horner
14a507f4cd enhance(dev): run lint fix with an option
Linters are read only by default. Lang lint can be fixed by passing
`--fix`. We don't want CI or inexperienced contributors fixing files accidentally.
Also move deps to bb.edn as putting them inline leads to quirky/buggy
tasks listing and autocompleting as they pause when fetching an inlined dep
2024-08-20 10:17:23 -04:00
Gabriel Horner
7f7c87689d doc: using a CLI generated graph 2024-08-19 16:46:26 -04:00
Tienson Qin
8b470dd455 enhance: remove unused dicts automatically 2024-08-16 15:16:56 +08:00
Gabriel Horner
261118d4dc refactor: finish frontend independence from worker and add lint
Remaining fixes worker all file related. Fixes LOG-3717
2024-08-09 12:16:20 -04:00
Gabriel Horner
7a40761eca refactor: organize worker namespaces and lint them
Organize them to live under src/main/frontend/worker and add a lint to ensure
that common code with frontend is only under frontend/common/.
Add a linter to ensure that worker doesn't depend on frontend.
Motivated to fix after recent worker breakage fixed by
75463c4df4
2024-08-08 23:01:57 -04:00
Gabriel Horner
e9ac9d2cae fix: lang lint
translation keys that are passed in code need to be configured
2024-08-08 09:35:26 -04:00
Tienson Qin
4083a2d0a0 enhance: prefer tag instead of class on UI
Some users are confused with Classes/Objects, so on UI it'll be
Tags/Nodes.
2024-08-05 15:06:54 +08:00
Tienson Qin
390b44985c chore: bump mldoc to 1.5.9 2024-08-03 15:19:51 +08:00
Gabriel Horner
8653f0616b fix: schema graph generation with description property 2024-08-03 00:27:21 -04:00
Gabriel Horner
f9a0ae0353 enhance(dev): no more renamed schema.org classes
class uniqueness was based on the old assumption of :block/name being
unique. This is no longer required for db graphs and case sensitive classes
and properties are now supported
2024-08-02 15:05:39 -04:00
Gabriel Horner
2e13c9758b enhance: add a table for property pages
that display all nodes for the current property.
Property pages now behave like classes and display a table instead of blocks.
Also update linter to include objects ns
2024-07-31 15:25:03 -04:00
Gabriel Horner
8024050210 fix: properties graph not generating
Was failing b/c property type :page no longer exists. Also added a node
without classes example as it's helpful to test creation and selection
of options for that case
2024-07-30 10:34:13 -04:00