Commit Graph

4199 Commits

Author SHA1 Message Date
Johannes Klein
39e97fe7d2 Fix crash because of named import 2024-04-19 23:39:10 +02:00
Johannes Klein
dc7269aa7a v0.31.2+87 v0.31.2+87 2024-04-19 20:28:24 +02:00
Johannes Klein
e627a7dec9 Bump version 2024-04-19 20:23:22 +02:00
Johannes Klein
35257acbd8 Upgrade RN 2024-04-19 20:14:24 +02:00
Johannes Klein
c8d06d0a72 Reapply "Restore Android to release process"
This reverts commit a1dfea222c.
2024-04-19 14:58:40 +02:00
Johannes Klein
c8c28e1bd7 Fix camera-roll build error 2024-04-19 14:57:50 +02:00
Amanda Bullington
21b9cc6a97 Update Eslint to support TypeScript (#1419)
* Add typescript parser and fix Flow errors in JS files

* Uninstall packages from react-native/eslint-config

* Fix all flow errors (or ignore them for unknowns
2024-04-18 21:35:26 -07:00
Ken-ichi Ueda
6b3eacfc19 v0.31.1+86 v0.31.1+86 2024-04-18 18:33:28 -07:00
Ken-ichi Ueda
fcc24a0ea0 v0.31.1 2024-04-18 18:30:44 -07:00
Ken-ichi Ueda
a1dfea222c Revert "Restore Android to release process"
This reverts commit 6118317a97.
2024-04-18 18:30:00 -07:00
Ken-ichi Ueda
2bd156e097 v0.31.0+85 v0.31.0+85 2024-04-18 17:02:18 -07:00
Ken-ichi Ueda
8f32dae97c V0.31.0 2024-04-18 17:01:16 -07:00
Ken-ichi Ueda
6118317a97 Restore Android to release process 2024-04-18 16:58:02 -07:00
Ken-ichi Ueda
6d21d85bc2 Remove back button label from DetailsMap 2024-04-18 16:04:34 -07:00
Amanda Bullington
37f6a5d7bf Remove old stylesheets (#1417)
* Remove old stylesheets and unused dictionaries

* Remove old stylesheets and unused dictionaries; cleanup global shadow styles

* Fix Heading1; update Tailwind config; add jest clear cache

* Update snapshots
2024-04-18 15:39:19 -07:00
Ken-ichi Ueda
ce0c60477b Some more cleaning steps for Android in clean.sh 2024-04-18 14:22:33 -07:00
Ken-ichi
205122d74e Sound model (#1416)
* Sound model; refactor for basic sound creation and playback
* Fetch sound attribution and license_code fields
2024-04-18 12:07:20 -07:00
Ken-ichi
07a4e34a4c Update CONTRIBUTING.md
Update suggestions for branch naming and PR title
2024-04-18 10:13:19 -07:00
Angie
902be59b5a 1266 location icon associated with an observation should change based on geoprivacy across the app (#1412)
* Add new icons, change ObservationLocation to include icons

*Change observationLocation to include new icons for geoprivacy

* update snapshot
2024-04-17 16:56:18 -07:00
Amanda Bullington
73b8f6e5ee Update Typography with latest text styles (#1410)
* Replace Whitney fonts with Lato

* Escape font family names so Lato works on iOS

* Update custom fonts

* Typography file cleanup

* Rename constants to appConstants

* Fix margins in AddObsModal

* Update Typography styles in tailwind config; closes #1398

* Styling fixes for typography

* Update snapshots

* Fix snapshots

* Fix photo count typography

* Code cleanup

* Update Heading2 snapshot
2024-04-17 15:52:13 -07:00
Ken-ichi
f14e5f6b7a Set opacity on grid tiles; change grid color to orange; use hybrid instead of satellite (#1411) 2024-04-17 14:57:39 -07:00
Ken-ichi
6fdc32c106 Relative width for wordmark on About (#1409) 2024-04-17 12:08:18 -07:00
Amanda Bullington
2f94987b4c Whitney -> Lato font (#1407)
* Replace Whitney fonts with Lato

* Escape font family names so Lato works on iOS

* Update custom fonts

* Typography file cleanup

* Rename constants to appConstants

* Fix margins in AddObsModal
2024-04-17 11:30:55 -07:00
Ken-ichi
144d9019c4 Automatically play sound in MediaViewer when play tapped in SoundRecorder (#1408) 2024-04-17 11:17:31 -07:00
Amanda Bullington
0833d2ddf0 Jest config updates; fixes for slower tests (#1401)
* Speed up ObsEdit test with jest-test-time

* Update jest config and standardize accessibility tests

* Add test:memory to package json
2024-04-17 10:07:29 -07:00
Ken-ichi Ueda
4117a8294f Restore Github release creation in Fastlane release 2024-04-17 09:40:57 -07:00
Johannes Klein
ffd642ce41 1070 sound progress (#1396)
* Refactor format function

* Missing dependency

* Rename function

* Add a slider to set playback position

* Use theme instead of RGB string

* Remove log
2024-04-17 16:59:47 +02:00
Johannes Klein
700990ba0b 1305 Remove predictions state on blur and focus (#1402)
* Remove predictions state on blur and focus

* Mock for plugin function

* Fix mock

* Update mock

* Rename ARCamera test files
2024-04-17 12:32:53 +02:00
Ken-ichi
77a8e7ec90 Offline warning for upload (#1406)
* Wrap Settings in a ScrollView so you can actually see it all on a smaller screen
* Show alert when trying to upload or sync while offline
2024-04-16 18:34:52 -07:00
Ken-ichi Ueda
aa1090ba55 Wrap Settings in a ScrollView so you can actually see it all on a smaller screen 2024-04-16 17:32:11 -07:00
Ken-ichi
a7784d7f82 Obs list item media finishing (#1403)
* Started separating UILibrary into components
* move sound photo icons to the bottom corners
* thick border for photoless styles
* altered icon drop shadows per designs
* might have fixed missing multiple photos icon on ObsGridItem
2024-04-16 17:30:14 -07:00
Johannes Klein
a0757aad5e v0.30.0+84 v0.30.0+84 2024-04-16 12:47:46 +02:00
Johannes Klein
af78749de4 Update Podfile.lock 2024-04-16 12:46:44 +02:00
Johannes Klein
3ad23cc9f0 Bump version 2024-04-16 12:45:29 +02:00
Johannes Klein
4205415817 Update README.md 2024-04-16 12:44:48 +02:00
Johannes Klein
16d0b073c4 Update react-native-vision-camera+4.0.0-beta.13.patch 2024-04-16 12:44:10 +02:00
Amanda Bullington
0af617cdd1 Reset taxon/place when resetting explore filters (#1400)
* Allow reset button in Explore filters to reset taxon/place

* Update map when resetting place; closes #1236
2024-04-15 20:32:11 -07:00
Ken-ichi
16faeed32d Explore current location zoom level (#1397)
* Add debug info about zoom to Explore map
* Current loc btn on Explore zooms less than on LocationPicker
2024-04-15 16:29:12 -07:00
Johannes Klein
649f1f6d7c 1044 persist obs tab (#1393)
* Refactor current obs tab into persisted zustand store

* Refactor consts into store

* Update ObsDetails.test.js
2024-04-15 16:06:11 +02:00
Johannes Klein
1859e5bd4b Enable e2e tests (#1392)
* Replace downloader dependency which errored out on CI

* Reenable on push to main and PR

* Tap on bottom sheet header to dismiss keyboard
2024-04-15 14:14:34 +02:00
Johannes Klein
a0e6284d54 AR camera rename files to AI camera (#1391)
* Rename ARCamera files to AICamera

* Update Podfile.lock
2024-04-15 12:02:39 +02:00
Johannes Klein
abe427f985 Update comment 2024-04-15 11:15:14 +02:00
Johannes Klein
324eaca073 String sorting 2024-04-15 11:13:03 +02:00
Johannes Klein
345171f77c Replace AR with AI in strings and mentions 2024-04-15 11:12:19 +02:00
Johannes Klein
e7304dde00 Switch UI to power user mode during e2e test (#1390) 2024-04-15 11:07:16 +02:00
Johannes Klein
eb6127588b 1363 casual home screen (#1389)
* Refactor GradientButton out of AddObsButton

* Refactor GradientButton to own file

* Add section for logged out user on empty home screen

* This test no longer applies

* Center items

* Add prop to give size for gradient button

* Center align text

* Pressing the text also navigates to camera

* Home screen has two buttons with same a11y label now

* Log in button neutral if logged-out user has no observations

* Text top margin

* More margin horizontal

* Rough center of AI camera button

* Add explanation comment
2024-04-15 10:22:45 +02:00
Amanda Bullington
d62167e712 Refactor navigation (#1387)
* Separate navigator into two main stacks: tab and no tab

* Organize screen options

* Preserve separate navigator for Login

* Restore login navigation

* Fix navigation/test for advanced users
2024-04-12 10:48:27 -07:00
Johannes Klein
efd88802ed 1364 UI setting (#1384)
* Show settings menu item to all users

* Add strings

* Update strings.ftl

* Add a logged out section to Settings

* Refactor logged in section

* Prop to use small label

* Restyle radio buttons

* Add react-native-mmkv

* Show logged in section only when logged in

* Add a boolean if user is advanced

* Hook for storage

* Change bottom tab button based on isAdvancedUser

* Add string

* Change supported AR camera version

* Refactor navigation out of AddObsModal

* Create new observation only on ObsEdit navigation inside Modal

* Reset store needs to happen before making new observation

* Merge conflicts removed some strings, put them back

* Remove comment

* Refactor AddObsModal test to unit test only

* Refactor navigation parts into integration test

* Add test case for advanced user

* Code style

* Add test case for advanced user to Tab bar

* Do not use a user object for snapshot tests, only the advanced user layout

* Use advanced user layout in navigation tests

* StandardCamera test with advanced user layout

* Add default value for boolean setting

* Remove default value as it is breaking immediate update of UI

* Refactor persisted layout value to be a part of zustand store

* Refactor persisted state into one bound store

* Explicit state for snapshot needed?

* Revert "Explicit state for snapshot needed?"

This reverts commit d448edc3dc.

* Remove snapshot test
2024-04-12 16:47:10 +02:00
Ken-ichi
0b2c8315a0 OfflineNotice (#1388)
* Added clean script; fixed UI Library
* OfflineNotice component; added to Notifications
* OfflineNotice on ObsDetails media
* OfflineNotice for DQA
2024-04-11 17:25:55 -07:00
Ken-ichi Ueda
5dc3bf6dfa Disable swipe to open the drawer 2024-04-11 15:02:14 -07:00