Commit Graph

356 Commits

Author SHA1 Message Date
Charlie
630c077c02 Enhance(UX): left sidebar (#11649)
* chore(ui): add sidebar related components

* chore(shui): add sidebar core

* enhance(ui): WIP polish left sidebar

* enhance(ui): polish opacity value

* enhance(ui): remove unnecessary css

* enhance(ui): simplify the left sidebar related css

* enhance(ui): polish left sidebar navigations

* enhance(ui): polish navigations items

* enhance(ui): polish graphs picker from the left sidebar

* enhance(ui): polish graphs selector

* enhance(ui): graphs dropdown content

* enhance(ux): create new page for the graphs selector section

* enhance(ui): remote icon for the graphs selector

* enhance(ui): polish sidebar navigations filter

* fix(ui): background color for the left sidebar

* enhance(ui): refactor names related with the left sidebar

* enhance(ux): WIP configurable navigations from the left sidebar

* enhance(ux): configurable navigations popup

* enhance(ux): persist user navigations from the left sidebar

* fix(ui): bad graph selector type icon

* fix: lint

* fix: lint

* enhance(ui): polish details for the left sidebar

* chore: remove shadcn sidebar component

* chore: remove shadcn sidebar related component

* fix(ui): text overflow for the page name item
2024-12-19 15:00:52 +08:00
Gabriel Horner
bcdd162145 fix: queries with default values
and objects that are descendants of a tag with
a default-value property. Fixes
https://test.logseq.com/#/page/67551ea7-bd58-48bb-a0ea-8b976fa94423.
Also extended sqlite.build to allow closed value properties to
be configured with :build/properties
2024-12-09 12:11:06 -05:00
Gabriel Horner
8e81d7d855 enhance(dev): task to import multiple file graphs easily
Also add a --continue option to see all errors on a CLI import
2024-11-21 10:30:58 -05:00
Gabriel Horner
2c23731b5d fix: property refs not deleted when block property deleted
Fixes https://github.com/logseq/db-test-cn/issues/36. Also fixes private
db-property-attributes leaking into refs caused by #11565
2024-11-15 14:46:32 -05:00
Gabriel Horner
3a22c28493 fix(dev): schema.org debug edn was invalid and noisy 2024-11-11 12:36:24 -05:00
Gabriel Horner
13830cc4d2 fix: property filter queries didn't display page nodes
for db graphs. Also tweaked example graph so blocks and pages
have same property values in order to QA property rules like this
2024-11-08 16:34:52 -05:00
Gabriel Horner
e9cf54a3b8 chore: update properties graph to test has-property
instead of deleted page-property rules
2024-11-08 14:56:21 -05:00
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