Commit Graph

72 Commits

Author SHA1 Message Date
Tienson Qin
4169f20a28 Merge branch 'feat/db' into perf/app-start 2025-04-07 20:06:45 +08:00
Tienson Qin
70e2012e29 bump React to 18 2025-04-07 19:51:14 +08:00
Tienson Qin
da74228213 fix: later picked settings should have higher priority for sorting
fix https://test.logseq.com/#/page/67cd8311-b5f6-4974-b18d-038876725b0d
2025-03-27 15:05:16 +08:00
Tienson Qin
4e2cecec5f fix: load blocks to memory db when node reference or embed 2025-03-09 07:44:51 +08:00
Tienson Qin
ab5f81123b feat: cmd-k shows recently updated pages
Also increases nodes group limit to 10, it's 5 previously.
2025-02-25 15:55:00 +08:00
Gabriel Horner
4ed5897e4e chore: enable export+import edn commands
for any user. Better to get feedback early and iterate.
Easy to reverse this as needed
2025-02-11 15:31:29 -05:00
Gabriel Horner
44cf521d3a enhance: initial support for export+import of current page
Works across graphs for basic top-level blocks. Generalized import
command to work with block+page and other future exports
2025-01-31 20:09:17 -05:00
Gabriel Horner
085872ea64 enhance: dev commands for exporting and importing
a block data. Works within same graph currently
2025-01-29 11:35:54 -05:00
Tienson Qin
a7e9d073cd chore: rename :property/* to :logseq.property/* 2025-01-15 14:59:08 +08:00
Tienson Qin
e318e0d6c1 Merge branch 'feat/db' into refactor/block-schema 2025-01-12 16:48:19 +08:00
rcmerci
61054768c1 refactor: replace all rum/use-effect!, add kondo :discouraged-var config 2025-01-08 13:57:28 +08:00
rcmerci
6176d5d9f9 refactor: replace rum/use-callback 2025-01-07 20:34:16 +08:00
Tienson Qin
9b751126d2 wip: replace :block/schema with corresponding properties 2025-01-06 11:41:38 +08:00
Tienson Qin
2599b45768 Merge branch 'feat/db' into refactor/tag-as-type 2024-12-19 15:09:02 +08:00
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
Tienson Qin
7f80b5c365 chore: move block-unique-title to handler 2024-12-17 22:04:28 +08:00
Gabriel Horner
c22dab0d2f fix: a number of editing actions in publishing app
Creating items from cmdk, more property config fields, action items from
page title, adding rows to table and property related shortcuts
2024-10-31 15:40:36 -04:00
Gabriel Horner
53556d9230 fix: rename Card View to Gallery View
Don't overload 'Card' to mean multiple things.
Also improved migration docstrings
2024-10-14 15:41:10 -04:00
Gabriel Horner
500da0d7e1 fix(regression): 2nd modal doesn't close for remove graph cmd
or any commands using dialog-select!. Modal used to display search
commands didn't close after selecting an item
2024-10-14 14:01:06 -04:00
charlie
eb4cb0609f enhance(ui): remove all of the classic modal components 2024-10-12 15:17:32 +08:00
Tienson Qin
3f75a21567 fix: search defaults to phrases 2024-10-06 17:54:05 +08:00
Tienson Qin
fb2cc14444 fix: don't parse parent from namespace pages 2024-09-25 01:54:42 +08:00
Gabriel Horner
afe4280c6a refactor: DRY up spread out definition of db's
namespace/parent feature. Following up to #11517, provide vars
so it's clear how a feature is used and coupled throughout the codebase
2024-09-23 14:53:12 -04:00
Tienson Qin
bd9b9266b4 fix: reduce debounce time for search results 2024-09-21 09:55:06 +08:00
Tienson Qin
f494ef9786 fix: "/" page error 2024-09-21 09:51:22 +08:00
Tienson Qin
c392a9c321 perf: debounce search 2024-09-21 09:47:38 +08:00
Tienson Qin
8d1d5363a0 Merge branch 'feat/db' into feat/namespace 2024-09-20 20:34:21 +08:00
Tienson Qin
22c7f6747c fix: hide Search only current page from options when not on a page
Close https://github.com/logseq/db-test/issues/81
2024-09-16 04:34:08 +08:00
Tienson Qin
dcc2d5b6c8 fix: class configure after creating a namespace tag 2024-09-13 23:56:00 +08:00
Tienson Qin
37e59b222d fix: namespace search for non-page blocks 2024-09-13 23:56:00 +08:00
Tienson Qin
d6b0f260a4 fix: search namespace page 2024-09-13 23:56:00 +08:00
Tienson Qin
a685eee5e1 fix: search support namespace page 2024-09-13 23:56:00 +08:00
Tienson Qin
2d2cd2e103 enhance: display namespace when possible 2024-09-13 23:56:00 +08:00
Gabriel Horner
d0a3fd6574 chore: mv db specific page fns to db-page-handler 2024-09-10 16:54:27 -04:00
Tienson Qin
d54c87629c fix: breadcrumb not showing if a block hasn't been fetched from
db worker.
2024-09-10 17:35:20 +08:00
Gabriel Horner
1a47978111 fix: regression on distinguishing tagged blocks on sidebar
related to LOG-3214. Also create helper for common uses of object?
2024-09-05 09:52:09 -04:00
Tienson Qin
d0e04000f5 fix: alias to tag a node 2024-09-05 04:39:09 +08:00
Gabriel Horner
5ff364ba1e fix: stop shadowing vars for components
Turn on kondo :shadowed-var lint and fix failures.  If this lint had
been turned on, it would have caught logseq/db-test#38 and saved us time
from debugging which random component was accidentally shadowed by a var
and failing with 'Objects are not valid as a React child'. Also fixed a
few outside components but stopped b/c there are too many to do right
now
2024-08-23 15:19:33 -04:00
Gabriel Horner
e8ab1cea49 enhance: users can navigate to public built-in nodes like task ones
We spent a good amount of effort making tasks customizable. It should
be easy for users to navigate to Task or status page to customize them
2024-08-22 10:33:34 -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
Tienson Qin
3aae90b7fb fix: can't create tag from existing page 2024-08-16 10:57:12 +08:00
Gabriel Horner
337ae484f7 fix: dev mode should still be able to nav to built-ins
devs work on all parts of a graph and should be able to easily nav
where they need to. Also remove unused built-in? option
2024-08-07 12:26:30 -04:00
Tienson Qin
f46372b346 chore: keep using class instead of tag for internal usage 2024-08-06 07:15:41 +08:00
Tienson Qin
411b05e7ba Prefer to use ldb/{type}? check when possible 2024-08-05 17:51:24 +08: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
dafa090fdc enhance: show icons for class, property and node 2024-07-31 17:30:31 +08:00
Tienson Qin
cef3a9f456 Introduce node (a page or a block) 2024-07-29 22:14:12 +08:00
Tienson Qin
37ba08d865 fix: display unique title for both favorites and recents 2024-07-29 11:37:12 +08:00
Tienson Qin
51d9cb9f5e fix: cmdk page redirect 2024-07-26 12:23:11 +08:00
Tienson Qin
3799ddd5f4 fix: display tags for pages in cmdk 2024-07-26 12:17:47 +08:00