Add parallel translation stack book

This commit is contained in:
2026-07-15 19:25:28 -05:00
parent 003bbb5038
commit 7a56c7d205
4 changed files with 316 additions and 2 deletions
+3 -1
View File
@@ -88,11 +88,12 @@ export type StudySettings = {
marginColumnPercent: number
studyStackPinned: boolean
activeStudyBook: StudyBook
parallelTranslationId: string | null
marginPanelOrder: MarginPanelId[]
themeMode: ThemeMode
}
export type StudyBook = 'notebook' | 'dictionary' | 'lexicon' | 'atlas' | 'commentary' | 'audio' | 'search'
export type StudyBook = 'notebook' | 'dictionary' | 'lexicon' | 'atlas' | 'commentary' | 'audio' | 'parallel' | 'search'
export type MarginPanelId = 'margin-note' | 'original' | 'linked' | 'definition' | 'study-notes'
export const defaultMarginPanelOrder: MarginPanelId[] = [
@@ -161,6 +162,7 @@ export function defaultStudySettings(): StudySettings {
marginColumnPercent: 20,
studyStackPinned: true,
activeStudyBook: 'notebook',
parallelTranslationId: null,
marginPanelOrder: defaultMarginPanelOrder,
themeMode: 'light',
}