feat: item linking (#1779)

This commit is contained in:
Aman Harwara
2022-10-11 23:54:00 +05:30
committed by GitHub
parent d22c164e5d
commit e3f28421ff
68 changed files with 2064 additions and 1277 deletions

View File

@@ -5,15 +5,15 @@ import NotesOptions from './NotesOptions'
import { WebApplication } from '@/Application/Application'
import { NotesController } from '@/Controllers/NotesController'
import { NavigationController } from '@/Controllers/Navigation/NavigationController'
import { NoteTagsController } from '@/Controllers/NoteTagsController'
import { HistoryModalController } from '@/Controllers/NoteHistory/HistoryModalController'
import Popover from '../Popover/Popover'
import { LinkingController } from '@/Controllers/LinkingController'
type Props = {
application: WebApplication
navigationController: NavigationController
notesController: NotesController
noteTagsController: NoteTagsController
linkingController: LinkingController
historyModalController: HistoryModalController
onClickPreprocessing?: () => Promise<void>
}
@@ -22,7 +22,7 @@ const NotesOptionsPanel = ({
application,
navigationController,
notesController,
noteTagsController,
linkingController,
historyModalController,
onClickPreprocessing,
}: Props) => {
@@ -53,7 +53,7 @@ const NotesOptionsPanel = ({
application={application}
navigationController={navigationController}
notesController={notesController}
noteTagsController={noteTagsController}
linkingController={linkingController}
historyModalController={historyModalController}
closeMenu={toggleMenu}
/>