mirror of
https://github.com/BoostIO/BoostNote-App.git
synced 2026-04-26 21:05:55 +03:00
Labels
No labels
android 🤖
assigned to core 🦹
bug 🐛
documentation 📚
documentation 📚
duplicate 🚫
external issue 🔼
external issue 🔼
feature request 🌟
funded on issuehunt 💵
help wanted 🆘
improvement request 🔨
improvement request 🔨
ios 🍎
mobile 📱
needs investigation 🔬
needs more info ℹ️
needs specs 📐
plugin idea 🔌
plugin idea 🔌
poll 🗳️
pull-request
question ❓
rewarded on issuehunt 🎁
security issue 🔑
won’t fix ❌
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/BoostNote-App#848
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/BoostIO/BoostNote-App/pull/691
Author: @Komediruzecki
Created: 11/18/2020
Status: ❌ Closed
Base:
master← Head:feature/link-to-another-note📝 Commits (2)
3b25256Add initial open note-link functionality (#313)6fa751dFix CI failing, prettier📊 Changes
17 files changed (+524 additions, -23 deletions)
View changed files
📝
src/components/App.tsx(+48 -4)📝
src/components/atoms/CodeEditor.tsx(+10 -0)📝
src/components/atoms/MarkdownPreviewer.tsx(+81 -6)📝
src/components/molecules/FolderNoteNavigatorFragment.tsx(+8 -0)📝
src/components/molecules/NoteItem.tsx(+37 -6)📝
src/components/molecules/NoteNavigatorItem.tsx(+48 -2)📝
src/components/molecules/StorageNavigatorFragment.tsx(+2 -0)📝
src/lib/CodeMirror.ts(+5 -0)➕
src/lib/addons/hyperlink.js(+186 -0)📝
src/lib/db/FSNoteDb.ts(+7 -0)📝
src/lib/db/PouchNoteDb.ts(+7 -0)📝
src/lib/db/consts.ts(+2 -0)📝
src/lib/db/createStore.ts(+47 -0)📝
src/lib/db/utils.ts(+20 -3)📝
src/lib/nav.ts(+13 -0)📝
static/main-preload.js(+2 -1)📝
tsconfig.json(+1 -1)📄 Description
Add note-link functionality (#313)
Add copy note link menu option (NoteItem.tsx)
Update db API for creating a note link (createstore, FSNoteDb, PouchNoteDb)
Add codemirror hyperlink addon
Add codemirror hyperlink addon css style (CodeEditor.tsx)
Initialize hyperlink addon (CodeMirror.ts)
Add event handling of editor ctrl+click link with ipc (App.tsx)
Add regexes for note link shortId (MarkdownPreviewer.tsx)
Add handling of rendering and clicking of note link in md preview
Fix invalid logic in prependNoteIdPrefix (should return prefixed noteId when no prefix is found)
Fix electron only API
Fix getWebContentsById to be initialized
Fix hyperlink to use electron only API
Fix macos binding in hyperlink
Copy link option:

Hovering over note link inside editor:

Hovering on note link in markdown preview:

Test:
In electron Linux App (dev)
In electron Linux App production version (appImage)
Improvements:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.