Commit Graph

99 Commits

Author SHA1 Message Date
scheinriese
4e269f6444 Refactor highlight rendering in search and cmdk components
- Replaced the use of `:mark` elements with `:span` elements for highlighted text in both search and cmdk components, applying a unified CSS class for consistent styling.
- Improved the visual coherence of highlighted items across the application.
2025-11-28 20:51:50 +01:00
scheinriese
9df5f8b0aa improve animations 2025-11-28 04:07:26 +01:00
scheinriese
c51e58a7fb redesigned Shortcut component 2025-11-28 03:27:06 +01:00
Tienson Qin
3bdd46a898 enhance(ux): use yyyymmdd to search journals 2025-06-18 15:44:40 +08:00
Tienson Qin
a84b648fbf fix: block breadcrumb in cmdk results 2025-06-17 20:15:25 +08:00
Tienson Qin
9ea07091d9 fix: show page title without parent in cmdk result
Its parent will be included in the breadcrumb.
2025-06-16 21:23:38 +08:00
Tienson Qin
92ec65d61d Merge branch 'master' into refactor/page-parent 2025-06-15 08:27:33 +08:00
Tienson Qin
25bd22522b enhance(ux): show configure tag instead of create tag when exists 2025-06-13 20:11:28 +08:00
Tienson Qin
1d3e8a1703 enhance(ux): cmdk tag configure 2025-06-13 20:07:16 +08:00
Tienson Qin
dc8f2f4984 fix: redirect to alias 2025-06-08 16:52:06 +08:00
Tienson Qin
61cc4382c4 fix: alias auto-complete 2025-06-08 14:42:19 +08:00
Tienson Qin
3a30d47b19 fix: show matched nodes when search input starts with / 2025-06-06 04:00:02 +08:00
Tienson Qin
20ec61641d enhance(ux): put pages before blocks when auto-complete node refs
We can improve it further to display horizontal split views for both
pages and blocks on desktop.
2025-06-06 03:55:40 +08:00
Tienson Qin
589e85550a fix: esc to exit filter first and then clear the input 2025-06-06 02:42:18 +08:00
Tienson Qin
8eee397b45 fix: rtc creates duplicated first blocks for new journal pages (#11913)
* fix: rtc creates duplicated first blocks for new journal pages

The root cause is that those blocks from different clients have
different ids. Instead of using persistent block id, this fix avoids
generating the first block until users really start editing it.

* fix: add button not displayed when the last block is not empty

* fix: e2e tests

* enhance: remove dummy block

* fix: open-last-block
2025-06-02 14:19:19 +08:00
Tienson Qin
42778d36ae Merge branch 'feat/db' into refactor/page-parent 2025-05-16 23:27:20 +08:00
Tienson Qin
0822e455f8 Add tests for namespaces in Library 2025-05-16 16:27:28 +08:00
Tienson Qin
765568bd4e enhance: filter recently updated when input
Also, don't show new page for built-in files
2025-05-16 00:07:43 +08:00
Tienson Qin
49ce2c4942 enhance: show breadcrumbs for namespaced pages in cmdk && node
reference.
2025-05-15 05:15:27 +08:00
Tienson Qin
61d5aa3605 Rename :logseq.property/parent to :logseq.property.class/extends 2025-05-14 17:56:35 +08:00
Tienson Qin
0683dd6a56 enhance: use tabler icons instead of our own extensions 2025-05-04 17:31:27 +08:00
Tienson Qin
5ce4935c51 fix: can't create new page or rename page if same page with
different parent exists.

fixes https://github.com/logseq/db-test/issues/272
2025-05-04 16:52:59 +08:00
Tienson Qin
230a512ccf enhance(ux): open tag page in sidebar after creating in cmdk 2025-05-04 16:00:13 +08:00
Tienson Qin
ffa35bc6db fix: ldb/get-recent-updated-pages needs db to be ready 2025-04-28 13:57:06 +08:00
charlie
dd755427af enhance(ui): shui dialog blink 2025-04-25 16:56:41 +08:00
Tienson Qin
a868b3ed44 fix: lint 2025-04-09 20:25:20 +08:00
Tienson Qin
8226c2e055 fix: enable cmdk recent pages for file graphs 2025-04-09 20:09:10 +08:00
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