about summary refs log tree commit diff
path: root/src/view/com/modals
Commit message (Collapse)AuthorAgeFilesLines
* Replace `import hairlineWidth =` with const (#4831)Samuel Newman2024-07-251-4/+3
| | | | | | | | | * replace import with const * just use `StyleSheet.hairlineWidth` --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* Use appropriate icons for toasts (#4803)Samuel Newman2024-07-235-27/+29
| | | | | | | | | | | | | * use appropriate icons for toasts * use info for session expiry * tweak size * message -> safeMessage --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* Composer - replace threadgate modal with alf dialog (#4329)Samuel Newman2024-06-243-215/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * replace threadgate modal with alf dialog * add accessibility to selectable * add aria * hide spinner once fetched * add `hasOpenDialogs` value to context * remove state * Rm loading state * Update the threadgate dialog button theming * Factor out the threadgate editor and add editing to post views * Mark messages for localization * Use colors from mute dialog * Remove unnecessary effect * Reset state on dialog dismiss * Clearer CTA * Fix bugs * Scope keyboard fix * Rm getAreDialogsActive (no longer needed) --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com> Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Implement thread locking (#4545)Paul Frazee2024-06-181-4/+7
| | | | | | | * Add the ability to edit threadgates * Fix bottom border on mobile * Refresh thread after threadgate edit
* Only enable keyboard controller when necessary (#4483)Samuel Newman2024-06-112-4/+0
| | | | | | | | | | | | | | | | | | | * Only enable keyboard controller when necessary * make it screen only * rm keyboard padding * rm keyboardpadding file * revert using keyboard controller in composer * remove styles.outer (unnecessary for revert) * continue to use keyboard padding in the report dialog for dms --------- Co-authored-by: Hailey <me@haileyok.com>
* [🙅] Disambiguation of the deactivation (#4267)Eric Bailey2024-06-041-1/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Disambiguation of the deactivation * Snapshot crackle pop * Change log context * [🙅] Add status to session state (#4269) * Add status to session state * [🙅] Add new deactivated screen (#4270) * Add new deactivated screen * Update copy, handle logout * Remove icons, adjust padding * [🙅] Add deactivate account dialog (#4290) * Deactivate dialog (cherry picked from commit 33940e2dfe0d710c0665a7f68b198b46f54db4a2) * Factor out dialog, add to delete modal too (cherry picked from commit 47d70f6b74e7d2ea7330fd172499fe91ba41062d) * Update copy, icon (cherry picked from commit e6efabbe78c3f3d9f0f8fb0a06a6a1c4fbfb70a9) * Update copy (cherry picked from commit abb0ce26f6747ab0548f6f12df0dee3c64464852) * Sizing tweaks (cherry picked from commit fc716d5716873f0fddef56496fc48af0614b2e55) * Add a11y label
* fix top border width for user list updates (#4340)Hailey2024-06-031-25/+30
| | | | | | | | | | | | | | | | | * fix nits in add/remove users from list screen invert check use `ViewHeader` simplify replace with hairline width fix top border width for user list updates * dont use `ViewHeader` * update one more hairline
* Unify profile tabs and lists screens placeholders (#4315)Bartosz Kaszubowski2024-06-031-6/+2
|
* [🐴] send record via link in text (Record DMs - base PR) (#4227)Samuel Newman2024-05-311-17/+3
| | | | | * send record via link in text * re-trim text after removing link
* Composer - fix modals, and other tweaks (#4298)Samuel Newman2024-05-312-28/+34
| | | | | | | | | | | | | | | | | | | * fix depreciated import * add animations to old dropdown * wrap modals in fullwindowoverlay * move errors inside header * add background to bottom bar and stop overlap * nest dialogs on android * fix android (wrap in gesturehandlerrootview) * make borders all the same color * revert threadgate button back to solid
* Post controls update followup (#4276)Samuel Newman2024-05-303-136/+0
| | | | | | | | | * rm legacy repost modal * make repost button transparent * reduce gap between post and ctrls * remove old repost modal on web
* Replace getAgent() with reading agent (#4243)dan2024-05-286-24/+23
| | | | | * Replace getAgent() with agent * Replace {agent} with agent
* Privileged app passwords (#4200)Samuel Newman2024-05-231-81/+98
| | | | | | | | | | | | | | | | | | | * add checkbox to create privileged app password * add indicator to privileged app pwds to list * bump api * oops missed the yarnlock * adjust modal padding * lowercase * one more lowercase --------- Co-authored-by: Hailey <me@haileyok.com>
* disable alt text auto focus on Android (#4198)Hailey2024-05-231-1/+2
| | | | | * disable alt text auto focus on Android * revert timeout change
* Add padding to dialogs when keyboard is open on Android (#4182)Hailey2024-05-231-0/+2
| | | | | | | | | * add keyboard padding to android dialogs * missing `keyboardDismissMode` for `ScrollableInner` * add to `MutedWords` * add to `LabelsOnMe`
* [🐴] delete chat service account on account delete (#4056)Samuel Newman2024-05-171-0/+11
| | | | | | | | | * delete chat service account on account delete * Add proxy header --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Movable following feed (#3593)Eric Bailey2024-05-111-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Handle home algo with backwards compat * Remove todo, fix pwi view * Simplify filter logic * Handle edge case * Handle home algo in FeedSourceCard * Fix handling of pinned feed if home algo is disabled * Handle home algo on ProfileFeed screen * Rename * Fix pinned feeds key * Improve perf of pinned feeds with primary algo * Update statsig API * Revert unneeded changes * Support following feed as well * Better formatting * Clarify primary algo usage * Better comment * Handle saved feed screen edge case * Restore Feeds sparkle, fix line height * Move gate call down * Filter out primary algo from feeds page * Filter dupe from Feeds screen * Simplify logic * Missing following handling * Hide primary feed setting outside exp * Revert testing change * Migrate usePinnedFeedInfos * Migrate FeedSourceCard * Migrate Feeds screen * Migrate SavedFeeds screen * Handle timeline in feed infos * Finish migrating ProfileFeed, FeedSourceCard * Migrate ProfileList * Finalize mutation hooks * Allow unsaving lists * Handle following feed on Feeds screen * Handle following on SavedFeeds * Get rid of deprecated interface usages * Handle no pinned feeds * Handle no feeds on Feeds screen * Reuse component on SavedFeeds screen * Handle no following feed * Remove primary algo references * Migrate to new plural APIs * Remove unused event * Prevent duplicate keys * Make handling much more clear * Dedupe useHeaderOffset * Filter unknown feed types at source * Use just following * Immprove key handling * Resume from last tab * Bump sdk * Revert Gemfile * Additional protection in FeedSourceCard * Fix ProfileList save/unsave handling * Translate * Translate * Match existing handling post-signup * Ensure onboarding results in correct selected feeds * Some testing tweaks on create/onboarding * Revert primary algo consderations * Remove comment * Handle default feed setting * Rm unnecessary type cast * Remove premature gate check * Remove nullable check in onPageSelecting, assume the pager checks bounds * Use null for default selected feed * Rm unrelated change * Remove the concept of __key__ I don't think this concept is consistent. It's introduced on FeedSourceInfo which is used both by pinned feeds and by useFeedSourceInfoQuery. Pinned feeds use the pinning ID there. But there is no pinning ID for useFeedSourceInfoQuery. So this means this field is sometimes one thing and sometimes some other thing. That is a decent sign that it shouldn't be on that type at all. It's not used anywhere except the desktop feed enumeration. It seems reasonable to assume there that we wouldn't want to show the same feed URL twice. (And if it does occur in the array twice, IMO we should solve that at the API level and dedupe it on read or next write.) So I think we should just use the URL in that place. (I used the descriptor, which is equivalent.) * Dedupe pinned feeds by URL on read * Filter timeline out of mergefeed sources * Put FeedDescriptor into FeedSourceInfo * Group saved info with feed for pins This removes a loop within a loop within a loop. * Fix Feeds link on native --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Replace updateCurrentAccount() with refreshSession() (#3910)dan2024-05-083-24/+9
| | | Replace updateCurrentAccount() with resumeSession()
* [Session] Remove global agent (#3852)dan2024-05-081-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove logs and outdated comments * Move side effect upwards * Pull refreshedAccount next to usage * Simplify account refresh logic * Extract setupPublicAgentState() * Collapse setStates into one * Ignore events from stale agents * Use agent from state * Remove clearCurrentAccount * Move state to a reducer * Remove global agent * Fix stale agent reference in create flow * Proceed to onboarding even if setting date fails --------- Co-authored-by: Eric Bailey <git@esb.lol>
* Improve localization marks (#3285)Minseo Lee2024-05-063-23/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update Lightbox.tsx * Change strings for easier localization * Update DeleteAccount.tsx * Update LabelsOnMeDialog.tsx * Update FeedCard.tsx * Update index.tsx * Update LabelsOnMeDialog.tsx * Update index.tsx * Update FeedCard.tsx * Update SelfLabel.tsx * Update Hashtag.tsx * Update index.tsx * Update Hashtag.tsx * Update ChangeHandle.tsx * Update index.web.tsx * Update index.web.tsx * Update index.tsx * Remove unnecessary `<Trans>` tags * Update Drawer.tsx
* add missing cropImageUtil filePiotr P2024-04-271-0/+13
|
* hide alternative ratio buttons when using custom ratioPiotr P2024-04-271-30/+34
|
* allow for custom cropper aspect ration based on imagePiotr P2024-04-271-5/+25
|
* [Session] Add `useAgent` hook and replace (#3706)Eric Bailey2024-04-256-28/+37
| | | | | | | | | | | * Hook it up * Memoize getAgent method * Use one shared reference --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Email auth factor (#3602)Paul Frazee2024-04-221-14/+22
| | | | | | | | | | | | | | | * Add email 2fa toggle * Add UI elements needed for 2fa codes in login * Wire up to the server * Give a better failure message for bad 2fa code * Handle enter key in login form 2fa field * Trim spaces * Improve error message
* Use ALF for the embed consent modal (#3336)Samuel Newman2024-04-093-179/+18
|
* properly import linear gradient (#3423)Hailey2024-04-059-9/+9
|
* migrate to `expo-linear-gradient` (#3420)Hailey2024-04-049-96/+104
| | | | | | | | | * replace packages * rm useless alias from webpack config * fix accidental double commit * replace all usages
* migrate to `expo-clipboard` (#3419)Hailey2024-04-043-53/+54
| | | | | * replace package * replace usages
* Open share sheet when long pressing link (#3317)Samuel Newman2024-04-041-14/+32
| | | | | | | | | | | | | | | | | | | | | * uitextview use library w/ fixes bump bump multiple uitextview fixes * bump * Open share sheet on link long press * rm package manager field * add link warning to longpress --------- Co-authored-by: Hailey <me@haileyok.com>
* Use ALF for the account quick switch dialog (#3327)Samuel Newman2024-04-032-173/+0
| | | | | | | | | | | * Use ALF for account quick switch * clean up modal type * add haptics to dialog opening * move account list to it's own component and share * make tick slightly darker
* apply bg color to entire scrollview (#3364)Samuel Newman2024-03-311-15/+14
|
* Fix problems with `BottomSheet` and the report dialog (#3297)Hailey2024-03-203-33/+34
| | | | | | | | | | | | | | | | | | | | | * use @discord/bottom-sheet * add @types/invariant * some progress on keyboard dialog * rework rework add a comment use discord bottom sheet * remove `@gorhom/bottom-sheet` * remove android specific code * organize imports
* [Statsig] Track login/logout (#3286)dan2024-03-191-2/+4
| | | | | * [Statsig] Track login/logout * Fix missing attribution
* Merge branch 'patch-3' of https://github.com/quiple/social-app into ↵Paul Frazee2024-03-197-40/+44
|\ | | | | | | quiple-patch-3
| * Merge remote-tracking branch 'upstream/main' into patch-3Minseo Lee2024-03-1910-1240/+0
| |\
| * | Update Modal.tsxMinseo Lee2024-03-161-1/+1
| | |
| * | Update Modal.tsxMinseo Lee2024-03-161-1/+3
| | |
| * | Update Modal.tsxMinseo Lee2024-03-161-6/+6
| | |
| * | Update ReasonOptions.tsxMinseo Lee2024-03-161-2/+2
| | |
| * | Update ReasonOptions.tsxMinseo Lee2024-03-161-21/+24
| | |
| * | Merge branch 'bluesky-social:main' into patch-3Minseo Lee2024-03-164-161/+9
| |\ \
| * \ \ Merge branch 'bluesky-social:main' into patch-3Minseo Lee2024-03-133-141/+2
| |\ \ \
| * \ \ \ Merge branch 'bluesky-social:main' into patch-3Minseo Lee2024-03-103-197/+0
| |\ \ \ \
| * | | | | Update ChangePassword.tsxMinseo Lee2024-02-271-1/+3
| | | | | |
| * | | | | Update ChangePassword.tsxMinseo Lee2024-02-271-1/+1
| | | | | |
| * | | | | Update src/view/com/modals/LinkWarning.tsxMinseo Lee2024-02-151-1/+1
| | | | | | | | | | | | | | | | | | Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
| * | | | | Update src/view/com/modals/LinkWarning.tsxMinseo Lee2024-02-151-1/+1
| | | | | | | | | | | | | | | | | | Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
| * | | | | Mark more texts for localizationMinseo Lee2024-02-1410-43/+48
| | | | | |
* | | | | | Use consistent avatar shape/defaults for labelers (#3257)Eric Bailey2024-03-193-3/+11
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add type: labeler to easy spots * Search and ProfileCard * Filter out of suggested follows * ComposeReplyTo * PReviewable avatar in posts * Lists * PostMeta * Notifications * Autocomplete * Straggler * Bump sdk