mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-17 00:24:43 -04:00
refactor: reimplement realtime-communication
This commit refactors a lot of things that are not easy to separate. It replaces the binary protocol of y-protocols with json. It introduces event based message processing. It implements our own code mirror plugins for synchronisation of content and remote cursors Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
67cf1432b2
commit
3a06f84af1
110 changed files with 3920 additions and 2201 deletions
4
frontend/src/redux/application-state.d.ts
vendored
4
frontend/src/redux/application-state.d.ts
vendored
|
@ -8,7 +8,7 @@ import type { HistoryEntryWithOrigin } from '../api/history/types'
|
|||
import type { DarkModeConfig } from './dark-mode/types'
|
||||
import type { EditorConfig } from './editor/types'
|
||||
import type { NoteDetails } from './note-details/types/note-details'
|
||||
import type { RealtimeState } from './realtime/types'
|
||||
import type { RealtimeStatus } from './realtime/types'
|
||||
import type { RendererStatus } from './renderer-status/types'
|
||||
import type { OptionalUserState } from './user/types'
|
||||
|
||||
|
@ -20,5 +20,5 @@ export interface ApplicationState {
|
|||
darkMode: DarkModeConfig
|
||||
noteDetails: NoteDetails
|
||||
rendererStatus: RendererStatus
|
||||
realtime: RealtimeState
|
||||
realtimeStatus: RealtimeStatus
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue