about summary refs log tree commit diff
path: root/src/view/com/modals
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge branch 'term_violation_addition' of ↵Paul Frazee2023-07-181-0/+13
|\ | | | | | | https://github.com/therealjeffg/social-app into therealjeffg-term_violation_addition
| * adds additional reason for reporting an account profileJeff Griffiths2023-07-141-0/+13
| |
* | [APP-773] Change waitlist explainer copy (#1021)Paul Frazee2023-07-171-4/+4
|/ | | | | | | * Change waitlist explainer copy * Restore the waitlist modal snap point to 80% to account for smaller phones * Tune copy further
* Post UI updates (Profile Preview on mobile) (#990)Paul Frazee2023-07-063-0/+96
| | | | | | | | | | | | | | | | | | | | | | | * 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
* Added instructions for .well-known method (supersedes #887) (#979)Paul Frazee2023-07-051-30/+91
| | | | | | | | | | | | | | | | * 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-692] Accessibility font-scaling fixes (#922)Paul Frazee2023-06-282-23/+34
| | | | | | | | | | | * 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 copy and dark mode styles in the home feed preferences (#915)Paul Frazee2023-06-271-14/+14
|
* Improvements to the alt text behaviors in the composer (#910)Paul Frazee2023-06-271-57/+110
| | | | | | | | | | | | | | | | | | | | | * 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-261-8/+8
|
* [APP-690] better handling of post languages language filtering (#893)Ansh2023-06-237-145/+315
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Small style fixesPaul Frazee2023-06-161-10/+15
|
* feat: styling/copy cleanupEric Bailey2023-06-161-51/+68
|
* feat: add home feed preferences settings modal and tunersEric Bailey2023-06-163-0/+161
|
* [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
* Various case and text fixes. (#757)Markus Amalthea Magnuson2023-06-136-13/+13
| | | | | | | | | * Various case and text fixes. * Update some labels per requested changes. --------- Co-authored-by: Ansh <anshnanda10@gmail.com>
* UX: account deletion dialogue does not tell me which account I'm deleting (#835)GitStart2023-06-131-7/+42
| | | | | * fix: account deletion dialogue does not tell me which account I'm deleting * update styles and display name
* [APP-680] Allow users to add details when reporting (#854)Ansh2023-06-076-144/+363
| | | | | | | | | | | | | | | | | | | | | | | | | | | * allow user to add text when reporting post * add DMCA override * increase modal size * fix dark mode text color * re-organize components * add details option when reporting account * hard-code modal size so it works on smaller devices * fix modal on web * Remove outline from textarea focus * Tweak some styles * Fix lint --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Fix a bunch of type errors and add a type-check to the github workflows (#837)Paul Frazee2023-06-022-5/+5
| | | | | | | | | | | | | | | * Add yarn type-check * Rename to yarn typecheck * Fix a collection of type errors * Add typecheck to automated tests * add `dist` to exluded folders tsconfig --------- Co-authored-by: Ansh Nanda <anshnanda10@gmail.com>
* fix: content trimmed in server input modal (#733)skipness2023-05-301-1/+1
|
* Rework scaled dimensions and compression (#737)Ollie H2023-05-303-18/+10
| | | | | | | | | * Rework scaled dimensions and compression * Unbreak image / banner uploads --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* fix web links to no longer point to staging (#758)Ben Harris2023-05-301-2/+2
| | | | | * fix web link in README.md * missed one
* Add list-type avatarPaul Frazee2023-05-181-0/+1
|
* Drop the hard-coded what's hot algoPaul Frazee2023-05-181-2/+2
|
* Replace image picker with expo-image-picker (#649)Ollie H2023-05-161-1/+3
| | | | | | | | | * Replace image picker with expo-image-picker * Fix cropper & picker on web --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Remove surrounding spaces in parentheses. (#667)Markus Amalthea Magnuson2023-05-161-1/+1
|
* Image editor mobile layout update (#613)Ollie H2023-05-151-207/+168
| | | | | * Image editor mobile layout update * Minor viewport fix
* reporting: anti-social option; alert emoji around urgent option (#617)bnewbold2023-05-151-1/+14
| | | | | | | | | | | | | | | | | * reporting: new anti-social post report option * reporting: alarm emoji on urgent report option * reporting: appease 'make lint' I originally had text on a separate line, but that failed, so I put text+tags on a line and thought that worked, but failed again? Seems inconsistent, but trying again. * Remove emojis and increase report post height --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Style cleaning and initial text size audit (#618)Ollie H2023-05-151-2/+5
| | | | | * Style cleaning and initial text size audit * Put file back
* [APP-643] Account preferences server sync (#615)Paul Frazee2023-05-111-4/+65
| | | | | | | * Bump deps * Bump deps * Add server sync of content preferences and an adult content toggle
* a11y cleanup for mute lists (#614)Ollie H2023-05-113-11/+15
|
* [APP-635] Mutelists (#601)Paul Frazee2023-05-115-3/+545
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Update web image editor (#588)Ollie H2023-05-093-2/+422
| | | | | | | | | | | | | | | | | | | | | | | * 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>
* [APP-639] Improve nsfw handling & force hidden on iOS (#605)Paul Frazee2023-05-091-10/+34
| | | | | | | | | | | * 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
* sanitize app passwords name (#589)Ansh2023-05-051-4/+38
|
* Rework alt image modal to be fullscreen due to android bugs with the ↵Paul Frazee2023-05-041-4/+2
| | | | bottomsheet and keyboard (#577)
* [APP-539] Rework lightbox and alt-image behaviors (#573)Paul Frazee2023-05-043-87/+0
| | | | | | | | | | | | | | | | | | | | | * Replace the long press on the lightbox with footer controls * Remove long-press from images in the feed * Tune the lightbox footer control ui * Replace the AltImageRead modal with the ability to view all alt text in the lightbox footer * Tune lightbox footer for iOS * Add alt text to the web lightbox * Fix lint * a11y slight changes --------- Co-authored-by: renahlee <renahlee@outlook.com>
* [APP-549] Language controls for Whats Hot (#563)Paul Frazee2023-05-024-1/+151
| | | | | | | | | | | * 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
* Add keyboard shortcuts: new, escape, and hard break (#552)Ollie H2023-05-022-5/+26
| | | | | | | | | | | | | | | | | | | | | * Add keyboard shortcuts: new, escape, and hard break * Add preferences modal * Remove code accidentally re-added due to rebase * Fix incorrect copy and lint * Put stuff back so diffs are clearer * Re-add invite codes to settings * Address comments * Tune the copy --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Fix confirm profile sizing for blocks (#564)Paul Frazee2023-05-021-1/+1
|
* Pre-web image changes refactor (#560)Ollie H2023-05-021-6/+7
| | | | | * Pre-web image changes refactor * Remove unneeded async behavior
* Strip whitespaces from tokens (#558)Ollie H2023-05-011-1/+3
|
* React Native accessibility (#539)Ollie H2023-05-0116-54/+242
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Image alt text view modal (#551)Ollie H2023-05-013-0/+82
| | | | | | | | | * Image alt text view modal * Minor style tweaks --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Implement blocks (#554)Paul Frazee2023-04-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Up Android snap pointrenahlee2023-04-281-1/+1
|
* Update invite code copy (#549)Ollie Hsieh2023-04-271-1/+1
|
* Load previous state in alt text modal (#546)Ollie Hsieh2023-04-271-2/+3
|
* Tune some copyPaul Frazee2023-04-261-1/+1
|
* Update report modal to use new groupings (close [APP-567]) (#533)Paul Frazee2023-04-252-45/+132
|
* [APP-562] Persist 'copied' state of invite codes (#535)Paul Frazee2023-04-251-39/+38
| | | | | * Persist 'copied' state of invite codes (close APP-562) * Dont show copied message if invite used