about summary refs log tree commit diff
path: root/src/view/com/modals
Commit message (Collapse)AuthorAgeFilesLines
...
| * fix onboarding on webAnsh Nanda2023-08-292-2/+48
| |
| * move onboarding to screensAnsh Nanda2023-08-283-15/+0
| |
* | Move `PreferencesHomeFeed` to a screen instead of a modal (#1335)Ansh2023-08-303-184/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | * move `PreferencesHomeFeed` to a screen instead of a modal * add web route for home feed preferences * upgrade `@miblanchard/react-native-slider` to fix lint * fix web route naming * fix desktop web styling * add `react-native-slider` mock
* | Moderation settings fixes (#1336)Paul Frazee2023-08-301-10/+12
|/ | | | | | | | | | | | | | | | | | | * Default isAdultContentEnabled to false on all devices. The original intent of setting the default based on the device was to make the maximally-permissive choice. It turns out this was a mistake as it created sync issues between devices; users would be confused by the lack of congruity between them. We have to go with false by default to ensure sync is retained. * Update preferences model to use new sdk api * Delete dead code * Dont show the iOS adult content warning in content filtering settings if adult content is enabled * Bump @atproto/api@0.6.8 * Codebase style consistency
* Eslint updates (#1281)Eric Bailey2023-08-252-3/+3
| | | | | | | | | | | | | | | | | | * eslint: Update eslintrc * eslint: Strings must use singlequote quotes * eslint: expected { after if-condition * eslint: update warnings * a little cleanup * remove conflicted file --------- Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com> Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Update/fix `ChangeHandle` form (#1280)Eric Bailey2023-08-251-4/+4
| | | | | * fix well-known did copy value * s/Domain/Host in change handle form
* Improve handling of unselecting languanges in composer language menu (#1093)Eric Bailey2023-08-231-14/+39
| | | | | | | | | | | | | | | | | | | | | | | * allow toggling off/on multiple from main composer lang menu * fix dropdown styles for long labels * udpate model to use new string field * update language UI * save langs to history on submit * remove edit * clean up use new fields * default to deviceLocales * fix default valu * feedback * use radio icon
* Change Handle modal DNS instruction tweaks for clarity (#1245)Paul Frazee2023-08-221-1/+7
| | | | | * Remove potentially confusing period from subdomain in changehandle (close #1004) * Clarify dns instructions further (close #1087)
* A set of composer fixes (#1187)Paul Frazee2023-08-161-39/+54
| | | | | | | * Don't insert a newline on cmd+entrl (close #1173) * Don't linkify selected text on url-paste (close #1149) * Disable the adult content controls if there is no media on the post (close #1169)
* :sparkles: Repurpose report post modal and re-use for list reporting (#1070)Foysal Ahamed2023-08-156-318/+196
| | | | | | | | | | | | | | | | | | | | | | | | | * :sparkles: Repupose report post modal and re-use for list reporting * :sparkles: Allow reporting a feed generator * :sparkles: :recycle: Refactor report modal into one shared component for reporting different collections * :white_check_mark: Adjust report option selector in tests * :white_check_mark: Add test for list reporting * :recycle: :sparkles: Refactor reason options and add options for list and feedgen * :broom: Cleanup remaining todo * Fix to mutelist react keys * Fix regression from rebase * Improve customfeed mobile header --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* More useful block-state information in embeds (#1150)Paul Frazee2023-08-101-2/+6
| | | | | * More useful block-state information in embeds * Tune copy
* Replace the emojis in the self-labeler with a remove button (#1147)Paul Frazee2023-08-101-16/+25
|
* Add self-labeling controls (#1141)Paul Frazee2023-08-094-4/+178
| | | | | | | | | | | | | | | * 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
* wait for list memberships to load before becoming interactive (#1140)Eric Bailey2023-08-091-17/+48
| | | | | | | * wait for list memberships to load before becoming interactive * add spinner * remove secondary spinner
* Labeling & moderation updates [DRAFT] (#1057)Paul Frazee2023-08-033-0/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Improve the profile preview with "swipe up to view" and local cache ↵Paul Frazee2023-08-032-54/+59
| | | | | | | | | | | | | optimization (#1096) * Update the ProfilePreview to use a swipe-up to navigate * Use the profile cache to optimize load performance * Hack to align the header in the profile preview against the screen view * Fix profiles cache logic to ensure cache is used * Fix dark mode on profile preview
* Change button based on option (#1077)William2023-08-021-1/+3
|
* change copy in `InviteCodes.tsx (#1082)Ansh2023-08-021-5/+1
|
* List cleanup on remove (#1069)Foysal Ahamed2023-07-281-11/+23
| | | | | | | | | * :lipstick: Hide Add to List option on own profile * :sparkles: Remove Lists tab when last list is removed * :sparkles: Add listener to list delete on profile screen * :sparkles: Only show save changes in list modal when changes are made
* [APP-782] Support invalid handles correctly (#1049)Paul Frazee2023-07-271-1/+2
| | | | | | | | | | | | | | | | | | | * 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
* fix: ALT text entered in the compose dialog is erased when you press "Edit" ↵GitStart2023-07-251-1/+1
| | | | again (#1054)
* [APP-775] Add Welcome screen after account creation (#1038)Ansh2023-07-193-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add comments to step 1-3 * add onboarding screen * add analytics for onboarding tracking * fix useEffect * change text * change icon size * put onboarding into bottom sheet modal instead of react navigation * wip * Simplify the type validation * Fix: only trigger onboarding modal when account creation succeeds * Add the 'session-ready' event which fires when the new session is stable * Use the 'session-ready' event to trigger the onboarding modal * update copy * update copy --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Tweak copyPaul Frazee2023-07-181-2/+2
|
* 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>