about summary refs log tree commit diff
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* feat: Update HTML `title` on web #626 #599 (#655)LW2023-05-164-0/+54
| | | | | | | | | | | | | | | | | | | | | | | For any `Screen` that shows on desktop, `title` is "(1) ... - Bluesky" where "(1)" is the unread notification count. The titles are unlocalized and the string "Bluesky" is hardcoded, following the pattern of the rest of the app. Display names and post content are loaded into the title as effects. Tested: * all screens * screen changes / component mounts/unmounts * long posts with links and images * display name set/unset * spamming myself with notifications, clearing notifications * /profile/did:... links * lint (only my changed files), jest, e2e. New utilities: `useUnreadCountLabel`, `bskyTitle`, `combinedDisplayName`, `useSetTitle`. resolves: #626 #599
* Update the default suggested users list to match recent activityPaul Frazee2023-05-151-14/+22
|
* Tune hand iconPaul Frazee2023-05-121-3/+3
|
* Replace the moderation hand icon with a better iconPaul Frazee2023-05-121-0/+26
|
* [APP-635] Mutelists (#601)Paul Frazee2023-05-114-6/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add lists and profilelist screens * Implement lists screen and lists-list in profiles * Add empty states to the lists screen * Switch (mostly) from blocklists to mutelists * Rework: create a new moderation screen and move everything related under it * Fix moderation screen on desktop web * Tune the empty state code * Change content moderation modal to content filtering * Add CreateMuteList modal * Implement mutelist creation * Add lists listings * Add the ability to create new mutelists * Add 'add to list' tool * Satisfy the hashtag hyphen haters * Add update/delete/subscribe/unsubscribe to lists * Show which list caused a mute * Add list un/subscribe * Add the mute override when viewing a profile's posts * Update to latest backend * Add simulation tests and tune some behaviors * Fix lint * Bump deps * Fix list refresh after creation * Mute list subscriptions -> Mute lists
* small label updates (#612)bnewbold2023-05-111-5/+5
| | | | | | | | | | | * labels: fix 'consentual' typo This label has never been applied, so safe to just change it. * labels: new 'nsfl' label, under both porn and gore categories * labels: new account-security label (always warn) * labling: re-word spam subtitle
* Update web image editor (#588)Ollie H2023-05-091-0/+3
| | | | | | | | | | | | | | | | | | | | | | | * Update web image editor * Delete type-assertions.ts * Re-add getKeys * Uncomment rotation code * Revert "Uncomment rotation code" This reverts commit 6269f3b928c2e5cacaf5d0ff5323fe975ee48eab. * Shuffle dependencies and update mobile resolution * Update ImageEditor modal layout for mobile * Avoid accidental closes of the EditImage modal --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* add target="_blank" prop to LinkText for safari (#606)Ansh2023-05-091-0/+4
|
* [APP-639] Improve nsfw handling & force hidden on iOS (#605)Paul Frazee2023-05-093-23/+15
| | | | | | | | | | | * Identify adult content labels and handle them more specifically * Change adult content defaults to more conservative settings * Add an adultcontentenabled override that prohibits access on iOS * Improve usability of the content hider * Fix lint
* [APP-615] COPPA-compliant signup (#570)Paul Frazee2023-05-081-0/+10
| | | | | | | | | * Rework account creation to be COPPA compliant * Fix lint * Switch android datepicker to use the spinner mode * Fix type signatures & usages
* Add the !filter and !warn imperative labels (#580)Paul Frazee2023-05-043-2/+31
|
* Add icon-intolerant and behavior-intolerant to the political hategroup ↵Paul Frazee2023-05-041-1/+1
| | | | category (#579)
* Remove the attempts to make the language filter more lenient (#569)Paul Frazee2023-05-031-11/+1
|
* [APP-601] Add muted accounts list (#565)Paul Frazee2023-05-021-0/+1
| | | | | * Add muted accounts list * Fix icon for muted accounts
* [APP-611] Add nice date to expanded post view (#567)Paul Frazee2023-05-022-0/+15
| | | | | * Add nice date to expanded post view * Fix styles
* [APP-549] Language controls for Whats Hot (#563)Paul Frazee2023-05-021-6/+4
| | | | | | | | | | | * Add a content-language preference control * Update whats hot to only show the selected languages and to refresh on lang pref changes * Fix lint * Fix tests * Add missing accessibility role
* Fix replies with <2 likes showing in the following feedPaul Frazee2023-05-021-2/+10
|
* [APP-610] Make the language filter more lenient (#562)Paul Frazee2023-05-021-2/+16
| | | | | | | | | | | | | * Tune the language filter to accept posts when a determination cant be made * use j instead of i since i has been declared in upper scope * use j instead of i since i has been declared in upper scope * Pass the j man --------- Co-authored-by: Ansh Nanda <anshnanda10@gmail.com>
* Fix image sharing on iOS (#561)Paul Frazee2023-05-021-9/+39
|
* Pre-web image changes refactor (#560)Ollie H2023-05-021-14/+6
| | | | | * Pre-web image changes refactor * Remove unneeded async behavior
* React Native accessibility (#539)Ollie H2023-05-012-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * React Native accessibility * First round of changes * Latest update * Checkpoint * Wrap up * Lint * Remove unhelpful image hints * Fix navigation * Fix rebase and lint * Mitigate an known issue with the password entry in login * Fix composer dismiss * Remove focus on input elements for web * Remove i and npm * pls work * Remove stray declaration * Regenerate yarn.lock --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* [APP-527] setup sentry (#532)Ansh2023-05-011-0/+46
| | | | | | | | | | | | | | | | | | | | | * setup sentry * add sentry to transformIgnorePatterns to fix jest issues * update README with sourcemap instructions * only enable integrations on native * fix sentry web * remove testing code * fix sentry authToken * Switch over to paul's auth tokens temporarily (lol) --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Implement blocks (#554)Paul Frazee2023-04-283-5/+94
| | | | | | | | | | | | | | | | | | | | | | | | | * Quick fix to prompt * Add blocked accounts screen * Add blocking tools to profile * Blur avis/banners of blocked users * Factor blocking state into moderation dsl * Filter post slices from the feed if any are hidden * Handle various block UIs * Filter in the client on blockedBy * Implement block list * Fix some copy * Bump deps * Fix lint
* Fix to embed labels lookup (#550)Paul Frazee2023-04-271-12/+10
| | | | | | | * Fix to embed labels lookup * Fix lint * Fix lint
* Refactor moderation to apply to accounts, profiles, and posts correctly (#548)Paul Frazee2023-04-273-9/+372
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Add ScreenHider component * Add blur attribute to UserAvatar and UserBanner * Remove dead suggested posts component and model * Bump @atproto/api@0.2.10 * Rework moderation tooling to give a more precise DSL * Add label mocks * Apply finer grained moderation controls * Refactor ProfileCard to just take the profile object * Apply moderation to user listings and banner * Apply moderation to notifications * Fix lint * Tune avatar & banner blur settings per platform * 1.24
* Load previous state in alt text modal (#546)Ollie Hsieh2023-04-271-1/+5
|
* Fix Android sharing (#545)Ollie Hsieh2023-04-271-3/+5
|
* Add web network failure error detection (close APP-83) (#537)Paul Frazee2023-04-251-1/+5
|
* Merge pull request #536 from ↵Ansh2023-04-251-0/+22
|\ | | | | | | | | bluesky-social/ansh/app-558-share-profile-and-post-broken-on-android [APP-558] Sharing refactor
| * consolidated share code to shareUrlAnsh Nanda2023-04-251-0/+22
| |
* | create Alert.tsx and Alert.web.tsx and replace uses (#513)Ansh2023-04-251-1/+1
|/
* Update hardcoded suggested actors (#524)Paul Frazee2023-04-241-114/+35
| | | | | * Update the hardcoded suggested follows * Update the suggested actors to just use hardcoded list since there's now the foaf system
* Android & visual fixes: color themes, repost icon, navigation, back handler, ↵Paul Frazee2023-04-244-23/+19
| | | | | | | | | | | | | | | | | | | | | etc (#519) * Switch android to use slide left/right animations on navigation * Bump the repost icon down by a pixel * Tune theme colors for contrast and darker bg on darkmode * Move back handler to a point in the init flow that leads to more consistent capture of events * Fix image share flow on android * Fix lint * Add todo about sharing not available * Drop the android slide animation because it's too slow * Fix 'flashes of white' in dark mode android
* Increase alt text limit to 1000 (#521)Ollie Hsieh2023-04-241-2/+2
|
* Android fixes (#515)Paul Frazee2023-04-221-0/+11
| | | | | | | | | * Fix profile screen performance on android and remove dead code * Correctly handle android hardware back btn * Fix EditProfile modal for android * Fix lint
* [APP-522] Create & revoke App Passwords within settings (#505)Ansh2023-04-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | * create and delete app passwords * add randomly generated name * Tweak copy and layout of app passwords * Improve app passwords on desktop web * Rearrange settings * Change app-passwords route and add to backend * Fix link * Fix some more desktop web * Remove log --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Add alt text support and rework image layout (#503)Ollie Hsieh2023-04-213-5/+26
| | | | | | | | | | | | | | | | | | | | | | | | | * Add alt text support and rework image layout * Add additional BottomSheet implementation to account for nested Composer modal * Use mobile gallery layout on mobile web * Missing key * Fix lint * Move altimage modal into the standard modal system * Fix overflow wrapping of images * Fixes to the alt-image modal * Remove unnecessary switch * Restore old imagelayoutgrid code --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Improvements to notifications screen [APP-520] (#501)Paul Frazee2023-04-201-0/+27
| | | | | | | | | | | * Refresh or sync notifications when the tab is navigated to * Fix to bad textnode render * Speed up initial session load * Fix lint * Restore updateSessionState() on session resumption
* #420: add updateDataOptimistically utility to disallow like counter out of ↵Ansh2023-04-191-0/+52
| | | | | | | | | | | | | | | sync (#446) * add isLikedPressed flag to disallow like counter out of sync * create revertible helper for updateDataOptimistically * test implementation * Update updateDataOptimistically() and apply to reposts --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* [APP 513] Label tuning (#496)Paul Frazee2023-04-191-3/+28
| | | | | * Label updates: break out sexual into 3 categories; tune defaults; improve descriptions * Fix misapplication of warning in notifications
* Fix user avatar and banner selector on web (#490)Paul Frazee2023-04-181-3/+3
|
* APP-70 give profile its own tab mobile (#469)Ansh2023-04-184-3/+30
| | | | | | | | | | | | | | | | | | | | | * add prebuild command to package.json * add ProfileTab navigator and screen * add prop to remove back button from profile * fix MyProfileTabNavigatorParams type * fix dep array for rendering ProfileHeader * just added ts-ignore * enable opening drawer in profile tab * clean up useNavigationTabState * clean up code * fix hideBackButton code flow
* Split image cropping into secondary step (#473)Ollie Hsieh2023-04-179-408/+322
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Split image cropping into secondary step * Use ImageModel and GalleryModel * Add fix for pasting image URLs * Move models to state folder * Fix things that broke after rebase * Latest -- has image display bug * Remove contentFit * Fix iOS display in gallery * Tuneup the api signatures and implement compress/resize on web * Fix await * Lint fix and remove unused function * Fix android image pathing * Fix external embed x button on android * Remove min-height from composer (no longer useful and was mispositioning the composer on android) * Fix e2e picker --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Fix web home feed sizing and related issues (close #432) (#475)Paul Frazee2023-04-151-1/+2
| | | | | | | | | | | | | | | * Fix web home feed sizing (close #432) * Fix lint * Fix positioning of profile not found error * Fix load latest on mobile * Fix overflow issues on mobile web (visible in postthread) * Fix bottom pad on mobile web * Remove old comment
* Web darkmode fixes (#474)Paul Frazee2023-04-131-1/+1
| | | | | | | * Change dark mode borders to be slightly lighter than the bg rather than slightly darker * Add dark mode styling to web composer * Fix editprofile darkmode
* temporary android fix for image picker issue (#466)Ansh2023-04-121-2/+4
|
* #435 web dark mode (#455)Ansh2023-04-121-1/+1
| | | | | | | | | | | | | | | | | | | | | * add ThemeProvider to App.web.tsx * make FlatNavigator use themed color * fix extra padding on top in web * add observer to App.web.tsx to make it react to theme changes * fix TS for useColorSchemeStyle * add dark mode toggle button to web LeftNav * fix index.web.tsx border colors for web * Move the darkmode desktop web toggle to the right nav column --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Mobile Web (#427)John Fawcett2023-04-124-0/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * WIP * WIP * Fix header offset on web * Remove debug * Fix web mobile feed and FAB layout * Fix modals on mobile web * Remove dead code * Remove ios config that shouldnt be committed now * Move bottom bar into its own folder * Fix web drawer navigation and state behaviors * Remove dark mode toggle from web drawer for now * Fix search on mobile web * Fix the logged out splash screen on mobile web * Fixes to detox simulator --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Add first round of labeling tools (#467)Paul Frazee2023-04-122-0/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rework notifications to sync locally in full and give users better control * Fix positioning of load more btn on web * Improve behavior of load more notifications btn * Fix to post rendering * Fix notification fetch abort condition * Add start of post-hiding by labels * Create a standard postcontainer and improve show/hide UI on posts * Add content hiding to expanded post form * Improve label rendering to give more context to users when appropriate * Fix rendering bug * Add user/profile labeling * Implement content filtering preferences * Filter notifications by content prefs * Update test-pds config * Bump deps
* Filter out bad mentions instead of erroring during post (close #391) (#422)Paul Frazee2023-04-071-0/+12
|