about summary refs log tree commit diff
path: root/src/state/models
Commit message (Collapse)AuthorAgeFilesLines
* [APP-720] Paginate custom feeds (#1030)Ansh2023-07-211-3/+36
| | | | | | | * paginate custom feeds * Fix loading state bug * DRY code up
* [APP-775] Add Welcome screen after account creation (#1038)Ansh2023-07-193-3/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* wrap interval in runInAction (#1037)Eric Bailey2023-07-191-2/+4
|
* #984 Updating `indexedAt` timestamps (#1024)Eric Bailey2023-07-191-0/+9
| | | | | | | | | * add TimeElapsed util component, integrate into PostThreadItem * integrate into posts * use consistent naming * use mobx and single interval for TimeElapsed
* Fixes and improvements to the Profile Preview modal (#992)Paul Frazee2023-07-071-0/+18
| | | | | | | | | | | | | * Fix: use more reliable navigation method * Fix: show lightbox over the active modal * Fix: close the profile preview on navigation * Factor out UserPreviewLink and add preview behavior to notifications * Fix postmeta overflow on web * Fix lint
* Post UI updates (Profile Preview on mobile) (#990)Paul Frazee2023-07-061-0/+6
| | | | | | | | | | | | | | | | | | | | | | | * 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
* [APP-735] Post language improvements (#982)Paul Frazee2023-07-061-0/+4
| | | | | | | | | | | | | | | | | * Fix composer character-counter bouncing around UI elements * Fix composer toolbar padding when keyboard is dismissed on iOS * Use the full name of the language in the composer footer * Add headings to the DropdownButton * Update the composer language control to use a simpler dropdown * Fix lint * Add translate link to Post component used in notifications * Fix lint
* [APP-702] Render Custom Feed likes properly (#980)Ansh2023-07-051-1/+7
| | | | | | | | | * render href for custom feed likes properly * fix custom feed text in push notification * fix custom feed accessibility title * fix lint
* track successful account creation (#955)Ansh2023-07-031-0/+2
|
* Fix reply-root reference (fixes thread muting) (#957)Paul Frazee2023-07-032-2/+3
|
* Add alt text validation option to user preferences (supersedes #913) (#914)Paul Frazee2023-07-032-0/+17
| | | | | | | | | | | | | * Add alt text validation option to user preferences * Fix typos/linting issues * Update accessibility setting to match styles * Update the required alt text reminder to go away once it's added --------- Co-authored-by: Emma Fuller <emma@emmafuller.dev>
* [APP-708] Onboarding revamp (#939)Ansh2023-07-021-1/+1
| | | | | * Move Discover New Feeds button to the top of the MultiFeed * add discover custom feeds to empty following page
* Performance improvement (#937)Paul Frazee2023-07-011-5/+3
| | | | | | | * Perf: Wait until a feed is visible in the home screen before fetching data * perf: update feed checkForLatest to use limit=1 * Fix lint
* Fix thread muting (#932)Paul Frazee2023-06-301-1/+2
|
* Include a notice during account creation for under-18 users (#927)Paul Frazee2023-06-301-1/+9
|
* [APP-705] Metrics revamp pt2 (#896)Ansh2023-06-2711-368/+375
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * export track function from analytics.tsx * fix create account tracking * fix tracking sign in * add custom feed events * fix type errors * refactor create post event * add profile follow & unfollow events * refactor PostsFeedSliceModel into its own file * refactor PostThreadItemModel into its own file * reorganize code a lil bit * refactor post-thread-item to use post-feed-item model under the hood * add post events * add post reply tracking * track custom feed load more * track list subscribe and unsubscribe
* make discard btn more apparent in UI (#912)Ansh2023-06-261-0/+3
|
* [APP-657] Add share list functionality (#863)Ansh2023-06-261-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * replace delete list button text with icon * fix mute list styling on desktop * add share button to nav bar on a list * fix styling when on profile * bug: add key to ImageHorzList * clean up code & refactor * fix styling for ListItems * create a reusable ListActions component for actions on a list * remove dead styles * add keys to ListActions * add helpers to set list embed * render list embeds * fix list sharing on web * make style prop optional in ListCard * update `@atproto/api` to `0.3.13`
* [APP-690] better handling of post languages language filtering (#893)Ansh2023-06-232-10/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Bump @types/react to ^18 and adjust types (#889)Logan Rosen2023-06-221-7/+19
|
* feat: add home feed preferences settings modal and tunersEric Bailey2023-06-163-1/+66
|
* Add testnet warning (#880)Paul Frazee2023-06-141-0/+8
| | | | | | | * Add testnet warning * Add watermarks to posts * Call the test environment the Sandbox
* add error handling to updateCache for saved-feeds (#878)Ansh2023-06-141-9/+19
|
* Add temporary appview-proxy header toggle (#874)Paul Frazee2023-06-131-0/+6
|
* Use expo-image-picker on Web (#847)Logan Rosen2023-06-061-1/+1
|
* Move suggested follow recommendations to the server (#836)Paul Frazee2023-06-021-22/+27
| | | | | | | | | * Move suggested follow recommendations to the server * fix search results color in dark mode --------- Co-authored-by: Ansh Nanda <anshnanda10@gmail.com>
* Fix a bunch of type errors and add a type-check to the github workflows (#837)Paul Frazee2023-06-026-30/+77
| | | | | | | | | | | | | | | * 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>
* More custom-feed behavior fixes [APP-678] (#831)Paul Frazee2023-06-022-38/+22
| | | | | | | | | | | | | | | | | | | | | * Remove extraneous custom-feed health check * Fixes to custom feed preference sync * Fix lint * Remove dead code (client-side suggested posts constructor) * Enforce the feed-fetch limit in the client if the generator fails to observe the parameter * Bump the number of items fetched in the multifeed per feed from 5 to 10 * Reset the currently active feed when the pinned feeds change * Some fixes to icons * Add a prompt to load latest to the multifeed * Remove debug
* Fixes to feed preference and state sync [APP-678] (#829)Paul Frazee2023-06-014-136/+160
| | | | | | | | | * Remove extraneous custom-feed health check * Fixes to custom feed preference sync * Fix lint * Fix to how preferences are synced to enable membership modifications
* Merge branch 'main' into inherit_system_themeJaz2023-05-3018-435/+1379
|\
| * Rework scaled dimensions and compression (#737)Ollie H2023-05-303-88/+114
| | | | | | | | | | | | | | | | | | * Rework scaled dimensions and compression * Unbreak image / banner uploads --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
| * Spelling (#772)Josh Soref2023-05-303-9/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * spelling: account Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: activated Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: additional Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: appropriate Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: bskyweb Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: description Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: display Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: highlighted Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: javascript Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: locally-hosted Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: notification Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: occurring Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: parenthetical Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: preexisting Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: prefetched Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: punctuation Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: simplicity Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --------- Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
| * error for custom feed when it is not valid or offlienAnsh Nanda2023-05-251-0/+17
| |
| * add empty state for custom feedAnsh Nanda2023-05-251-0/+8
| |
| * Add feeds tabPaul Frazee2023-05-253-265/+486
| |
| * rename Algos to Feeds on profileAnsh Nanda2023-05-251-1/+1
| |
| * Update load latest to show when there's new activity with an indicatorPaul Frazee2023-05-251-1/+3
| |
| * Add feed discovery pagePaul Frazee2023-05-241-0/+97
| |
| * slight performance improvementsAnsh Nanda2023-05-233-2/+26
| |
| * add button to reset preferences in dev modeAnsh Nanda2023-05-231-0/+32
| |
| * update pinned feed from custom feed viewAnsh Nanda2023-05-221-2/+8
| |
| * optimistic updates for liking custom feedsAnsh Nanda2023-05-221-12/+24
| |
| * Only show algos and lists on profiles if there are itemsPaul Frazee2023-05-181-8/+9
| |
| * Fix lintPaul Frazee2023-05-182-2/+0
| |
| * Drop the hard-coded what's hot algoPaul Frazee2023-05-181-54/+2
| |
| * Set default feedsPaul Frazee2023-05-181-2/+32
| |
| * Update saved feeds to use preferencesPaul Frazee2023-05-185-44/+62
| |
| * Store/sync pinned feeds on the serverPaul Frazee2023-05-183-153/+138
| |
| * Improve pinned feed managementPaul Frazee2023-05-171-1/+1
| |
| * Usability improvements to feedsPaul Frazee2023-05-171-10/+10
| |