Gigi
809437faa6
style: make Explore a section title like Zap Splits
...
Add section-title class to Explore heading to match other section headings.
2025-10-18 21:49:17 +02:00
Gigi
36f14811ae
refactor: add dedicated Explore section in settings
...
Create new ExploreSettings component and organize explore-related settings.
Changes:
- Create src/components/Settings/ExploreSettings.tsx
- Move "Default Explore Scope" from ReadingDisplaySettings to ExploreSettings
- Add ExploreSettings to Settings.tsx above Zap Splits section
- Better organization: explore settings now in dedicated section
Settings order:
1. Theme
2. Reading Display
3. Explore (new)
4. Zap Splits
5. Layout & Behavior
6. PWA
7. Relays
2025-10-18 21:47:34 +02:00
Gigi
8b95af9c49
feat: add default explore scope setting
...
Add user setting to control default visibility scope in /explore page.
Changes:
- Add defaultExploreScopeNostrverse/Friends/Mine to UserSettings type
- Add "Default Explore Scope" setting in ReadingDisplaySettings UI
- Update Explore component to use defaultExploreScope settings
- Set default to friends-only (nostrverse: false, friends: true, mine: false)
Users can now configure which content types (nostrverse/friends/mine)
are visible by default when visiting the explore page, separate from
the highlight visibility settings.
2025-10-18 21:45:04 +02:00
Gigi
5568437663
Revert "Add reading progress filters and split Reads/Links tabs"
2025-10-16 08:05:20 +02:00
Gigi
fd5ce80a06
feat: add auto-mark as read at 100% reading progress
...
- Add autoMarkAsReadAt100 setting (default: false)
- Add checkbox in Layout & Behavior settings
- Automatically mark article as read after 2 seconds at 100% progress
- Trigger same animation as manual mark as read button
- Move isNostrArticle computation earlier for useCallback deps
- Move handleMarkAsRead to useCallback for use in auto-mark effect
2025-10-15 23:28:50 +02:00
Gigi
8800791723
feat: add auto-scroll to reading position setting
...
- Add autoScrollToPosition setting (default: true)
- Add checkbox in Layout & Behavior settings
- Only auto-scroll when setting is enabled
- Allows users to disable auto-scrolling while keeping sync enabled
2025-10-15 22:53:47 +02:00
Gigi
cf2d227f61
feat: add reading position sync across devices using Nostr Kind 30078
...
- Create readingPositionService.ts for save/load operations
- Add syncReadingPosition setting (opt-in via Settings > Layout & Behavior)
- Enhance useReadingPosition hook with auto-save (debounced 5s) and immediate save on navigation
- Integrate position restore in ContentPanel with smooth scroll to saved position
- Support both Nostr articles (naddr) and external URLs
- Reading positions stored privately to user's relays
- Auto-save excludes first 5% and last 5% of content to avoid noise
- Position automatically restored when returning to article
2025-10-15 22:08:12 +02:00
Gigi
38a1d6caec
fix: always show PWA install section with disabled button states
2025-10-15 19:43:44 +02:00
Gigi
9dc0db3e06
fix: always show App & Airplane Mode section regardless of PWA status
2025-10-15 19:42:27 +02:00
Gigi
b1eb58a385
fix: display zap split share and percentage on same line
2025-10-15 19:41:26 +02:00
Gigi
f3c6404f76
refactor: simplify zap split labels and update terminology
2025-10-15 19:39:04 +02:00
Gigi
1a42a6422d
fix: disable PWA install button when installation is not possible on device
2025-10-15 19:37:57 +02:00
Gigi
51115c5f68
refactor: move Default Highlight Visibility back after Paragraph Alignment
2025-10-15 19:34:03 +02:00
Gigi
2aa6fe860b
refactor: merge Layout & Navigation and Startup & Behavior into Layout & Behavior section
2025-10-15 19:33:22 +02:00
Gigi
86f39eacf8
refactor: move Default Highlight Visibility after Font Size in reading settings
2025-10-15 19:32:13 +02:00
Gigi
d15daef3ea
fix: properly align Font Size buttons to right using setting-control wrapper
2025-10-15 19:31:04 +02:00
Gigi
281c70cdea
style: align Font Size buttons to the right to match highlight color buttons
2025-10-15 19:29:22 +02:00
Gigi
b85f9b79c3
feat: add zaps.svg illustration to Zap Splits section with responsive layout
2025-10-15 19:26:10 +02:00
Gigi
431f28e861
refactor: update zap split description to match offline-first paragraph style
2025-10-15 19:15:43 +02:00
Gigi
3b1fc095c4
feat: add 50% visual indicators to zap split sliders with gradient background and tick marks
2025-10-15 19:15:14 +02:00
Gigi
c1d173f40e
fix: move offline-first paragraph inside flex container to prevent overlap with image
2025-10-15 19:12:17 +02:00
Gigi
f03ec5df8c
refactor: move 'Use local relays as cache' checkbox after local relay paragraph
2025-10-15 19:11:36 +02:00
Gigi
6c74a12636
feat: add offline-first description at the beginning of App & Airplane Mode section
2025-10-15 19:10:38 +02:00
Gigi
39797803d3
refactor: rename section title from 'PWA & Flight Mode' to 'App & Airplane Mode'
2025-10-15 19:07:54 +02:00
Gigi
c66c1e928d
refactor: swap paragraph order - Note about relays first, Install Boris second
2025-10-15 19:06:55 +02:00
Gigi
f934b641bb
refactor: replace IconButton with plain icon for clear cache trash button
2025-10-15 19:06:22 +02:00
Gigi
1128a11603
refactor: reorder PWA settings - checkboxes first, then paragraphs, then install button
2025-10-15 19:05:03 +02:00
Gigi
9f90718918
refactor: reduce clear cache button size from 28 to 20
2025-10-15 19:03:43 +02:00
Gigi
067a07fc00
refactor: further reduce spacing between PWA settings elements from 0.5rem to 0.25rem
2025-10-15 19:02:09 +02:00
Gigi
1811cf045e
refactor: split PWA description into two paragraphs and update text
2025-10-15 19:01:34 +02:00
Gigi
270b4f429f
refactor: remove 'Install Boris as a PWA' title from settings section
2025-10-15 18:59:48 +02:00
Gigi
380acbb55f
feat: hide PWA SVG illustration on mobile devices
2025-10-15 18:59:24 +02:00
Gigi
c384f0b4fb
refactor: reduce spacing between PWA settings elements from 1rem to 0.5rem
2025-10-15 18:58:33 +02:00
Gigi
27cf393a03
refactor: set PWA SVG width to 30% for responsive scaling
2025-10-15 18:57:35 +02:00
Gigi
8831726913
refactor: reduce PWA SVG size to 150px width
2025-10-15 18:57:02 +02:00
Gigi
483845962e
refactor: combine relay info text with PWA description into single paragraph
2025-10-15 18:53:38 +02:00
Gigi
c44b1d6349
refactor: set PWA SVG height to 100% with auto width for full vertical span
2025-10-15 18:52:20 +02:00
Gigi
79f28a142d
refactor: increase PWA SVG illustration size from 120px to 200px
2025-10-15 18:51:54 +02:00
Gigi
02dd537cd9
refactor: make PWA SVG illustration span full section height
2025-10-15 18:50:50 +02:00
Gigi
5af1f14a0b
refactor: merge PWA and Flight Mode settings into single section
2025-10-15 18:49:25 +02:00
Gigi
664f59a9cc
refactor: show PWA button state with checkmark when installed instead of hiding section
2025-10-15 18:48:03 +02:00
Gigi
7d3641aab7
refactor: simplify PWA install text to 'Install Boris as a PWA'
2025-10-15 18:45:38 +02:00
Gigi
7924df4c67
refactor: simplify PWA section title to 'App'
2025-10-15 18:45:25 +02:00
Gigi
68a8eed4af
refactor: expand PWA install text to include full terminology
2025-10-15 18:45:07 +02:00
Gigi
887db84ce7
refactor: change PWA section title to 'Boris as an App'
2025-10-15 18:44:37 +02:00
Gigi
05348fbfeb
feat: add pwa.svg illustration to PWA settings section
2025-10-15 18:44:18 +02:00
Gigi
3792ad6abf
refactor: move Highlight Style, Paragraph Alignment, and Default Highlight Visibility to top
...
Final order:
1. Highlight Style
2. Paragraph Alignment
3. Default Highlight Visibility
4. Reading Font + Font Size
5. My Highlights color
6. Friends Highlights color
7. Nostrverse Highlights color
8. Show highlights checkbox
9. Preview
2025-10-15 17:59:29 +02:00
Gigi
d15392f41e
refactor: reorder settings with Highlight Style and Paragraph Alignment above Default Highlight Visibility
...
Final order:
1. Reading Font + Font Size
2. My Highlights color
3. Friends Highlights color
4. Nostrverse Highlights color
5. Highlight Style
6. Paragraph Alignment
7. Default Highlight Visibility
8. Show highlights checkbox
9. Preview
2025-10-15 17:55:58 +02:00
Gigi
f26a024255
refactor: reorder Reading & Display settings
...
- Highlight Style (first)
- Paragraph Alignment (second)
- Reading Font + Font Size (third)
Better logical grouping with text styling before font selection
2025-10-15 17:54:08 +02:00
Gigi
0cf076b010
chore: change default paragraph alignment to justify
2025-10-15 17:45:10 +02:00