about summary refs log tree commit diff
path: root/src/view/screens
Commit message (Collapse)AuthorAgeFilesLines
* Change handling for mobilePaul Frazee2024-01-181-2/+7
|
* Merge branch 'feat/better-autocomplete-view' of ↵Paul Frazee2024-01-181-13/+30
|\ | | | | | | https://github.com/mary-ext/fork-bsky-app into mary-ext-feat/better-autocomplete-view
| * feat: better autocomplete viewMary2024-01-161-13/+30
| |
* | Remove excess l10n related markups (#2544)Takayuki KUSANO2024-01-182-4/+2
| | | | | | | | | | * Remove excess l10n related markups * One more correction pointed out by quiple
* | New component library based on ALF (#2459)Eric Bailey2024-01-1813-541/+1160
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Add a new home feed-api wrapper and give a header indicating the fallback ↵Paul Frazee2024-01-151-2/+1
| | | | | | | | | behavior (#2534) * Add a new home feed-api wrapper and give a header indicating the fallback behavior * Sneak in a quick fix: use the correct text color in the delete modal * Use imported constant
* fix: truncate long email address (#2493)Mary2024-01-121-2/+8
|
* (optional) In app browser (#2490)Paul Frazee2024-01-121-0/+18
| | | | | | | | | | | | | * add expo web browser + modal * add in app browser option to settings * don't show toggle on web * Tweak browser-choice UIs --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* fix: don't set autocomplete on search input (#2482)Mary2024-01-101-0/+1
|
* Reduce polling (#2465)Paul Frazee2024-01-103-2/+8
| | | | | | | | | | | | | * Move profile and preference polling to polls-on-foreground * Refetch prefs on feeds screen refresh since polling no longer occurs * Reduce notifications polling by 50% if there's already an unread * Disable feed polling if we know we have content * Disable the hard refresh after 1 hour in case it's the cause of the random feed refresh bug * Fix types
* Internationalize more strings (#2440)Stanislas Signoud2024-01-0916-113/+171
| | | Co-authored-by: Ansh <anshnanda10@gmail.com>
* Mark more texts for localization (#2436)Noritada Kobayashi2024-01-102-17/+19
|
* add expandable context to composer when replying to post (#2419)Hailey2024-01-081-0/+1
| | | | | | | | | | | | | | | * add expand replyTo text with animation * add images, quote to replyTo * support withmedia * adjust layout * add embed to all needed openComposer calls * adjust gap * organize imports
* Add stable gutters to settings pagePaul Frazee2024-01-081-1/+3
|
* Merge branch 'settings-web' of https://github.com/rahulyadav5524/social-app ↵Paul Frazee2024-01-081-3/+15
|\ | | | | | | into main
| * Fixed same issueRahul Yadav2024-01-071-1/+0
| |
| * Fixed import issueRahul Yadav2024-01-071-1/+1
| |
| * Removed unused codeRahul Yadav2024-01-071-2/+2
| |
| * Removed unused codeRahul Yadav2024-01-071-11/+1
| |
| * Fixed scroll issueRahul Yadav2024-01-071-10/+17
| |
| * fixed lint issueRahul Yadav2024-01-041-1/+1
| |
| * Show setting header in webRahul Yadav2023-12-301-5/+21
| |
* | Application Layout Framework (#1732)Eric Bailey2024-01-081-0/+541
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Initial library setup * Add docblocks * Some cleanup * New storybook * Playing around * Remove silly test, use for...in * Memo * Memo * Add hooks example * Tweak colors, bit of cleanup * Improve macro handling * Add some more examples * Rename for better diff * Cleanup * Add nested context example * Add todo * Less break more perf * Buttons, you get the idea * Fix test * Remove temp colors * Add a few more common macros * Docs * Perf improvements * Alf go brrrr * Update breakpoint handling * I think it'll work * Better naming, better code * Fix typo * Some renaming * More complete pass at Tailwind naming * Build out storybook * Playing around with curves * Revert "Playing around with curves" This reverts commit 6b0e0e5c9d842a2d9af31b53affe2f6291c3fa0d. * Smooth brain * Remove outdated docs * Some docs, fix line-height values, export tokens
* | Additional embed sources and external-media consent controls (#2424)Paul Frazee2024-01-042-0/+171
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* | New user home feed fixes (#2421)Paul Frazee2024-01-041-1/+4
| | | | | | | | | | | | | | * Readd discover to default feeds for new users * Fallback just to discover in home when mergefeed is disabled * Always provide a cursor with mergefeed (no 'end of feed' condition)
* | Fix: Web design issues (#2377) (#2410)Eric Bailey2024-01-032-4/+16
| | | | | | | | | | | | | | * Fix web design issues * Fix Right Nav width design issue Co-authored-by: Rahul Yadav <52163880+rahulyadav5524@users.noreply.github.com>
* | Fixed slider flicker issue when sliding in revese side (#2368)Rahul Yadav2024-01-031-1/+7
| |
* | Localize the option to make alt text mandatory (#2376)Noritada Kobayashi2024-01-031-1/+1
| |
* | Localize options in "Thread Preferences" screen (#2373)Noritada Kobayashi2023-12-301-6/+12
|/
* Create account tweaks (#2365)Paul Frazee2023-12-281-0/+1
| | | | | | | * Disable autocomplete, autocapitalize, and autocorrect in create account login * Add username textContentType to login to try to prompt password manager more regularly * Fix type
* Merge branch 'main' of github.com:bluesky-social/social-app into mainPaul Frazee2023-12-282-3/+15
|\
| * minor search screen ux improvements (#2264)Hailey2023-12-282-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * handle taps while keyboard is displayed * dismiss keyboard on drag when searching feeds * dismiss on drag and persist taps on suggested follows * add hitslop to clear button * add hitslop to cancel button * dismiss keyboard on drag when searching users * hit slop for feed search clear button * move import
* | Fix desktop styles a bitPaul Frazee2023-12-281-2/+6
| |
* | Merge branch 'web-search' of https://github.com/mozzius/bluesky-official-app ↵Paul Frazee2023-12-283-33/+30
|\ \ | |/ |/| | | into mozzius-web-search
| * show search in centre column on desktopSamuel Newman2023-12-203-33/+30
| |
* | Mark more text as translatable (#2284)Noritada Kobayashi2023-12-271-1/+1
| |
* | Fixes to feed load triggers (#2323)Paul Frazee2023-12-273-2/+24
| | | | | | | | | | * Add soft-reset support to ProfileFeed and ProfileList * Fix: correctly unsubscribe the notifications soft-reset listener
* | Protect against react key duplicates (close #2278) (#2309)Paul Frazee2023-12-271-0/+5
| | | | | | | | | | * Fix duplicate react keys in post search * Protect against duplicate react keys in feeds
* | Add policy links to left nav and settings page (#2300)Paul Frazee2023-12-241-2/+21
| |
* | Fix blank home screen (close #2281) (#2291)Paul Frazee2023-12-241-3/+10
| |
* | Fix some account filtering behaviors (#2290)Paul Frazee2023-12-232-0/+2
| | | | | | | | | | * Fix: don't filter ProfileCards out of certain lists * Fix: don't filter ProfileCards and autocomplete based on mutes
* | Consolidate List props a bit (#2216)dan2023-12-212-19/+5
| |
* | Invalid handle autocomplete (#2251)Samuel Newman2023-12-201-1/+2
|/ | | | | * refactor invalid handle check from a previous PR to use util function * add invalid handle check to `prefixMatch`
* Try to fix scroll indicator on Feeds page (#2245)Eric Bailey2023-12-191-0/+1
| | | | | * Try to fix scroll indicator on Feeds page * Apply to List
* Use same source for pinned feeds on Home and tab/sidebars (#2235)Eric Bailey2023-12-181-4/+9
|
* use `s.likeColor` everywhere (#2234)Samuel Newman2023-12-181-5/+2
|
* Traffic reduction and tuned caching strats (#2215)Paul Frazee2023-12-152-70/+21
| | | | | | | | | | | | | * Update the feed to only check latest on focus after 30s, but to do a full reset on focus after 1 hour to avoid very stale data * Remove the isFeedPublic query * Fix: avoid double next-page fetches * Reduce some poll intervals to reduce server load * Guard against double-fires of fetchNextPage * Reduce polling on blurred screens
* Some brand, some pwi (#2212)Eric Bailey2023-12-141-1/+3
| | | | | | | | | | | | | | | * Add logo to left nav in logged out * Protect last routes * Hide links in left nav, hide nav * Replace bottom bar for pwi * Remove same links from drawer * Hide reply prompt * Allow search
* PWI behavior updates (#2207)Paul Frazee2023-12-143-40/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Enable PWI * Disable access to feeds on PWI * Remove feeds nav item from drawer when signed out * Replace discover feed on home with a CTA * Wire up the sign in and create account buttons to go straight to their respective screens * Give a custom ScreenHider interface for no-pwi * Add side borders on desktop to the screen hider * Filter accounts in the autocomplete according to mod settings * Trim replies in the post thread that are pwi opt-out * Show 'learn more' on the content hider when no-override is enabled * Apply the moderation filter on profile cards * Disable post search on logged-out view * Update locale files * Bump api pkg * Ensure feeds with no posts don't show as NSFPublic * Fix types --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Make scroll handling contextual (#2200)dan2023-12-136-159/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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