Commit Graph

160 Commits

Author SHA1 Message Date
Tienson Qin
dd294992a7 fix: react key warnings 2024-12-30 09:37:17 +08:00
Tienson Qin
c75efabc04 fix: react key warning 2024-12-30 09:22:08 +08:00
Tienson Qin
665207dc0d feat: import && export graph datoms transit 2024-12-29 15:05:23 +08:00
Tienson Qin
a3f6e074c9 Merge branch 'feat/db' into refactor/tag-as-type 2024-12-24 17:43:58 +08:00
charlie
dce0cb020b chore(dev): simplify codes 2024-12-20 15:00:14 +08:00
charlie
61e27aad17 enhance(ui): polish left sidebar navigations 2024-12-20 14:04:48 +08:00
Gabriel Horner
dbb84f0327 Merge branch 'feat/db' into refactor/tag-as-type 2024-12-19 15:29:25 -05:00
Gabriel Horner
a50e1fe681 fix: db sidebar options showing up in file graphs 2024-12-19 12:14:23 -05:00
Tienson Qin
aaccbca364 enhance: set left sidebar text weight to be font-medium 2024-12-19 20:49:54 +08:00
charlie
85284b988c enhance(ui): polish left sidebar navigations 2024-12-19 18:08:34 +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
Tienson Qin
d46dc73870 fix: creating a new text block when focusing on default value 2024-11-25 13:37:28 +08:00
Tienson Qin
a02ad793c7 fix: db migrate shouldn't be batched
Because different versions can rely on each other, e.g. the

This commit also will try to rebuild the db from the sqlite table
if migration failed.
2024-10-17 11:36:26 +08:00
Gabriel Horner
cacb6c863d enhance: add tasks and assets to sidebar
Make useful new tag pages easier to discover
2024-10-14 11:25:06 -04:00
Tienson Qin
3f0222e74d fix: remove used open-fn 2024-10-12 19:36:51 +08:00
charlie
eb4cb0609f enhance(ui): remove all of the classic modal components 2024-10-12 15:17:32 +08:00
charlie
7167e56f8c enhance(ui): remove classic sub modals 2024-10-12 11:56:38 +08:00
Gabriel Horner
594e255d98 fix: db import shouldn't fail on asset imports
Correctly display asset related properties as ignored for now.
Related to #11563. Also fix lint
2024-10-11 11:36:01 -04:00
charlie
669299dd7a enhance(ui): refactor the classic select modal with the shui dialog 2024-10-11 18:38:34 +08:00
Tienson Qin
ccb6ee48e4 enhance: ESC on code back to raw editor
Also, removed :editor/pending-type-block.
2024-10-03 17:16:41 +08:00
charlie
87ecb4f7c1 enhance(ux): polish workflow for the code type block 2024-09-27 17:59:25 +08:00
Tienson Qin
a1eab5c500 fix: update due cards should be initially called after db restored 2024-09-24 18:19:05 +08:00
Tienson Qin
db92683d70 fix: cards using async db query 2024-09-24 18:19:05 +08:00
Tienson Qin
ab0d65c41a fix: re-enable /cloze and /cards for db-based graphs 2024-09-24 18:19:05 +08:00
rcmerci
4788b05d10 chore: disable flashcard now, enable when ui adjusted 2024-09-24 18:19:05 +08:00
rcmerci
8d0d4b5063 refactor(srs): update due-cards count 2024-09-24 18:19:04 +08:00
rcmerci
ef2f79e2a1 refactor(srs): update some basic ui 2024-09-24 18:18:41 +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
8d1d5363a0 Merge branch 'feat/db' into feat/namespace 2024-09-20 20:34:21 +08:00
Tienson Qin
6a06911fee fix: Contents removed when switching graph
fixes https://github.com/logseq/db-test/issues/94
2024-09-18 11:44:44 +08:00
Tienson Qin
2d2cd2e103 enhance: display namespace when possible 2024-09-13 23:56:00 +08:00
Tienson Qin
7852a6f0f6 enhance: show node icon for linked block 2024-09-11 07:08:06 +08: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
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
39d0cc80ba fix: favorited block doesn't display reference correctly
fixes https://linear.app/logseq/issue/LOG-3214/favorited-block-doesnt-display-reference-correctly
2024-09-05 16:27:48 +08:00
Gabriel Horner
e4f585f4bf fix: wrong right click menu for page :default property
Fixes logseq/db-test#51. Only fixes :default property as other property
types don't have block context set
2024-09-04 13:46:51 -04: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
Tienson Qin
0876198cca fix: favorite page prefer id instead of name 2024-08-19 11:25:03 +08:00
Tienson Qin
440fed836c fix: disable whiteboards for db version 2024-08-13 16:00:21 +08:00
Tienson Qin
b9f9fa0ca6 wip: Demo switch to use db graph 2024-08-10 13:42:37 +08:00
charlie
12aa626d8b feat(ui): custom editor font 2024-08-05 16:30:17 +08:00
charlie
ea58da6083 enhance(ui): simplify codes for modals 2024-08-01 16:28:36 +08:00
Tienson Qin
b0c04058a9 enhance: show object and block icons in favorites 2024-07-30 09:40:42 +08:00
Tienson Qin
37ba08d865 fix: display unique title for both favorites and recents 2024-07-29 11:37:12 +08:00
Tienson Qin
eaf35e4a27 Merge branch 'feat/db' into refactor/narrow-gap-between-page-and-block 2024-07-25 16:07:54 +08:00
Tienson Qin
bcecedb909 chore: disable whiteboards on db graphs 2024-07-25 15:25:05 +08:00
charlie
c2dfcb2898 enhance(ux): improvements for the blocks selection 2024-07-25 14:06:20 +08:00
Tienson Qin
a1f352773b refactor: rename :block/original-name to :block/title 2024-07-10 21:43:03 +08:00