Personalize the Reading Experience
15 min read
Create Reader Preferences
Create Reader Preferences
Task
Use the existing ReaderPreference model as the source of truth for reader-specific settings.
The preference record includes:
theme
fontFamily
fontSize
lineHeight
contentWidth
Create a default record when a user first needs Reader preferences, or use application defaults until the first update.
Keep the defaults aligned with the prepared Reader UI.
Test
Create a new user and inspect the preference state after opening the Reader.
Confirm sensible defaults are available even before the user changes anything.
Checkpoint
Every authenticated user has a predictable Reader preference state.