about summary refs log tree commit diff
path: root/bskyweb
Commit message (Collapse)AuthorAgeFilesLines
* Add tags and mute words (#2968)Eric Bailey2024-02-261-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add bare minimum hashtags support (#2804) * Add bare minimum hashtags support As atproto/api already parses hashtags, this is as simple as hooking it up like link segments. This is "bare minimum" because: - Opening hashtag "#foo" is actually just a search for "foo" right now to work around #2491. - There is no integration in the composer. This hasn't stopped people from using hashtags already, and can be added later. - This change itself only had to hook things up - thank you for having already put the hashtag parsing in place. * Remove workaround for hash search not working now that it's fixed * Add RichTextTag and TagMenu * Sketch * Remove hackfix * Some cleanup * Sketch web * Mobile design * Mobile handling of tags search * Web only * Fix navigation woes * Use new callback * Hook it up * Integrate muted tags * Fix dropdown styles * Type error * Use close callback * Fix styles * Cleanup, install latest sdk * Quick muted words screen * Targets * Dir structure * Icons, list view * Move to dialog * Add removal confirmation * Swap copy * Improve checkboxees * Update matching, add tests * Moderate embeds * Create global dialogs concept again to prevent flashing * Add access from moderation screen * Highlight tags on native * Add web highlighting * Add close to web modal * Adjust close color * Rename toggles and adjust logic * Icon update * Load states * Improve regex * Improve regex * Improve regex * Revert link test * Hyphenated words * Improve matching * Enhance * Some tweaks * Muted words modal changes * Handle invalid handles, handle long tags * Remove main regex * Better test * Space/punct check drop to includes * Lowercase post text before comparison * Add better real world test case --------- Co-authored-by: Kisaragi Hiu <mail@kisaragi-hiu.com>
* feat(nvm): add support for nvm & minor actions housekeeping (#2979)Vinayak Kulkarni2024-02-261-3/+3
| | | | | | | | | | | | | | | | | * feat: add `.nvmrc` for specifying node version Co-Authored-By: Evandro Leopoldino Gonçalves <evandrolgoncalves@gmail.com> * chore(deps): bump setup-node to v4 * build: use node-version-file instead of hardcoded 18.x * chore(deps): bump nvm version * fix: checkout before install 🎉 --------- Co-authored-by: Evandro Leopoldino Gonçalves <evandrolgoncalves@gmail.com>
* Rename Home Feed Prefs to Following Feed Prefs (#2965)dan2024-02-221-1/+1
|
* Remove redundant `<meta name="theme-color">` tag (#2938)Eiichi Yoshikawa2024-02-201-2/+1
|
* Add theme-color meta tag and apply selection of theme (#2918)Eiichi Yoshikawa2024-02-181-0/+1
| | | | | | | | | | | | | * Add theme-color meta tag and apply selection of theme * update logic for retrieving current theme color * add ts-ignore * fix ts error --------- Co-authored-by: Hailey <me@haileyok.com>
* Link type not link relPaul Frazee2024-02-161-1/+1
|
* Add link header to improve apple messages previews (#2897)Paul Frazee2024-02-161-0/+1
|
* Adds `preconnect` links to essencial external domains (#2847)Evandro Leopoldino Gonçalves2024-02-131-0/+5
| | | | | | | * adds preconnect links to essencial external domains * adds preconnect links to essencial external domains in the base.html template * fixes formatting issue
* Update `blueskyweb.xyz` links to `bsky.social` (#2830)surfdude292024-02-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update blogpost link to bsky.social and remove unnecessary localisation params at end of Play Store URL in README.md * Update privacy policy link to bsky.social in PrivacyPolicy.tsx * Update TOS link to bsky.social in TermsOfService.tsx * Update links to bsky.social in Links.tsx * Update links to bsky.social in SplashScreen.web.tsx * Update link to bsky.social in base.html * Update links to bsky.social in HomeLoggedOutCTA.tsx * Update links to bsky.social in RightNav.tsx * Update links to bsky.social in Drawer.tsx * Update DMCA link to bsky.social in Modal.tsx * Update link to copyright policy on bsky.social in CopyrightPolicy.tsx * Update link to bsky.social in CommunityGuidelines.tsx * Update links to bsky.social in Settings.tsx * Update to bsky.social in Typography.tsx
* fix google translate appear (#2784)Liberal dev2024-02-081-4/+4
|
* Update open graph data (#2760)Eric Bailey2024-02-067-11/+54
| | | | | | | * Update open graph data * Format * Fix typo
* Options for selecting dark theme, fix some white flashes when in dark mode ↵Hailey2024-02-061-19/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#2722) * add dark theme selection to settings/schema * use `useThemePrefs` where needed * adjust theme providers to support various themes * update storybook * handle web themes * better themeing for web * dont show dark theme prefs when color mode is light * drop the inverted text change on oled theme * get the color mode inside of `useColorModeTheme` * use `ThemeName` type everywhere * typo * use dim/dark instead of dark/oled * prevent any fickers on web * fix styles * use `dim` for dark default * more cleanup * 🤔 * set system background color * ts
* fix some youtube videos not properly loading (#2726)Hailey2024-02-062-0/+50
| | | | | | | | | * add player iframe to bskyweb * iframe for youtube content * update tests * ts error
* Support previews for links using DIDs and not just handlesJaz2024-02-031-19/+20
|
* Revert text selection bg color change (#2689)Eric Bailey2024-01-301-4/+0
|
* Fix chrome font weight rendering (#2694)Eric Bailey2024-01-301-0/+1
|
* New Onboarding (#2596)Eric Bailey2024-01-251-19/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add round and square buttons * Allow some style for buttons, add icons * Change text selection color * Center button text, whoops * Outer layout, some primitive updates * WIP * onboarding feed prefs (#2590) * add `style` to toggle label to modify text style * Revert "add `style` to toggle label to modify text style" This reverts commit 8f4b517b8585ca64a4bf44f6cb40ac070ece8932. * following feed prefs * remove unnecessary memo * reusable divider component * org imports * add finished screen * Theme SelectedAccountCard * Require at least 3 interests * Placeholder save logic * WIP algo feeds * Improve lineHeight handling, add RichText, improve Link by adding InlineLink * Inherit lineHeight in heading comps * Algo feeds mostly good * Topical feeds ish * Layout cleanup * Improve button styles * moderation prefs for onboarding (#2594) * WIP algo feeds * modify controlalbelgroup typing for easy .map() * adjust padding on button * add moderation screen * add moderation screen * add moderation screen --------- Co-authored-by: Eric Bailey <git@esb.lol> * Fix toggle button styles * A11y props on outer portal * Put it all on red * New data shape * Handle mock data * Bulk write (not yet) * Remove interests validation * Clean up interests * i18n layout and first step * Clean up suggested follows screen * Clean up following step * Clean up algo feeds step * Clean up topical feeds * Add skeleton for feed card * WIP moderation step * cleanup moderation styles (#2605) * cleanup moderation styles * fix(?) toggle button group styles * adjust toggle to fit any screen * Some more cleanup * Icons * ToggleButton tweaks * Reset * Hook up data * Better suggestions * Bulk write * Some logging * Use new api * Concat topical feeds * Metrics * Disable links in RichText, feedcards * Tweak primary feed cards * Update metrics * Fix layout shift * Fix ToggleButton again, whoops * Error state * Bump api package, ensure interests are saved * Better fix for autofill * i18n, button positions * Remove unused export * Add default prefs object * Fix overflow in user cards * Add 2 lines of bios to suggested accounts cards * Nits * Don't resolve facets by default * Update storybook * Disable flag for now * Remove age dialog from moderations step * Improvements and tweaks to new onboarding --------- Co-authored-by: Hailey <153161762+haileyok@users.noreply.github.com> Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* more social card tweaks, and include in RSS as well (#2599)bnewbold2024-01-235-45/+166
| | | | | | | * move link expander to new file, add test, refactor a bit * text formatting: include indication if a quote post exists * rss: include expanded links
* Include expanded urls in social cards (#2427)Zach Lipton2024-01-232-4/+50
| | | | | * include expanded urls in social cards (#2427) * break expandPostLinks into its own function, add bounds checking
* Ensure OG:Image is filled when post contains a record (#2586)Gargaj2024-01-231-5/+13
|
* New Web Layout (#2126)dan2024-01-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rip out virtualization on the web * Screw around with layout * onEndReached * scrollToOffset * Fix background * onScroll * Shell bars * More scroll * Fixes * position: sticky * Clean up 1 * Clean up 2 * Undo PagerWithHeader changes and fork it * Trim down both versions * Cleanup 3 * Memoize, lint * Don't scroll away modal or lightbox * Add content-visibility for rows * Fix composer * Fix types * Fix borked scroll animation * Fixes to layout * More FlatList parity * Layout fixes * Fix more layout * More layout * More layouts * Fix profile layout * Remove onScroll * Display: none inactive pages * Add an intermediate List component * Fix type * Add onScrolledDownChange * Port pager to use onScrolledDownChange * Fix on mobile * Don't pass down onScroll (replacement TBD) * Remove resetMainScroll * Replace onMainScroll with MainScrollProvider * Hook ScrollProvider to pager * Fix the remaining special case * Optimize a bit * Enforce that onScroll cannot be passed * Keep value updated even if no handler * Also memo it * Move the fork to List.web * Add scroll handler * Consolidate List props a bit * More stuff * Rm unused * Simplify * Make isScrolledDown work * Oops * Fixes * Hook up context scroll handlers * Scroll restore for tabs * Route scroll restoration POC * Fix some issues with restoration * Remove bad idea * Fix pager scroll restoration * Undo accidental locale changes * onContentSizeChange * Scroll to post * Better positioning * Layout fixes * Factor out navigation stuff * Cleanup * Oops * Cleanup * Fixes and types * Naming etc * Fix crash * Match FL semantics * Snap the header scroll on the web * Add body scroll lock * Scroll to top on search * Fix types * Typos * Fix Safari overflow * Fix search positioning * Add border * Patch react navigation * Revert "Patch react navigation" This reverts commit 62516ed9c20410d166e1582b43b656c819495ddc. * fixes * scroll * scrollbar * cleanup unrelated * undo unrel * flatter * Fix css * twk
* Use new palette values for main palette (#2566)Eric Bailey2024-01-181-6/+6
| | | | | * Use new palette values for main palette * Drawer bg in dark mode
* New component library based on ALF (#2459)Eric Bailey2024-01-181-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Install on native as well * Add button and link components * Comments * Use new prop * Add some form elements * Add labels to input * Fix line height, add suffix * Date inputs * Autofill styles * Clean up InputDate types * Improve types for InputText, value handling * Enforce a11y props on buttons * Add Dialog, Portal * Dialog contents * Native dialog * Clean up * Fix animations * Improvements to web modal, exiting still broken * Clean up dialog types * Add Prompt, Dialog refinement, mobile refinement * Integrate new design tokens, reorg storybook * Button colors * Dim mode * Reorg * Some styles * Toggles * Improve a11y * Autosize dialog, handle max height, Dialog.ScrolLView not working * Try to use BottomSheet's own APIs * Scrollable dialogs * Add web shadow * Handle overscroll * Styles * Dialog text input * Shadows * Button focus states * Button pressed states * Gradient poc * Gradient colors and hovers * Add hrefAttrs to Link * Some more a11y * Toggle invalid states * Update dialog descriptions for demo * Icons * WIP Toggle cleanup * Refactor toggle to not rely on immediate children * Make Toggle controlled * Clean up Toggles storybook * ToggleButton styles * Improve a11y labels * ToggleButton hover darkmode * Some i18n * Refactor input * Allow extension of input * Remove old input * Improve icons, add CalendarDays * Refactor DateField, web done * Add label example * Clean up old InputDate, DateField android, text area example * Consistent imports * Button context, icons * Add todo * Add closeAllDialogs control * Alignment * Expand color palette * Hitslops, add shortcut to Storybook in dev * Fix multiline on ios * Mark dialog close button as unused
* rss: filter out replies server-side (#2518)bnewbold2024-01-151-1/+1
|
* fix: add the appropriate color-scheme for dark mode (#2480)Mary2024-01-101-0/+2
|
* Additional embed sources and external-media consent controls (#2424)Paul Frazee2024-01-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add apple music embed * add vimeo embed * add logic for tenor and giphy embeds * keep it simple, use playerUri for images too * add gif embed player * lint, fix tests * remove links that can't produce a thumb * Revert "remove links that can't produce a thumb" This reverts commit 985b92b4e622db936bb0c79fdf324099b9c8fcd8. * Revert "Revert "remove links that can't produce a thumb"" This reverts commit 4895ded8b5120c4fc52b43ae85c9a01ea0b1a733. * Revert "Revert "Revert "remove links that can't produce a thumb""" This reverts commit 36d04b517ba5139e1639f2eda28d7f9aaa2dbfb6. * properly obtain giphy metadata regardless of used url * test fixes * adjust gif player * add all twitch embed types * support m.youtube links * few logic adjustments * adjust spotify player height * prefetch gif before showing * use memory-disk cache policy on gifs * use `disk` cachePolicy on ios - can't start/stop animation * support pause/play on web * onLoad fix * remove extra pressable, add accessibility, fix scale issues * improve size of embed * add settings * fix(?) settings * add source to embed player params * update tests * better naming and settings options * consent modal * fix test id * why is webstorm adding .tsx * web modal * simplify types * adjust snap points * remove unnecessary yt embed library. just use the webview always * remove now useless WebGifStill 😭 * more type cleanup * more type cleanup * combine parse and prefs check in one memo * improve dimensions of youtube shorts * oops didn't commit the test 🫥 * add shorts as separate embed type * fix up schema * shorts modal * hide gif details * support localized spotify embeds * more cleanup * improve look and accessibility of gif embeds * Update routing for the external embeds settings page * Update and simplify the external embed preferences screen * Update copy in embedconsent modal and add 'allow all' button --------- Co-authored-by: Hailey <me@haileyok.com>
* support multiple og:image tags (#2305)snek2023-12-272-2/+8
|
* Update some brand assets (#2301)Paul Frazee2023-12-246-0/+0
|
* yet more RSS tweaks (#2289)bnewbold2023-12-233-7/+33
| | | | | | | | | | | | * rss: full URL in RSS link; use request Host in URLs Full URL syntax on request from third parties. Using the actual request host should fix issues with non-bsky-production deployments. It is HTTPS-only, so doesn't work perfectly for local dev. * rss: make /profile/{handle}/rss an HTTP redirect Motivation is easier discoverability of RSS feed.
* rss: isPermaLink (case-sensitive) (#2271)bnewbold2023-12-221-1/+1
|
* bskyweb: iterate on RSS format, based on feedback (#2269)bnewbold2023-12-221-5/+19
| | | Thanks to Dave Winer (@scripting)!
* basic public RSS feed for profiles (#2229)bnewbold2023-12-183-0/+103
| | | | | | | | | * web: initial implementation of profile RSS feed * re-work RSS feed to use DID in URL, not handle Shouldn't have RSS feeds break when folks change handle. * rss: tweak XML
* tweak social card meta yet again (#2228)bnewbold2023-12-183-5/+12
| | | | | - handle missing content (PWI opt-out) better - use opengraph "article" and "profile" types, not just website for everything - fix timestamps, and used indexed at not created at
* bskyweb: update golang indigo dep (from May!), and some small devex tweaks ↵bnewbold2023-12-185-213/+260
| | | | | | | | | | | | | (#2227) * bskyweb: update deps to current indigo * bskyweb: refactor handles to flatten control flow, and update to current indigo * go Makefile: remove --debug (not working) * bskyweb: default to public appview API instance * make: do internationalization build as part of build-web
* Don't create embeds of profiles/posts from users who ask not to be sh… (#2189)Jaz2023-12-121-18/+35
| | | | | | | * Don't create embeds of profiles/posts from users who ask not to be shown in public views * Formatting cleanup * Bump workflow file to build an image for this branch
* Apply color theme to HTML page itself (#2132)Eric Bailey2023-12-071-0/+1
|
* Correct meta tag attributes (#1829)Noritada Kobayashi2023-11-071-2/+2
|
* Lists updates: curate lists and blocklists (#1689)Paul Frazee2023-11-011-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add lists screen * Update Lists screen and List create/edit modal to support curate lists * Rework the ProfileList screen and add curatelist support * More ProfileList progress * Update list modals * Rename mutelists to modlists * Layout updates/fixes * More layout fixes * Modal fixes * List list screen updates * Update feed page to give more info * Layout fixes to ListAddUser modal * Layout fixes to FlatList and Feed on desktop * Layout fix to LoadLatestBtn on Web * Handle did resolution before showing the ProfileList screen * Rename the CustomFeed routes to ProfileFeed for consistency * Fix layout issues with the pager and feeds * Factor out some common code * Fix UIs for mobile * Fix user list rendering * Fix: dont bubble custom feed errors in the merge feed * Refactor feed models to reduce usage of the SavedFeeds model * Replace CustomFeedModel with FeedSourceModel which abstracts feed-generators and lists * Add the ability to pin lists * Add pinned lists to mobile * Remove dead code * Rework the ProfileScreenHeader to create more real-estate for action buttons * Improve layout behavior on web mobile breakpoints * Refactor feed & list pages to use new Tabs layout component * Refactor to ProfileSubpageHeader * Implement modlist block and mute * Switch to new api and just modify state on modlist actions * Fix some UI overflows * Fix: dont show edit buttons on lists you dont own * Fix alignment issue on long titles * Improve loading and error states for feeds & lists * Update list dropdown icons for ios * Fetch feed display names in the mergefeed * Improve rendering off offline feeds in the feed-listing page * Update Feeds listing UI to react to changes in saved/pinned state * Refresh list and feed on posts tab press * Fix pinned feed ordering UI * Fixes to list pinning * Remove view=simple qp * Add list to feed tuners * Render richtext * Add list href * Add 'view avatar' * Remove unused import * Fix missing import * Correctly reflect block by list state * Replace the <Tabs> component with the more effective <PagerWithHeader> component * Improve the responsiveness of the PagerWithHeader * Fix visual jank in the feed loading state * Improve performance of the PagerWithHeader * Fix a case that would cause the header to animate too aggressively * Add the ability to scroll to top by tapping the selected tab * Fix unit test runner * Update modlists test * Add curatelist tests * Fix: remove link behavior in ListAddUser modal * Fix some layout jank in the PagerWithHeader on iOS * Simplify ListItems header rendering * Wait for the appview to recognize the list before proceeding with list creation * Fix glitch in the onPageSelecting index of the Pager * Fix until() * Copy fix Co-authored-by: Eric Bailey <git@esb.lol> --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Simplify loading emoji data (#1790)dan2023-11-011-1/+0
|
* bskyweb: add rate limiting to reduce DoSabilityJake Gold2023-10-111-2/+22
|
* Update backend routes to match frontend (#1515)Paul Frazee2023-09-221-1/+2
|
* Fix scrollbar gutters on web (#1401)Paul Frazee2023-09-071-0/+3
| | | | | * Fix scrollbar gutters on web * Fix typecheck
* Move `PreferencesHomeFeed` to a screen instead of a modal (#1335)Ansh2023-08-301-0/+1
| | | | | | | | | | | | | * move `PreferencesHomeFeed` to a screen instead of a modal * add web route for home feed preferences * upgrade `@miblanchard/react-native-slider` to fix lint * fix web route naming * fix desktop web styling * add `react-native-slider` mock
* update golang to v1.21; set GOEXPERIMENT=loopvar (#1256)bnewbold2023-08-284-2/+7
| | | | | * golang: update to v1.21, and set GOEXPERIMENT=loopvar * golang: go mod tidy
* Replace web editor link behavior (#1319)Paul Frazee2023-08-281-2/+2
| | | | | * Replace web editor link behavior (close #1293) (close #1292) * Update link decorator to match rich text link detector
* bskyweb: switch from PDS backend to AppView backend (#1065)bnewbold2023-08-244-44/+10
| | | | | * bskyweb: replace PDS with AppView (no auth) * bskyweb: update example .env files for appview
* [APP-836] Emoji picker for web (#1254)Ansh2023-08-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * add emoji-mart package for emoji dropdown picker * remove emoji picker modal * load emoji mart data not as part of the main bundle * remove @emoji-mart/data * setup emoji insertion with events * get emoji data from local static assets * close emoji picker after one emoji has been inserted * Switch emoji picker trigger to an icon * Update emoji-mart-data.js * make grabbing emoji data work on more browsers --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* bskyweb: cache /static/{images,js} for 1 week, other files for 1 hourJake Gold2023-08-231-2/+16
|
* add title attr to text text links (#1228)Eric Bailey2023-08-221-6/+64
| | | | | | | | | | | | | | | * add title attr to text text links * Revert "add title attr to text text links" This reverts commit c028cd184efd3b2788d8f46134eecf521e5d7b07. * use css tooltips * add to expanded post state * handle theming * add to bskyweb
* bskyweb: publish Bluesky IPsJake Gold2023-08-033-0/+32
|