History log of /expo/home/api/ApolloClient.ts (Results 1 – 13 of 13)
Revision Date Author Comments
# 59c27971 14-Sep-2023 Will Schurman <[email protected]>

[home] Fix apollo auth link spread ordering (#24435)


# cd926c41 14-Aug-2023 Will Schurman <[email protected]>

[home] Make apollo client setup on login consistent with website (#23946)


# 8a424beb 11-Aug-2023 James Ide <[email protected]>

[lint] Upgrade to Prettier v3, typescript-eslint to v6 (#23544)

Why
---
Prettier 3 is out. Add support for it with this linter config.

**Note for reviewer:** the first commit is the one with th

[lint] Upgrade to Prettier v3, typescript-eslint to v6 (#23544)

Why
---
Prettier 3 is out. Add support for it with this linter config.

**Note for reviewer:** the first commit is the one with the actual
changes. The rest of this PR are changes to get the linter passing
(mostly autofix).

How
---
Update eslint-config-prettier and eslint-plugin-prettier. To address
deprecation warnings, also update typescript-eslint/parser and
typescript-eslint/eslint-plugin.
Because of an update to typescript-eslint/parser, we need to suppress
deprecation warnings (documented in a comment).

Regenerated test snapshots. Due to the upgraded dependencies, typecasts
and optional chaining are now auto-fixable by lint. This converts
warnings into autofixes.

Test Plan
---
`yarn test` in the linter config. Run `expotools check --all --fix-lint
--no-build --no-test --no-uniformity-check` to try this config on the
whole repo.

---------

Co-authored-by: Expo Bot <[email protected]>

show more ...


# 4dde4257 14-Jun-2023 Will Schurman <[email protected]>

[home] Add support for SSO users (#22863)


# 1f402b4e 29-Jan-2023 Juwan Wheatley <[email protected]>

[home] remove InfiniteScrollView and use FlatList-native infinite scroll props (#20914)

# Why

`InfiniteScrollView` is a legacy module from when Expo Go used
`ListView`, which didn't have props f

[home] remove InfiniteScrollView and use FlatList-native infinite scroll props (#20914)

# Why

`InfiniteScrollView` is a legacy module from when Expo Go used
`ListView`, which didn't have props for detecting end-of-list position
for infinite scrolling purposes. We want to remove that module in this
SDK release.

# How

Since we were already using `FlatList`, it was easy to simply remove
`InfiniteScrollView` and use the `FlatList` props that serve our
purposes.

On top of replacing `InfiniteScrollView` prop usage, I followed the
warnings in Apollo Client telling me that `updateQuery` is deprecated in
favor of `typePolicies`, so I used their pagination helpers to achieve
the same effect cache updating effect we had before.

# Test Plan

I opened the projects and snacks lists in Expo Go with this code running
locally to make sure lists updated correctly and there were no more
Apollo client warnings:


https://user-images.githubusercontent.com/12488826/213896603-09b11640-c417-4f3b-9078-1af50da54979.mov

I don't have any projects with enough branches to paginate, but it
should behave the same as the other two lists.

show more ...


# 7f252a06 25-Mar-2022 Juwan Wheatley <[email protected]>

[home] add account switcher modal (#16716)

* [home] add modal for account screen

* use normal navigation pattern for android

* move to rootstack to get proper modals on iOS

* save - todo: r

[home] add account switcher modal (#16716)

* [home] add modal for account screen

* use normal navigation pattern for android

* move to rootstack to get proper modals on iOS

* save - todo: redesign logged out view

* get auth working

* update log out button to match designs

* move account name logic into custom provider

* address refactoring feedback

* set initial data before splash screen hides and dismiss account modal after logging in

* lint

show more ...


# 6da15324 27-Aug-2021 Bartosz Kaszubowski <[email protected]>

[eslint-config] bump dependencies and minimum required lint tools versions (#13858)

Co-authored-by: James Ide <[email protected]>


# ea70edb1 19-May-2021 Will Schurman <[email protected]>

[home] Generate graphql using graphql-codegen (#12898)


# e7a398eb 20-Oct-2020 Hein Rutjes <[email protected]>

[home] Support staging environment (#10689)

* [home] Support staging environment

* keep exp.host

* rename api.url to api.origin


# 574a4e86 03-Aug-2020 Evan Bacon <[email protected]>

[home] Add an experience screen (#9520)

* [WIP] Created experience screen for expired apps

* Convert link tokens

* Add more navigation

* Use blurry modal for experience

* Use new expired

[home] Add an experience screen (#9520)

* [WIP] Created experience screen for expired apps

* Convert link tokens

* Add more navigation

* Use blurry modal for experience

* Use new expired SDK icon from @jonsamp

* Updated icons and style

* Fix share button

* Updated sdk treatment

* Clean up Android

* Fix explore tab sdkVersion

* Improve legibility on Android

* Update ListItem.tsx

* Fix bugs

* Adjust image size for content

fix lint issues

* Update useSDKExpired.ts

* Fix start project button

* Fix bug with long pressing dev project items

show more ...


# b42e39db 29-Jul-2020 Evan Bacon <[email protected]>

[home][chore] Upgrade Apollo (#9435)

* Migrate UrlUtils to TypeScript

* Migrate requestCameraPermissionsAsync to TypeScript

* Migrate ExploreTab to TypeScript

* Use apollo hooks for explore

[home][chore] Upgrade Apollo (#9435)

* Migrate UrlUtils to TypeScript

* Migrate requestCameraPermissionsAsync to TypeScript

* Migrate ExploreTab to TypeScript

* Use apollo hooks for explore tab

* Use apollo hooks for profile tab

* Use apollo hooks for projects list

* Use apollo hooks for snacks list

* Refactor ProjectsList

* Refactor Profile

* Upgrade apollo

* Refactor explore tab

* Removed unused code

* Fixup lint warnings

* Update ProjectTools.tsx

show more ...


# 3bfa4905 16-Jun-2020 James Ide <[email protected]>

[home] Fix up many lint warnings

Ran yarn test and yarn lint (still a few warnings) to verify most have been fixed.


# d89649cf 02-May-2019 James Ide <[email protected]>

[home] Migrate App.js and api directory to TypeScript

This moves parts of Home over to TypeScript. Moving everything will take considerably more work, especially, around React components, so startin

[home] Migrate App.js and api directory to TypeScript

This moves parts of Home over to TypeScript. Moving everything will take considerably more work, especially, around React components, so starting simple for now.

Part of #4110.

Tested by loading Home and running Home tests.

show more ...