about summary refs log tree commit diff
path: root/src/view/com/posts
Commit message (Collapse)AuthorAgeFilesLines
* Add self-labeling controls (#1141)Paul Frazee2023-08-091-0/+2
| | | | | | | | | | | | | | | * Add self-label modal * Use the shield-exclamation icon consistently on post moderation * Wire up self-labeling * Bump @atproto/api@0.6.0 * Bump @atproto/dev-env@^0.2.3 * Add e2e test for self-labeling * Fix types
* Add alerts to embeds (#1138)Paul Frazee2023-08-081-1/+4
| | | | | | | * Add alerts to embeds * Add images to the mock data * Fix types
* fix long thread stylingEric Bailey2023-08-081-11/+16
|
* Collection of small UI fixes & improvements (#1104)Paul Frazee2023-08-041-5/+7
| | | | | | | | | * Fix black bar appearing in link card images * Include QPs in posts cache * Fix like color for feed likes in notifications * Fix post embed spacing
* fix feed UI alignment issues (#1106)Eric Bailey2023-08-042-69/+87
| | | | | * fix feed alignment issues * fix reason line alignment
* Labeling & moderation updates [DRAFT] (#1057)Paul Frazee2023-08-032-74/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * First pass moving to the new labeling sdk (it compiles) * Correct behaviors around interpreting label moderation * Improve moderation state rendering * Improve hiders and alerts * Improve handling of mutes * Improve profile warnings * Add profile blurring to profile header * Add blocks to test cases * Render labels on profile cards, do not filter * Filter profiles from suggestions using moderation * Apply profile blurring to ProfileCard * Handle blocked and deleted quote posts * Temporarily translate content filtering settings to new labels * Fix types * Tune ContentHider & PostHider click targets * Put a warning on profilecard label pills * Fix screenhider learnmore link on mobile * Enforce no-override on user avatar * Dont enumerate profile blur-media labels in alerts * Fixes to muted posts (esp quotes of muted users) * Fixes to account/profile warnings * Bump @atproto/api@0.5.0 * Bump @atproto/api@0.5.1 * Fix tests * 1.43 * Remove log * Bump @atproto/api@0.5.2
* [APP-782] Support invalid handles correctly (#1049)Paul Frazee2023-07-272-14/+13
| | | | | | | | | | | | | | | | | | | * Update profile link construction to support handle.invalid * Update list links to support using handles * Use did for isMe check to ensure invalid handles dont distort the check * Shift the red (error) colors away from the pink spectrum * Add ThemedText helper component * Add sanitizedHandle() helper to render invalid handles well * Fix regression: only show avatar in PostMeta when needed * Restore the color of likes * Remove users with invalid handles from default autosuggests
* Post UI updates (Profile Preview on mobile) (#990)Paul Frazee2023-07-064-36/+13
| | | | | | | | | | | | | | | | | | | | | | | * Update postmeta to put the timestamp on the right side on mobile * Drop the two-line PostMeta mode * Add ProfilePreview modal * Tune PostMeta to give the best behavior possible for a given platform * Remove old showFollowBtn attributes * Fix style issue * Switch the follow button in the profile header to use the inverted color for consistency with the rest of the app * Fix lint * Fix darkmode * Tune the profile preview footer * Better analytics choice
* [APP-724] Collection of accessibility fixes (#949)Paul Frazee2023-07-031-39/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix: include alt text on the web lightbox image * a11y: Dont read the 'ALT' label * a11y: remove a wrapper behavior from posts This appears to have been introduced with the goal of creating meta actions on posts, but the behavior seems counter-productive. The accessibility inspector was unable to access individual items within the post and therefore most content was simply skipped. There may be a way to support the post actions without losing the ability to access the inner elements but I couldnt find it. -prf * a11y: apply alt tags to image wrappers so they get read * a11y: set Link accessibilityLabel to the title if none set * a11y: skip the SANDBOX watermark * a11y: improve post meta to not read UI and give a useful date * ally: improve post controls * a11y: add labels to lightbox images on mobile * fix types
* [APP-708] Onboarding revamp (#939)Ansh2023-07-022-3/+36
| | | | | * Move Discover New Feeds button to the top of the MultiFeed * add discover custom feeds to empty following page
* Fix: correctly handle the case where the user has no languages configuredPaul Frazee2023-06-301-1/+3
|
* [APP-718] Improvements and fixes to language handling (#931)Paul Frazee2023-06-301-10/+22
| | | | | | | | | | | * Add locale helpers for narrowing languages * Add a translate link to posts in a different language * Update language filtering to use narrowing when multiple declared * Fix a few more RTL layout cases * Fix types
* [APP-705] Metrics revamp pt2 (#896)Ansh2023-06-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * export track function from analytics.tsx * fix create account tracking * fix tracking sign in * add custom feed events * fix type errors * refactor create post event * add profile follow & unfollow events * refactor PostsFeedSliceModel into its own file * refactor PostThreadItemModel into its own file * reorganize code a lil bit * refactor post-thread-item to use post-feed-item model under the hood * add post events * add post reply tracking * track custom feed load more * track list subscribe and unsubscribe
* Bump @types/react to ^18 and adjust types (#889)Logan Rosen2023-06-221-2/+2
|
* [APP-511] metrics overhaul: frontend work (#506)Ansh2023-06-153-3/+3
| | | | | | | | | | | | | | | | | | | | | * WIP * fix types and update imports * wip * tagged events that should be server side * remove server-side analytics * remove useless import * add additional profile header events * remove useless import * track follow/unfollow clicks * add missing types
* Add testnet warning (#880)Paul Frazee2023-06-141-0/+2
| | | | | | | * Add testnet warning * Add watermarks to posts * Call the test environment the Sandbox
* translate to primary language rather than just english (#814)Samuel Newman2023-06-011-2/+4
|
* move early return to after all hooks (#823)Ansh2023-06-011-5/+5
|
* Add ability to reply, repost (without quote post), and like posts using ↵Ollie H2023-05-301-2/+38
| | | | | VoiceOver (#765) Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Use non-pipe translation link (#740)Ollie H2023-05-301-1/+5
|
* Fix button to find people to follow (#806)Logan Rosen2023-05-302-4/+14
|
* Fix tscPaul Frazee2023-05-251-1/+1
|
* UI tune upsPaul Frazee2023-05-251-16/+5
|
* Tune up custom feed uis on webPaul Frazee2023-05-251-1/+28
|
* Add feeds tabPaul Frazee2023-05-252-2/+230
|
* Refactor the scroll-to-top UXPaul Frazee2023-05-241-2/+1
|
* fix scrollToTop for webAnsh Nanda2023-05-241-0/+3
|
* show scroll to top button when scrolling stopsAnsh Nanda2023-05-231-1/+7
|
* Some fixesPaul Frazee2023-05-181-16/+0
|
* Drop the hard-coded what's hot algoPaul Frazee2023-05-181-3/+24
|
* Merge branch 'main' into custom-algosPaul Frazee2023-05-172-5/+19
|\
| * Use dropdown for web reposting and quote posting (#607)Ollie H2023-05-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use dropdown for web reposting and quote posting * Remove collateral damage * Tune the repost dropdown positioning * Move postctrls into their own folder * Factor out repost button into native/web build --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
| * [APP-635] Mutelists (#601)Paul Frazee2023-05-112-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | fix re-rendering issueAnsh Nanda2023-05-161-0/+3
| |
* | fix routing on webAnsh Nanda2023-05-161-0/+3
|/
* Prevent reply to from cascading (#610)Ollie H2023-05-111-8/+12
|
* [APP-639] Improve nsfw handling & force hidden on iOS (#605)Paul Frazee2023-05-091-1/+4
| | | | | | | | | | | * 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-549] Language controls for Whats Hot (#563)Paul Frazee2023-05-022-1/+76
| | | | | | | | | | | * 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
* Implement blocks (#554)Paul Frazee2023-04-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Refactor moderation to apply to accounts, profiles, and posts correctly (#548)Paul Frazee2023-04-271-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Hotfix feed sizing (#510)Paul Frazee2023-04-211-0/+2
| | | | | * Fix home feed sizing on web * Bump api@0.2.8
* Thread muting [APP-29] (#500)Paul Frazee2023-04-201-12/+17
| | | | | | | * Implement thread muting * Apply filtering on background fetched notifs * Implement thread-muting tests
* Add first round of labeling tools (#467)Paul Frazee2023-04-121-124/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* [DRAFT] Android (#424)Ansh2023-04-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add android & ios folders to .gitignore * delete android and ios dirs * fix android build errors * fix status bar color * fix top cutoff on composer in android * fix weird whitespace issue in post * fix greyed out header android * fix main feed getting cut off android * fix swiping on main feed * fix profile tabs switching on android * A few app.json config items for iOS * Update app.json for bgfetch * make swiping work on android * make splash screen cover * add eas.json * fix image container on android * fix android status bar color * use expo-splash-screen instead of react-native-splash-screen --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Fix load spinner positioning (close #415) (#421)Paul Frazee2023-04-071-1/+1
|
* Stripe checkmark emojis from display names (close #396) (#419)Paul Frazee2023-04-071-6/+7
|
* Update AtUri import to use official package with fix for usernames that ↵Paul Frazee2023-04-072-2/+2
| | | | start with numbers (close #414) (#418)
* Improve "Load more" error handling in feeds (#379)Paul Frazee2023-04-031-2/+31
| | | | | | | * Add explicit load-more error handling to posts feed * Add explicit load-more error handling to notifications feed * Properly set hasMore to false after an error
* Reorganize state models for clarity (#378)Paul Frazee2023-04-033-7/+7
|
* Fix full thread SVG dots not rendering (#346) (#364)John Fawcett2023-04-031-3/+3
|