about summary refs log tree commit diff
path: root/src/screens
Commit message (Collapse)AuthorAgeFilesLines
* Use RichText for sp description (#4979)Eric Bailey2024-08-221-8/+13
| | | | | | | | | * Use RichText for sp description * `isRecord` above --------- Co-authored-by: Hailey <me@haileyok.com>
* Submit fix (#4978)dan2024-08-224-31/+45
| | | | | | | | | | | | | | | * Fix submit logic * Fix type * Align submit task creation 1:1 with callsites * blegh. `useThrottledValue` * make `useThrottledValue`'s time required --------- Co-authored-by: Hailey <me@haileyok.com>
* Change size (#4957)Hailey2024-08-215-52/+72
|
* Show quote posts (#4865)Samuel Newman2024-08-213-0/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * show quote posts * fix filter * fix keyExtractor * move likedby and repostedby to new file structure * use modern list component * remove relative imports * update quotes count after quoting * call `onPost` after updating quote count * Revert "update quotes count after quoting" This reverts commit 1f1887730a210c57c1e5a0eb0f47c42c42cf1b4b. * implement * update like count in quotes list * only add `onPostReply` where needed * Filter quotes with detached embeds * Bump SDK * Don't show error for no results --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com> Co-authored-by: Hailey <me@haileyok.com> Co-authored-by: Eric Bailey <git@esb.lol>
* Add `list hidden` screen (#4958)Hailey2024-08-201-0/+216
| | | | | Co-authored-by: Hailey <me@haileyok.com> Co-authored-by: Eric Bailey <git@esb.lol>
* Move global "Sign out" out of the current account row (#4941)dan2024-08-153-9/+9
| | | | | | | | | | | | | | | | | | | | | | | * 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>
* Upgrade API, implement XRPC rework (#4857)Hailey2024-08-121-1/+1
| | | | Co-authored-by: Matthieu Sieben <matthieu.sieben@gmail.com>
* Fix overflow on posts (#4899)Samuel Newman2024-08-081-1/+1
| | | | | | | | | | | | | | | | | * overflow posts, via contentHider * margin->padding for a bit more leeway * overflow notifications * overflow on header * revert from contenthider, put on text in all places * fix zalgo text in handle in composer --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* [Video] Visibility detection view (#4741)Hailey2024-08-071-0/+1
| | | | Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
* [Videos] Video player - PR #2 - better web support (#4732)Samuel Newman2024-08-071-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * attempt some sort of "usurping" system * polling-based active video approach * split into inner component again * click to steal active video * disable findAndActivateVideo on native * new intersectionobserver approach - wip * fix types * disable perf optimisation to allow overflow * make active player indicator subtler, clean up video utils * partially fix double-playing * start working on controls * fullscreen API * get buttons working somewhat * rm source from where it shouldn't be * use video elem as source of truth * fix keyboard nav + mute state * new icons, add fullscreen + time + fix play * unmount when far offscreen + round 2dp * listen globally to clicks rather than blur event * move controls to new file * reduce quality when not active * add hover state to buttons * stop propagation of videoplayer click * move around autoplay effects * increase background contrast * add subtitles button * add stopPropagation to root of video player * clean up VideoWebControls * fix chrome * change quality based on focused state * use autoLevelCapping instead of nextLevel * get subtitle track from stream * always use hlsjs * rework hls into a ref * render player earlier, allowing preload * add error boundary * clean up component structure and organisation * rework fullscreen API * disable fullscreen on iPhone * don't play when ready on pause * debounce buffering * simplify giant list of event listeners * update pref * reduce prop drilling * minimise rerenders in `ActiveViewContext` * restore prop drilling --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com> Co-authored-by: Hailey <me@haileyok.com>
* Respect labels on feeds and lists (#4818)Eric Bailey2024-08-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Prep * Pass in optional moderation to FeedCard * Compute moderation decision, filter contentList contexts, pass into card * Let's go a different route * Filter from within search queries * Use same search query for starter packs * Filter lists from profile tabs * Cleanup * Filter from profile feeds * Moderate post embeds * Memoize * Use ScreenHider on lists * Hide both list types * Fix crash on iOS in screen hider, fix lineheight * Memoize renderItem * Reuse objects to prevent re-renders
* Move theme controls to its own screen (#4866)Samuel Newman2024-08-011-0/+135
|
* Add labels to a few missing places (#4838)Eric Bailey2024-07-253-6/+25
|
* make some settings screens scrollable for accessibility (#4819)Hailey2024-07-241-3/+3
| | | | | * make settings scrollable for accessibility * nit
* Priority notifications (#4798)Samuel Newman2024-07-243-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * new settings screen * bring back the spinner * add experimental language * fix typo, change leading * integrate priority notifications API * update package * use refetch instead of invalidateQueries * fix read-after-write issue by polling for update * add spinner for initial load * rm onmutate, it's overcomplicated * set error state eagerly * Change language in description Co-authored-by: Hailey <me@haileyok.com> * prettier * add `Toggle.Platform` * extract out mutation hook + error state * rm useless cache mutation * disambiguate isError and isPending * rm unused isError --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com> Co-authored-by: Hailey <me@haileyok.com>
* Use appropriate icons for toasts (#4803)Samuel Newman2024-07-239-13/+17
| | | | | | | | | | | | | * 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>
* Remove invalid labelers when subscribing/unsubscribing (#4771)Eric Bailey2024-07-121-24/+26
| | | | | | | * Remove invalid labelers when subscribing/unsubscribing * Let the async lock cook * Use link to associate, leave copy as is
* Create shared preferences API (#4654)Hailey2024-07-111-0/+113
|
* Fix search hashtags by author (#4773)Eric Bailey2024-07-111-1/+1
|
* change `contentVisibility` to `contain` (#4752)Hailey2024-07-083-4/+4
|
* Fix RTL text rendering for display names (#4747)Hailey2024-07-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Remove broken and void back button (#4744)Josh2024-07-071-26/+0
|
* Add missing `to` in StarterPackScreen.tsx string (#4743)surfdude292024-07-061-1/+1
|
* New user progress guides (#4716)Paul Frazee2024-07-042-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add the animated checkmark svg * Add progress guide list and task components * Add ProgressGuide Toast component * Implement progress-guide controller * Add 7 follows to the progress guide * Wire up action captures * Wire up progress-guide persistence * Trigger progress guide on account creation * Clear the progress guide from storage on complete * Add progress guide interstitial, put behind gate * Fix: read progress guide state from prefs * Some defensive type checks * Create separate toast for completion * List tweaks * Only show on Discover * Spacing and progress tweaks * Completely hide when complete * Capture the progress guide in local state, and only render toasts while guide is active * Fix: ensure persisted hydrates into local state * Gate --------- Co-authored-by: Eric Bailey <git@esb.lol> Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Add starter pack embeds to posts (#4699)Hailey2024-07-041-20/+2
| | | | | | | | | | | | | | | | | | | | | | | * starter pack embeds * revert test code * Types * add `BaseLink` * precache on click * rm log * add a comment * loading state * top margin --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Guided tour for new users (#4690)Paul Frazee2024-07-021-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Don't follow self, blocks or mute when following all; don't show blocks in ↵Hailey2024-07-031-1/+8
| | | | | | | | | | | list (#4715) * don't follow self when following all * also filter blocks * add more filtering to follow all * extract logic to functions
* Make tab names translatable (#4724)Takayuki KUSANO2024-07-031-3/+4
|
* Unify label pills (#4676)Eric Bailey2024-07-031-1/+1
| | | | | | | | | | | | | | | * New label pills * Fix type errors, add default case * Remove negative margin, only works in some places * Fix alignment edge case * Add a bit of padding --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* Add music interest (#4722)Eric Bailey2024-07-021-0/+1
|
* Improve textinput performance in login and account creation (#4673)Paul Frazee2024-07-027-269/+357
| | | | | | | | | | | | | | | | | | | | | | | * Change login form to use uncontrolled inputs * Debounce state updates in account creation to reduce flicker * Refactor state-control of account creation forms to fix perf without relying on debounces * Remove canNext and enforce is13 * Re-add live validation to signup form (#4720) * Update validation in real time * Disable on invalid * Clear server error on typing * Remove unnecessary clearing of error --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* [D1X] Minimum interest experiment (#4653)Eric Bailey2024-07-021-2/+68
| | | | | | | | | | | | | | | | | | | * Change up copy * Add min # prompt * Improve style * Add gate * Tweak padding * Translate * Revert string change --------- Co-authored-by: dan <dan.abramov@gmail.com>
* Add events to signup for captcha results (#4712)Hailey2024-07-012-5/+12
|
* FeedCard & ListCard cleanups (#4644)Eric Bailey2024-06-281-1/+1
| | | | | | | | | | | | | | | * Extract ListCard from FeedCard * Export FeedCard.Action and optionally include in ListCard * Remove list dual usage from most of FeedCard * Update usages of FeedCard and ListCard * Add back list purpose logic * Make Action comp easier to use, clarify list purpose * Rename Action to SaveButton
* Revert animation change in signup (#4693)Hailey2024-06-273-26/+28
|
* Handle pushing to starterpack screen when unauthed (#4692)Hailey2024-06-274-106/+127
|
* Handle pressing all go.bsky.app links in-app w/ resolution (#4680)Hailey2024-06-272-10/+107
|
* Add some events to landing screen (#4664)Hailey2024-06-262-0/+10
|
* update follows when pressing follow all (#4663)Hailey2024-06-262-4/+22
|
* [Starter Packs] Posts tab (#4660)dan2024-06-271-6/+22
| | | | | * [Starter Packs] Posts tab * oops
* [D1X] Onboarding interest display names (#4657)Eric Bailey2024-06-263-35/+44
| | | | | | | * Translate interest names in onboarding * Add comment * Do it the normal way
* Refactor nested conditions in the starter pack wizard (#4652)dan2024-06-261-80/+91
| | | | | | | * Refactor condition nesting by screen * Inline indexes * More explicit conditions
* Fix footer messages in starter pack wizard (#4650)Takayuki KUSANO2024-06-261-47/+69
| | | | | | | | | | | | | | | | | | | | | * Fix footer messages in StarterPack wizard and updates ja messages * Updates to minimize diff * Revert "Updates to minimize diff" This reverts commit 4d1dfe131a5ffc31fc5e6162dbcc90e77e042734. * Revert "Fix footer messages in StarterPack wizard and updates ja messages" This reverts commit 9a90898abc66c281f44696347043ce5da5859d60. * Fix labels for plurals in starter packs * Update translations --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
* disable enabling adult content on iOS (#4651)Samuel Newman2024-06-261-1/+25
|
* explicitly filter out labelers (#4629)Hailey2024-06-242-18/+24
|
* Clicky newsky androidy (#4627)Eric Bailey2024-06-241-2/+2
| | | | | | | | | * Clicky newsky androidy * tweak --------- Co-authored-by: Hailey <me@haileyok.com>
* Add borders around starter pack landing page when tablet or deskto (#4626)Paul Frazee2024-06-241-6/+21
|
* Disable clicks on profile cards on starter pack lander (#4621)Eric Bailey2024-06-241-0/+1
|
* add rich text facets to description (#4619)Hailey2024-06-242-7/+12
|
* Set up the global 'joined this week' (#4625)Paul Frazee2024-06-241-19/+19
|