feat(workspace): links to single bullets
MindSift CI & Docker Release / Build, Test in Container & Push (push) Successful in 2m8s
MindSift CI & Docker Release / Build, Test in Container & Push (push) Successful in 2m8s
- copy a link to a bullet from its action bubble or pick a bullet in the link dialog; [[Note#^id|Note › excerpt]] opens the note, jumps to and highlights the bullet, or says it is gone - wiki links render inline with their label and are clickable; the duplicate chip below the text is gone test(e2e): run each suite with its own container, image tag and port, so parallel runs from another working copy no longer remove our server Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d408e7d307
commit
1a49e6b304
12 files changed
+284
-45
No files matched your search
@@ -939,10 +939,12 @@ export const WorkspaceView: React.FC<WorkspaceViewProps> = ({
|
||||
};
|
||||
|
||||
const handleWikiLinkClick = useCallback(
|
||||
(pageTitle: string) => {
|
||||
(pageTitle: string, blockId?: string) => {
|
||||
const clean = pageTitle.trim().toLowerCase();
|
||||
const match = docs.find((d) => d.title.trim().toLowerCase() === clean);
|
||||
if (match) {
|
||||
if (match && blockId) {
|
||||
handleJumpToDocBlock(match.id, blockId);
|
||||
} else if (match) {
|
||||
setSelectedDocId(match.id);
|
||||
setSubView('editor');
|
||||
setMobileShowDetail(true);
|
||||
@@ -950,7 +952,7 @@ export const WorkspaceView: React.FC<WorkspaceViewProps> = ({
|
||||
handleCreateDocument('');
|
||||
}
|
||||
},
|
||||
[docs, handleCreateDocument]
|
||||
[docs, handleCreateDocument, handleJumpToDocBlock]
|
||||
);
|
||||
|
||||
const openDocShareModal = useCallback(async (doc: Document) => {
|
||||
|
||||
Reference in new issue
Block a user