about summary refs log tree commit diff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fixes and improvements to the Profile Preview modal (#992)Paul Frazee2023-07-078-59/+101
| | | | | | | | | | | | | * Fix: use more reliable navigation method * Fix: show lightbox over the active modal * Fix: close the profile preview on navigation * Factor out UserPreviewLink and add preview behavior to notifications * Fix postmeta overflow on web * Fix lint
* Post UI updates (Profile Preview on mobile) (#990)Paul Frazee2023-07-0617-190/+215
| | | | | | | | | | | | | | | | | | | | | | | * 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-703] Android horizontal scroll registers as tap (#960)Ansh2023-07-063-9/+74
| | | | | | | | | | | | | * use Touchables from react-native-gesture-handler * upgrade `react-native-gesture-handler` to latest version * add FixedTouchableHighlight for android * add workaround comment * wait for animations to complete before loading data * downgrade RNGH back to the version we had
* [APP-729] Replace the ImageHider blurring effect with a simpler and more ↵Paul Frazee2023-07-061-79/+31
| | | | | | | | | | | reliable card (#959) * Replace the ImageHider blurring effect with a simpler and more reliable card * A few improvements to ImageHider layout * Simplify the ImageHider a bit more * Small web layout tweak
* [APP-28] add status page link (#987)Ansh2023-07-063-9/+51
| | | | | | | * add status page to mobile * add status page URL to super slow loading screen * store STATUS_PAGE_URL in constants.ts
* [APP-736] Clarify hate-group moderation as it's currently used (#985)Paul Frazee2023-07-061-2/+3
| | | | | | | | | | | | * Clarify hate-group moderation as it's currently used * Update src/lib/labeling/const.ts Co-authored-by: Emily Liu <emilyliu7321@gmail.com> --------- Co-authored-by: Ansh <anshnanda10@gmail.com> Co-authored-by: Emily Liu <emilyliu7321@gmail.com>
* [APP-735] Post language improvements (#982)Paul Frazee2023-07-0611-28/+189
| | | | | | | | | | | | | | | | | * Fix composer character-counter bouncing around UI elements * Fix composer toolbar padding when keyboard is dismissed on iOS * Use the full name of the language in the composer footer * Add headings to the DropdownButton * Update the composer language control to use a simpler dropdown * Fix lint * Add translate link to Post component used in notifications * Fix lint
* Update support links (#977)Paul Frazee2023-07-054-15/+71
| | | | | | | | | | | | | | | | | | | * Add the new zendesk feedback form URL * Dont wrap handle or display name in the drawer * Add help link * Tune drawer footer layout * Type fixes * make helpdesk urls more composable for future * fix typo --------- Co-authored-by: Ansh Nanda <anshnanda10@gmail.com>
* Added instructions for .well-known method (supersedes #887) (#979)Paul Frazee2023-07-053-105/+168
| | | | | | | | | | | | | | | | * Added instructions for .well-known method * Factor out SelectableBtn * Rework the ChangeHandle modal to be a little clearer * Fix lint * Fix desktop layout --------- Co-authored-by: Haider Ali Punjabi <haiderali@cyberservices.com> Co-authored-by: Haider Ali Punjabi <haideralipunjabi@hackesta.org>
* [APP-702] Render Custom Feed likes properly (#980)Ansh2023-07-054-4/+25
| | | | | | | | | * render href for custom feed likes properly * fix custom feed text in push notification * fix custom feed accessibility title * fix lint
* Fixes vertical alignment in feed tab bar (#974)Ændra Rininsland2023-07-051-0/+2
| | | The tab bar items need `justify-content: center` on them or else they can appear unaligned when a feed name has an emoji character in it.
* fix: typo in feed-manip.ts (#967)Ikko Eltociear Ashimine2023-07-051-1/+1
| | | prefered -> preferred
* Fix: re-add the scroll boundary to avoid minimal shell at top of screen (#956)Paul Frazee2023-07-031-2/+10
|
* don't throw, but log OTA listener errors (#958)Ansh2023-07-031-1/+4
|
* track successful account creation (#955)Ansh2023-07-032-0/+3
|
* Fix reply-root reference (fixes thread muting) (#957)Paul Frazee2023-07-032-2/+3
|
* Add alt text validation option to user preferences (supersedes #913) (#914)Paul Frazee2023-07-035-3/+76
| | | | | | | | | | | | | * Add alt text validation option to user preferences * Fix typos/linting issues * Update accessibility setting to match styles * Update the required alt text reminder to go away once it's added --------- Co-authored-by: Emma Fuller <emma@emmafuller.dev>
* [APP-724] Collection of accessibility fixes (#949)Paul Frazee2023-07-0319-148/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Fix: let images on desktop web take more vertical space (#953)Paul Frazee2023-07-031-1/+2
|
* Add permission checks before saving image (#945)Ansh2023-07-032-26/+31
| | | | | | | | | * catch permission errors when saving image to album * Save photos to media library alone (not an album) --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Fix saved feeds screen layout on web (close #920) (#943)Paul Frazee2023-07-021-1/+1
|
* Fix keyboard navigation on settings page. (#923)Markus Amalthea Magnuson2023-07-021-17/+42
|
* Make sidebar avatar keyboard-clickable. (#921)Markus Amalthea Magnuson2023-07-021-1/+4
|
* fix: stabilize minimalShellMode toggling by introducing modified thresholds ↵Paul Frazee2023-07-021-6/+4
| | | | | | | | | | | | | (supersedes #938) (#942) * add separate scroll up/down thresholds to prevent rapid state changes * set `DY_LIMIT_DOWN` to 150 * Use a different scroll dy limit on web/mobile --------- Co-authored-by: Sehyun Chung <sehyun.chung@icloud.com>
* [APP-708] Onboarding revamp (#939)Ansh2023-07-023-4/+37
| | | | | * Move Discover New Feeds button to the top of the MultiFeed * add discover custom feeds to empty following page
* Use consistent font weight for repost count (#940)Dylan Smith2023-07-021-1/+1
|
* Performance improvement (#937)Paul Frazee2023-07-012-46/+37
| | | | | | | * Perf: Wait until a feed is visible in the home screen before fetching data * perf: update feed checkForLatest to use limit=1 * Fix lint
* Fix: correctly handle the case where the user has no languages configuredPaul Frazee2023-06-302-2/+6
|
* Fix: reset navigation state on account switch (#933)Paul Frazee2023-06-301-2/+2
|
* Fix thread muting (#932)Paul Frazee2023-06-303-5/+4
|
* [APP-718] Improvements and fixes to language handling (#931)Paul Frazee2023-06-309-88/+174
| | | | | | | | | | | * 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
* Include a notice during account creation for under-18 users (#927)Paul Frazee2023-06-303-4/+22
|
* [APP-716] Add 'save image' button to the lightbox (#926)Paul Frazee2023-06-304-4/+60
| | | | | | | * Add 'save image' button to the lightbox * Fix types * Fix types
* [APP-692] Accessibility font-scaling fixes (#922)Paul Frazee2023-06-285-27/+36
| | | | | | | | | | | * Fix: enable font scaling in the composer text input * Fix: cancel button in search no longer wraps * Fix: report modals no longer clip off the bottom with scaled fonts * Fix scrolling on android * Allow wrapping in dropdown items until we can handle proper sizing
* Fix: hide the keyboard before showing the discard modal (#925)Paul Frazee2023-06-281-0/+4
|
* Simulator fixes (#918)Paul Frazee2023-06-271-6/+8
| | | | | | | | | * Update the mock server to use the dev-env to manage the server * Fix list testIDs * Fix the invite test construction * Remove leftover test hardcode
* Fix copy and dark mode styles in the home feed preferences (#915)Paul Frazee2023-06-271-14/+14
|
* Fix some broken links on policy docs (#916)Paul Frazee2023-06-272-4/+4
|
* Revert change to the cancel button in the composer (#917)Paul Frazee2023-06-271-5/+2
|
* Merge branch 'skip-confirmation-for-empty-post' of ↵Paul Frazee2023-06-271-23/+28
|\ | | | | | | https://github.com/benharri-forks/social-app into benharri-forks-skip-confirmation-for-empty-post
| * fix cancel post behaviorBen Harris2023-06-261-18/+23
| | | | | | | | | | | | - prompt now appears for the cancel button - no prompt when post is empty - appease eslint
* | [APP-705] Metrics revamp pt2 (#896)Ansh2023-06-2722-385/+435
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | Improvements to the alt text behaviors in the composer (#910)Paul Frazee2023-06-274-180/+269
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add an image preview in the alt modal * Composer: add info about alt text and a green checkmark when done * Shrink the alt visual indicator a bit so it doesnt obscure the image * Fix typo * Fix: avoid requiring multiple tabs to save alt text * update react-native-screens * Improve the alt text help tip * Remove redundant hints --------- Co-authored-by: Ansh Nanda <anshnanda10@gmail.com>
* | make discard btn more apparent in UI (#912)Ansh2023-06-263-14/+22
|/
* [APP-657] Add share list functionality (#863)Ansh2023-06-2616-140/+315
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * replace delete list button text with icon * fix mute list styling on desktop * add share button to nav bar on a list * fix styling when on profile * bug: add key to ImageHorzList * clean up code & refactor * fix styling for ListItems * create a reusable ListActions component for actions on a list * remove dead styles * add keys to ListActions * add helpers to set list embed * render list embeds * fix list sharing on web * make style prop optional in ListCard * update `@atproto/api` to `0.3.13`
* Add a11y details to profile page compose button. (#909)Markus Amalthea Magnuson2023-06-261-0/+3
| | | This adds accessibility role, label and hint to the compose button on profile pages, to match the same button in all other views.
* [APP-690] better handling of post languages language filtering (#893)Ansh2023-06-2316-174/+516
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add SelectLangBtn * memoized objects that are created to reduce re-creation on re-render * add langs when uploading post * only send the top 3 languages otherwise backend will throw error * mv ContentLanguagesSettings to folder * add post languages settings modal and state * fix typos * modify feed manip to also check langs label on post * Fix tests * Remove log * Update feed-manip.ts * Fix syntax errors * UI tuneups * Show the currently selected languages in the composer * fix linting * Use a bcp-47 matching function * Fix a duplicate language issue * Fix web * Dont include lang in prompt * Make select language btn an observer * Keep device languages on top of language selection UIs * Fix android build settings * Enforce a max of 3 languages in posts * Fix tests * Fix types --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Bump @types/react to ^18 and adjust types (#889)Logan Rosen2023-06-2212-22/+55
|
* Small style fixesPaul Frazee2023-06-161-10/+15
|
* Update feed settings iconPaul Frazee2023-06-162-19/+21
|