Commit Graph

2043 Commits

Author SHA1 Message Date
Chad Curtis 47bc5f516f Fix bottom nav arc on safe-area devices: separate safe area spacer from arc container 2026-03-23 23:20:59 -05:00
Chad Curtis 1d9e445d84 Fix arc bugs: revert top arc to upstream, remove top navbar arc, separate bottom nav overhang for harsher curve 2026-03-23 23:11:29 -05:00
Alex Gleason 042489a39f Replace Saturn FAB with user's avatar shape (circle default, emoji mask when set) 2026-03-23 23:03:03 -05:00
Alex Gleason 187081199c Merge branch 'main' of gitlab.com:soapbox-pub/ditto 2026-03-23 22:56:15 -05:00
Chad Curtis 9ef6f085a0 Harsher arc curves and move bottom nav items up 2026-03-23 22:40:31 -05:00
Alex Gleason 0baeca6ce7 Render Bluesky posts as full feed-style thread on /i/ detail pages
Replace the compact ExternalPostCard with a full feed-style layout
matching the /bluesky feed when viewing individual Bluesky posts.
Shows large avatar, full text, image/link embeds, and interactive
action buttons (comment, repost, react, share) for a thread-like feel.
2026-03-23 22:30:45 -05:00
Alex Gleason 4c1576f704 Add Bluesky to sidebar navigation and update icon to Simple Icons SVG 2026-03-23 22:18:10 -05:00
Alex Gleason d78b8b3286 Remove category filter pills from Bluesky page 2026-03-23 22:14:57 -05:00
Alex Gleason 9947c17ddd Merge remote-tracking branch 'origin/main' into bluesky 2026-03-23 22:12:33 -05:00
Alex Gleason 4ea657a7b7 Restyle Bluesky disclaimer as a cheeky amber warning 2026-03-23 22:10:55 -05:00
Alex Gleason 715c58ceba Restore original Bluesky disclaimer text with styled callout 2026-03-23 22:10:28 -05:00
Alex Gleason 4f9f2c10bf Style Bluesky disclaimer as a branded callout banner 2026-03-23 22:09:32 -05:00
Alex Gleason d1c434050f Add Bluesky disclaimer in compose modal when replying to bsky.app URLs 2026-03-23 22:08:46 -05:00
Alex Gleason c5a9f29f60 Add infinite scroll to Bluesky feed and move attribution to info popover 2026-03-23 22:07:51 -05:00
Alex Gleason d0966b10d9 Switch Bluesky feed to official Discover (whats-hot) for curated trending content 2026-03-23 22:05:38 -05:00
Alex Gleason 645c9d427f Switch Bluesky search to actor typeahead for user discovery 2026-03-23 22:02:06 -05:00
Alex Gleason 87a295c974 Hide images in compose modal reply indicator and external post embeds
Thread hideImage prop through LinkEmbed -> BlueskyEmbed -> ExternalPostCard
so images are suppressed in the compose dialog preview, matching the
behavior of normal post reply indicators.
2026-03-23 21:57:22 -05:00
Alex Gleason 6c9a584b46 Link avatar and display name to Bluesky profile /i/ page
Clicking the avatar, display name, or handle now navigates to
/i/{bsky.app/profile/handle} instead of the post's /i/ page.
Clicks stop propagation so the card-level navigation still works.
2026-03-23 21:55:00 -05:00
Alex Gleason 0c03b78b56 Show link preview in compose modal when commenting on external URLs
ReplyComposeModal now renders a LinkPreview card when the event is a URL,
so users see what they're commenting on. Previously the preview was skipped
entirely for URL-based comments.
2026-03-23 21:52:29 -05:00
Alex Gleason dac751b0a9 Show Bluesky like counts and open comment compose dialog inline
Pass post.likeCount to ExternalReactionButton via new count prop so like
counts display from the Bluesky API. Comment button now opens the
ReplyComposeModal with the post URL instead of navigating away.
2026-03-23 21:46:14 -05:00
Alex Gleason b4eecd2588 Extract shared ExternalReactionButton with emoji picker for NIP-73 reactions
The Bluesky page had a broken inline reaction that just published '+' with
no emoji picker. The /i/ page had the full implementation with Popover,
QuickReactMenu, hover-to-open, and custom emoji support. Extracted the
reaction logic into a reusable ExternalReactionButton component and wired
it into both pages, removing ~230 lines of duplicated/inferior code.
2026-03-23 21:13:27 -05:00
Alex Gleason be9bef9824 Make heart button publish NIP-73 kind 17 reaction inline instead of navigating 2026-03-23 21:06:08 -05:00
Alex Gleason 81d2f25ce0 Replace Link wrapper with article+onClick to prevent focus ring on button clicks 2026-03-23 21:03:52 -05:00
Alex Gleason 8cdc65ee6b Wire up Bluesky feed action buttons: comment, share to feed, react, and copy link 2026-03-23 21:01:16 -05:00
Alex Gleason 66a90a445b Redesign Bluesky page as a vertical feed matching the NoteCard layout 2026-03-23 20:58:25 -05:00
Alex Gleason cf454926f9 Remove unnecessary CORS proxy from Bluesky hooks — api.bsky.app supports CORS natively 2026-03-23 20:53:26 -05:00
Alex Gleason e65901efe5 Switch Bluesky API from public.api.bsky.app to api.bsky.app to fix 403 2026-03-23 20:51:42 -05:00
Alex Gleason da0ceddc86 Route Bluesky API requests through corsProxy to avoid CORS errors 2026-03-23 20:50:02 -05:00
Alex Gleason 0ec844c519 Add Bluesky discovery page with trending posts and search 2026-03-23 20:28:15 -05:00
Alex Gleason a1b2c23e46 Merge origin/main into feat/curves 2026-03-23 15:31:05 -05:00
Alex Gleason a80b667327 Add Wikipedia and Archive results to autocomplete search dropdown
Integrate useWikipediaSearch and useArchiveSearch into both the desktop
sidebar dropdown (ProfileSearchDropdown) and mobile bottom-nav sheet
(MobileSearchSheet). At most 1 result from each source is shown, always
positioned after Nostr profiles to preserve profile precedence. Keyboard
navigation indices updated to include the new items.
2026-03-23 13:53:04 -05:00
Alex Gleason 894f692dea Display rich Wikipedia article content on /i/ pages instead of generic link preview
Detect Wikipedia URLs and render a custom WikipediaArticleHeader with hero
image, article title, Wikidata description, expandable extract, and a
Read on Wikipedia footer link. Also uses the Wikipedia API for accurate
page titles in the header bar and SEO metadata, and navigates back to
/wikipedia on the back button.
2026-03-23 13:31:40 -05:00
Alex Gleason a5dead1765 Show only view count number next to eye icon, drop 'views' label 2026-03-23 13:25:11 -05:00
Alex Gleason 02a16cad90 Fix Wikipedia icon to use the correct Simple Icons SVG path 2026-03-23 13:24:13 -05:00
Alex Gleason 4dd1ceb9b4 Add custom Wikipedia icon, use it in page header, card fallbacks, and sidebar 2026-03-23 13:23:22 -05:00
Alex Gleason 18b3da600d Include fair-use images in Wikipedia search thumbnails
Add pilicense=any to the pageimages query so articles with
non-free/fair-use images (common for games, movies, etc.) also
return thumbnails.
2026-03-23 13:19:24 -05:00
Alex Gleason 65c3512835 Add thumbnails to Wikipedia search autocomplete results 2026-03-23 13:16:52 -05:00
Alex Gleason 4e6a055e02 Remove redundant 'Today's Featured Article' badge from hero card 2026-03-23 13:15:18 -05:00
Alex Gleason 12700fd025 Change Wikipedia pills from filter tabs to scrollspy navigation
Pills now highlight based on which section is visible as you scroll.
Clicking a pill smooth-scrolls to that section. The 'All' pill and
filter-based empty states are removed since all sections are always shown.
2026-03-23 13:13:54 -05:00
Alex Gleason 030b277e8f Remove Did You Know and Picture of the Day sections from Wikipedia page 2026-03-23 13:10:21 -05:00
Alex Gleason daf3a38c21 Add /wikipedia page with dynamic featured content from Wikipedia's API 2026-03-23 12:59:33 -05:00
Alex Gleason a10feef57d Add 3-dots menu to badge detail page for sidebar and other actions 2026-03-23 12:37:27 -05:00
Alex Gleason 358e25560f Make only tabs sticky on follow pack detail page 2026-03-23 12:28:55 -05:00
Alex Gleason ba09214817 Make only tabs sticky on list detail page instead of entire header 2026-03-23 12:25:12 -05:00
Lemon 6134786fe9 Add arc overhang clearance to mobile search sheet positioning 2026-03-22 23:39:13 -07:00
Lemon 8b7f59bee0 Migrate BadgesPage header and tabs to PageHeader and SubHeaderBar 2026-03-22 23:36:40 -07:00
Lemon c1ebe3a03d Increase nav bar opacity to 95%, add top margin to bottom nav icons for arc clearance 2026-03-22 23:36:40 -07:00
Lemon 1cfee425ac Restore text labels under bottom nav icons 2026-03-22 23:36:40 -07:00
Lemon 9b5c9767a8 Fix relay back button, add hasSubHeader to ListDetailPage, make relay names clickable 2026-03-22 23:36:40 -07:00
Lemon 4b6606ced1 Remove radial gradient from Settings page to fix arc seam 2026-03-22 23:36:40 -07:00