about summary refs log tree commit diff
path: root/src/view/com/modals
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Prevent keyboard from blocking alt image modal (#531)Ollie Hsieh2023-04-251-4/+6
| | | | | | | | | * Prevent keyboard from blocking alt image modal * Tune padding of altimage modal on desktop web --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Android & visual fixes: color themes, repost icon, navigation, back handler, ↵Paul Frazee2023-04-241-0/+2
| | | | | | | | | | | | | | | | | | | | | 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
* Android fixes (#515)Paul Frazee2023-04-222-86/+126
| | | | | | | | | * Fix profile screen performance on android and remove dead code * Correctly handle android hardware back btn * Fix EditProfile modal for android * Fix lint
* Fix App Passwords iOS dark mode modalrenahlee2023-04-211-6/+10
|
* More hotfixes to app passwords (#511)Paul Frazee2023-04-211-0/+3
| | | | | * Fix app passwords modal on web * Fix delete app password on web
* [APP-522] Create & revoke App Passwords within settings (#505)Ansh2023-04-212-0/+220
| | | | | | | | | | | | | | | | | | | | | | | * 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-2/+115
| | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* [APP 513] Label tuning (#496)Paul Frazee2023-04-191-27/+54
| | | | | * Label updates: break out sexual into 3 categories; tune defaults; improve descriptions * Fix misapplication of warning in notifications
* Split image cropping into secondary step (#473)Ollie Hsieh2023-04-172-15/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Web darkmode fixes (#474)Paul Frazee2023-04-131-8/+2
| | | | | | | * 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
* add maxHeight of 100vh to web modal to stop overflow (#463)Ansh2023-04-121-0/+1
|
* Add first round of labeling tools (#467)Paul Frazee2023-04-123-3/+194
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Add user invite codes (#393)Paul Frazee2023-04-053-0/+198
| | | | | | | | | | | * Add mobile UIs for invite codes * Update invite code UIs for web * Finish implementing invite code behaviors (including notifications of invited users) * Bump deps * Update web right nav to use real data; also fix lint
* More darkmode fixes (#381)Paul Frazee2023-04-032-29/+35
| | | | | | | * Update confirm modal to use theming system (close #347) * Add dark mode styles to serverinput modal * Fix lint
* Reorganize state models for clarity (#378)Paul Frazee2023-04-031-2/+2
|
* Lex refactor (#362)Paul Frazee2023-03-317-30/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove the hackcheck for upgrades * Rename the PostEmbeds folder to match the codebase style * Updates to latest lex refactor * Update to use new bsky agent * Update to use api package's richtext library * Switch to upsertProfile * Add TextEncoder/TextDecoder polyfill * Add Intl.Segmenter polyfill * Update composer to calculate lengths by grapheme * Fix detox * Fix login in e2e * Create account e2e passing * Implement an e2e mocking framework * Don't use private methods on mobx models as mobx can't track them * Add tooling for e2e-specific builds and add e2e media-picker mock * Add some tests and fix some bugs around profile editing * Add shell tests * Add home screen tests * Add thread screen tests * Add tests for other user profile screens * Add search screen tests * Implement profile imagery change tools and tests * Update to new embed behaviors * Add post tests * Fix to profile-screen test * Fix session resumption * Update web composer to new api * 1.11.0 * Fix pagination cursor parameters * Add quote posts to notifications * Fix embed layouts * Remove youtube inline player and improve tap handling on link cards * Reset minimal shell mode on all screen loads and feed swipes (close #299) * Update podfile.lock * Improve post notfound UI (close #366) * Bump atproto packages
* Darkmode fixes (#301) (#327)Paul Frazee2023-03-201-4/+4
| | | | | | | | | * Fix dark mode rendering of 'follows you' pill * Fix the darkmode coloring of the PTR * Fix dark mode styles in dns instructions * Only lint the src dir