summaryrefslogtreecommitdiff
path: root/apps/web/lib/stores
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-02-07 06:22:24 -0800
committerFuwn <[email protected]>2026-02-07 06:22:24 -0800
commit736a82f4a567cbbf82a7283d1ce7c4bf08689f71 (patch)
tree81e4d6e7d791188637cb570647cf8562025bf292 /apps/web/lib/stores
parentfeat: resolve 7 pre-ship QoL items (diff)
downloadasa.news-736a82f4a567cbbf82a7283d1ce7c4bf08689f71.tar.xz
asa.news-736a82f4a567cbbf82a7283d1ce7c4bf08689f71.zip
fix: space/shift+space scrolls focused panel, revert content font, fix share modal text
Space/Shift+Space now scrolls whichever panel is focused (entry list, detail panel, or sidebar) instead of only working in the detail panel. Removed content font setting. Fixed share modal placeholder casing and ellipsis spacing.
Diffstat (limited to 'apps/web/lib/stores')
-rw-r--r--apps/web/lib/stores/user-interface-store.ts8
1 files changed, 0 insertions, 8 deletions
diff --git a/apps/web/lib/stores/user-interface-store.ts b/apps/web/lib/stores/user-interface-store.ts
index fdee347..01dceba 100644
--- a/apps/web/lib/stores/user-interface-store.ts
+++ b/apps/web/lib/stores/user-interface-store.ts
@@ -7,8 +7,6 @@ type DisplayDensity = "compact" | "default" | "spacious"
type FontSize = "small" | "default" | "large"
-type ContentFont = "sans-serif" | "serif" | "monospace"
-
type TimeDisplayFormat = "relative" | "absolute"
type FocusedPanel = "sidebar" | "entryList" | "detailPanel"
@@ -40,7 +38,6 @@ interface UserInterfaceState {
showFeedFavicons: boolean
focusFollowsInteraction: boolean
fontSize: FontSize
- contentFont: ContentFont
timeDisplayFormat: TimeDisplayFormat
showEntryImages: boolean
showReadingTime: boolean
@@ -65,7 +62,6 @@ interface UserInterfaceState {
setShowFeedFavicons: (show: boolean) => void
setFocusFollowsInteraction: (enabled: boolean) => void
setFontSize: (size: FontSize) => void
- setContentFont: (font: ContentFont) => void
setTimeDisplayFormat: (format: TimeDisplayFormat) => void
setShowEntryImages: (show: boolean) => void
setShowReadingTime: (show: boolean) => void
@@ -94,7 +90,6 @@ export const useUserInterfaceStore = create<UserInterfaceState>()(
showFeedFavicons: true,
focusFollowsInteraction: false,
fontSize: "default",
- contentFont: "sans-serif",
timeDisplayFormat: "relative",
showEntryImages: true,
showReadingTime: true,
@@ -139,8 +134,6 @@ export const useUserInterfaceStore = create<UserInterfaceState>()(
setFontSize: (size) => set({ fontSize: size }),
- setContentFont: (font) => set({ contentFont: font }),
-
setTimeDisplayFormat: (format) => set({ timeDisplayFormat: format }),
setShowEntryImages: (show) => set({ showEntryImages: show }),
@@ -194,7 +187,6 @@ export const useUserInterfaceStore = create<UserInterfaceState>()(
focusFollowsInteraction: state.focusFollowsInteraction,
expandedFolderIdentifiers: state.expandedFolderIdentifiers,
fontSize: state.fontSize,
- contentFont: state.contentFont,
timeDisplayFormat: state.timeDisplayFormat,
showEntryImages: state.showEntryImages,
showReadingTime: state.showReadingTime,