about summary refs log tree commit diff
path: root/src/view/screens/Settings
Commit message (Collapse)AuthorAgeFilesLines
* Make settings account buttons a little nicer (#4980)Eric Bailey2024-08-221-30/+41
| | | | | | | | | | | * Replace account dropdown with Menu * Replace card row and add interaction state * Remove testID copy pasta * Sanitize handle * Remove hover from row
* Move global "Sign out" out of the current account row (#4941)dan2024-08-151-27/+38
| | | | | | | | | | | | | | | | | | | | | | | * Rename logout to logoutEveryAccount * Add logoutCurrentAccount() * Make all "Log out" buttons refer to current account Each of these usages is completely contextual and refers to a specific account. * Add Sign out of all accounts to Settings * Move single account Sign Out below as well * Prompt on account removal * Add Other Accounts header to reduce ambiguity * Spacing fix --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Improve styles (#4916)Minseo Lee2024-08-111-1/+1
| | | | Co-authored-by: Hailey <me@haileyok.com>
* [Persisted] Fork web and native, make it synchronous on the web (#4872)dan2024-08-061-18/+1
| | | | | | | | | | | | | | | | | | | * Delete logic for legacy storage * Delete superfluous tests At this point these tests aren't testing anything useful, let's just get rid of them. * Inline store.ts methods into persisted/index.ts * Fork persisted/index.ts into index.web.ts * Remove non-essential code and comments from both forks * Remove async/await from web fork of persisted/index.ts * Remove unused return * Enforce that forked types match
* Move theme controls to its own screen (#4866)Samuel Newman2024-08-011-68/+27
|
* Add labels to a few missing places (#4838)Eric Bailey2024-07-251-0/+1
|
* Replace `import hairlineWidth =` with const (#4831)Samuel Newman2024-07-251-3/+2
| | | | | | | | | * 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-231-1/+1
| | | | | | | | | | | | | * 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>
* Fix RTL text rendering for display names (#4747)Hailey2024-07-081-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | * header display name rtl support * highlighted post rtl * move `NON_BREAKING_SPACE` to an external constant * rtl support in search dropdown * profile card rtl * old profile card rtl * hover card * wizard list card * new chat * account card * chat header * clean up notifications * just force LTR on meta display name
* Guided tour for new users (#4690)Paul Frazee2024-07-021-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add home guided tour (WIP) * Add web handling of the tour * Switch to our fork of rn-tourguide * Bump guided-tour * Fix alignment on android * Implement home page tour trigger after account creation * Add new_user_guided_tour gate * Add a title line to the tour tooltips * A11y improvements: proper labels, focus capture, scroll capture * Silence type error * Native a11y * Use FocusScope * Switch to useWebBodyScrollLock() --------- Co-authored-by: Eric Bailey <git@esb.lol>
* [🙅] Disambiguation of the deactivation (#4267)Eric Bailey2024-06-041-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* truncate if extending one line acct switcher (#4310)Hailey2024-06-031-3/+3
|
* Change many border widths from `1` to `hairlineWidth` (#4294)Hailey2024-05-311-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feed items * update some more * moar * profile card * composer and notifications * settings screen * remove border from first item in feeds * remove border from first item in feeds * more removal of top border * fix flatlist rendering * oops * scroll to top fab * a.border * centeredview/list * placeholder * web sidebar * search posts * feeds list * user lists * list header * account list width 1 * hide top border feedgens * same for lists * fix tab bar web desktop * wait... * show the border on desktop web * fix lists * fix lists * round
* Replace getAgent() with reading agent (#4243)dan2024-05-283-11/+10
| | | | | * Replace getAgent() with agent * Replace {agent} with agent
* [🐴] add link to chat settings from main settings (#4197)Samuel Newman2024-05-231-0/+25
| | | | | | | * add link to chat settings from main settings * move to beneath saved feeds weird ass diff on this commit lol
* expand the background color to cover the overscroll area on settings screen ↵Pokai Chang2024-05-211-2/+1
| | | | (#4101)
* [🐴] NUX (#4062)Samuel Newman2024-05-171-0/+13
| | | | | | | | | | | | | | | | | | | | | | | * remove type assertion * DMs NUX * delete button for testing * tweak styles and copy * rm log * style tweaks * reduce amount of words * Fix not showing on first load * Spacing tweaks --------- Co-authored-by: Eric Bailey <git@esb.lol>
* ✅ Fix "Download CAR file" on mobile (#3816)Matthieu Sieben2024-05-121-42/+44
| | | | | | | | | | | | | | | | | | | | | | | | | * download CAR file using AtpAgent instead of building URL * add loader icon on download car button * actually save to disk on android * style nits * bottom margin nit * localize toast * remove fallback so back button works correctly * keep throwing an error if mime type isn't used * be more explicit with toasts * send errors to sentry when encountered --------- Co-authored-by: Hailey <me@haileyok.com>
* Replace updateCurrentAccount() with refreshSession() (#3910)dan2024-05-082-9/+5
| | | Replace updateCurrentAccount() with resumeSession()
* add bundle identifiers to app-info (#3861)Hailey2024-05-041-19/+11
| | | | | | | | | | | | | * add bundle identifiers to `app-info` * add them to the `.env.example` * add environment variables for docker build * add environment variables for native builds and bundles * also include the hour in bundle date * organize app info better in settings
* make service url gate friendlier (#3841)Samuel Newman2024-05-031-24/+0
|
* Improve account switcher pending state (#3827)dan2024-05-021-59/+60
| | | | | | | | | * Protect against races * Reduce UI jank when switching accounts * Add pending state to selected account * Disable presses while pending
* [Session] Extract selectAccount out (#3812)dan2024-05-021-6/+26
|
* [Clipclops] New clipclop dialog (#3750)Samuel Newman2024-04-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add new routes with placeholder screens * add clops list * add a clop input * add some better padding to the clops * some more adjustments * add rnkc * implement rnkc * implement rnkc * be a little less weird about it * rename clop stuff * rename more clop * one more * add codegenerated lexicon * replace hailey's types * use codegen'd types in components * fix error + throw if fetch failed * remove bad imports * update messageslist and messageitem * import useState * replace hailey's types * use codegen'd types in components * add FAB * new chat dialog * error + default search term * fix typo * fix web styles * optimistically set chat data * use cursor instead of last rev * [Clipclops] Temp codegenerated lexicon (#3749) * add codegenerated lexicon * replace hailey's types * use codegen'd types in components * fix error + throw if fetch failed * remove bad imports * update messageslist and messageitem * import useState * add clop service URL hook * add dm service url storage * use context * use context for service url (temp) * remove log * cleanup merge * fix merge error * disable hack * sender-based message styles * temporary filter * merge cleanup * add `hideBackButton` * rm unneeded return * tried to be smart * hide go back button * use `searchActorTypeahead` instead --------- Co-authored-by: Hailey <me@haileyok.com>
* [Clipclops] Add screen to view and send clip clops (#3754)Hailey2024-04-291-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add new routes with placeholder screens * add clops list * add a clop input * add some better padding to the clops * some more adjustments * add rnkc * implement rnkc * implement rnkc * be a little less weird about it * rename clop stuff * rename more clop * one more * [Clipclops] Temp codegenerated lexicon (#3749) * add codegenerated lexicon * replace hailey's types * use codegen'd types in components * fix error + throw if fetch failed * remove bad imports * update messageslist and messageitem * import useState * add clop service URL hook * add dm service url storage * use context * use context for service url (temp) * remove log * nits --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
* [Session] Add `useAgent` hook and replace (#3706)Eric Bailey2024-04-253-5/+8
| | | | | | | | | | | * Hook it up * Memoize getAgent method * Use one shared reference --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Remove Moderation from sidebar (#3692)dan2024-04-241-38/+38
|
* Quick fix to ensure disable 2fa dialog adjusts to keyboard (#3658)Paul Frazee2024-04-221-1/+2
|
* Email auth factor (#3602)Paul Frazee2024-04-223-0/+263
| | | | | | | | | | | | | | | * 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
* Add disable autoplay preference and group related settings into a dedicated ↵Samuel Newman2024-04-191-42/+29
| | | | | | | | | | | | | | | page (#3626) * add autoplay preference * group accessibility settings into a dedicated page * fix gray background on web * Put a11y first --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* PWI improvements (#3489)Paul Frazee2024-04-121-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Enable home and feeds on the PWI * Add global SigninDialog to drive useRequireAuth() * Tweak desktop styles * Make the logo in leftnav PWI a clickable home link * Add label * Improve dialog on web * Fix query key * Go to home after signout from settings screen * Filter out feeds from the discover listing for logged out users which are known to break without auth * Update profile header follow/subscribe to give signin prompt * Show profile feeds tabs on pwi * Add language selector to account creation footer and pwi left nav desktop --------- Co-authored-by: dan <dan.abramov@gmail.com>
* Improve Android haptic, offer toggle for haptics in the app (#3482)Hailey2024-04-111-64/+20
| | | | | | | | | | | | | | | * improve android haptics, offer toggle for haptics * update haptics.ts * default to false * simplify to `playHaptic` * just leave them as `feedInfo` * use a hook for `playHaptic` * missed one of them
* Enforce that text is wrapped in <Text>, remaining cases (#3421)dan2024-04-051-1/+3
| | | | | | | | | | | | | | | | | | | | | * Toggle.Button -> Toggle.ButtonWithText * Simplify Prompt.Cancel/Action * Move lines down for better diff * Remove ButtonWithText * Simplify types * Enforce Button/ButtonText nesting * Add suggested wrapper in linter error * Check <Trans> ancestry too * Also check literals * Rm ts-ignore
* migrate to `expo-clipboard` (#3419)Hailey2024-04-041-2/+2
| | | | | * replace package * replace usages
* Enforce Text suffix for Text-rendering components (#3407)dan2024-04-041-7/+7
| | | | | | | | | | | * Rm unused * Add Text suffix to Title/Description * Add Text suffix to text components * Add Text suffix to props * Validate Text components returns
* Add OTA updates support for `testflight` channel (#3291)Hailey2024-04-031-44/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * some progress another adjustment, testing another adjustment, testing fix again fix again set default runtime version fix test this script test this script test this script add build numbers to the deployment url clean give script access to build number add `useBuildNumberEnv` without a bump new line fix missing async add channel name to deployment url add updates check on launch for testflight users ver bump init updates on launch for native add `testflight` as default in build submit add is_testflight check * disable inline predictions to prevent ios composer jank * temp bump * Revert "temp bump" This reverts commit 44c51134a35d817c73edb1e635495597c95117b3. * adjustments version bump adjust fixes test * cleanup and finalize drop check down to every 15 minutes adjustments change to 15 mins use jq to get version if necessary rm test on push figured it out remove nightly testflight releases test again again again again again AGAIN ONCE MORE test again again again again again AGAIN test again again again again again AGAIN test again again again again again test again again again again test again again again test again again test again test test test run deploy if necessary run deploy if necessary run deploy if necessary run deploy if necessary run deploy if necessary remove test message fix environment oops cleanup merge in changes * remove unnecessary `workflow_call` * remove changes that have been merged into main now * finalize android update git ignore rm test stuff from the bundle action remove test message test message fix test message test message few android fixes few android fixes fix jq add a test message fix slack webhook create android deployments test 2 create android deployments add `testflight-android` profile to eas.json more cleanup some more cleanup simplify some logic remove unnecessary channel rename to `useOTAUpdates` * rm test portion
* [Statsig] Track login/logout (#3286)dan2024-03-191-2/+6
| | | | | * [Statsig] Track login/logout * Fix missing attribution
* Fix typos and clarify two `accessibilityHint`s (#2923)surfdude292024-03-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | * Clarify accessibilityHint in Settings * Fix typo in ModerationMutedAccounts.tsx * Fix typo in ModerationBlockedAccounts.tsx * fix lint error in ModerationMutedAccounts.tsx * try again * fix lint error in index.tsx * try again * Update index.tsx * Update index.tsx --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
* Merge branch 'patch-3' of https://github.com/quiple/social-app into ↵Paul Frazee2024-03-192-25/+31
|\ | | | | | | quiple-patch-3
| * Merge remote-tracking branch 'upstream/main' into patch-3Minseo Lee2024-03-191-0/+14
| |\
| * \ Merge branch 'bluesky-social:main' into patch-3Minseo Lee2024-03-161-2/+16
| |\ \
| * | | Update src/view/screens/Settings/index.tsxMinseo Lee2024-03-061-1/+1
| | | | | | | | | | | | Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
| * | | Update src/view/screens/Settings/index.tsxMinseo Lee2024-03-061-1/+1
| | | | | | | | | | | | Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
| * | | Merge branch 'bluesky-social:main' into patch-3Minseo Lee2024-02-241-4/+4
| |\ \ \
| * \ \ \ Merge branch 'bluesky-social:main' into patch-3Minseo Lee2024-02-221-1/+1
| |\ \ \ \
| * | | | | Update ExportCarDialog.tsxMinseo Lee2024-02-161-1/+2
| | | | | |
| * | | | | Update index.tsxMinseo Lee2024-02-161-1/+1
| | | | | |
| * | | | | Update index.tsxMinseo Lee2024-02-151-1/+3
| | | | | |
| * | | | | Update index.tsxMinseo Lee2024-02-151-9/+10
| | | | | |
| * | | | | Update src/view/screens/Settings/index.tsxMinseo Lee2024-02-151-1/+1
| | | | | | | | | | | | | | | | | | Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>