* Perform some trivial TypeScript migrations.
No changes needed to convert these files.
* Remove unused comments
---------
Co-authored-by: Johannes Klein <johannes.t.klein@gmail.com>
* Migrate `ErrorBoundary` boundary to TypeScript.
* Extend from PropsWithChildren
---------
Co-authored-by: Johannes Klein <johannes.t.klein@gmail.com>
* MOB-860 - empty states for user's followers/following/projects screens
* Also expose isFetching from users list query
* Render either activity indicator or zero data component
* Render either activity indicator or zero data component
* Fix for: 0 is falsey
* Remove useCallback
---------
Co-authored-by: Johannes Klein <johannes.t.klein@gmail.com>
* Migrate `RotatingINatIconButton` component to TypeScript.
* Let functional component return type be inferred
* Change Props to an interface
* Extend Props from PropsWithChildren
* Import as type
---------
Co-authored-by: Johannes Klein <johannes.t.klein@gmail.com>
* Update package.json
* Update AppDelegate.mm
* Update Podfile
* Update .gitignore
* Update link-inat-model-files.sh
* Add plist file to project
* Update project.pbxproj
* Add analytics package
* Update project.pbxproj
* Update PrivacyInfo.xcprivacy
* Basic screen tracking
* Basic button press logging to firebase
* Update package-lock.json
* Update Podfile.lock
* Add Android setup
* Update .gitignore
* Add analytics mock
* Ignore rubocop warning here
* Create GoogleService-Info.example.plist
* Create google-services.example.json
* Add instructions to set up Firebase configs
* Update e2e_ios.yml
* Update e2e_android.yml
* Better plural
* Use specific XCode version in e2e CI
* Update GoogleService-Info.example.plist
* Revert "Update GoogleService-Info.example.plist"
This reverts commit 0bc0ed4862.
* We need an actual real app id or we get a crash during app start
* My bad, we do need both files for building
* Also set API key
* Add comments
* Add comment
* Update Podfile.lock
* Revert "Use specific XCode version in e2e CI"
This reverts commit cbd63d1b5d.
By doing this, TypeScript will now resolve the types of the imports to the actual library, instead of the packaged stubbed to `any`.
Prior to this change `npx tsc` reported 1121 errors. After this change, `npx tsc` reports 797 errors.
* Rename file without changes
* Revert "Rename file without changes"
This reverts commit a3de5e100d.
* Rename file without changes
* Refactor InlineUserBase to TS
* Update component Props
* Import as type
* Check if the user displayed is the current user and if so
also display the user image while offline.
* Update src/components/SharedComponents/InlineUser/InlineUserBase.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update InlineUser.test.js
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>