Commit Graph

4199 Commits

Author SHA1 Message Date
Ken-ichi
9af60ca613 fix: prevent git push after Crowdin pull (#2223)
* set push_translations: false in Crowdin pull action b/c we need uncommitted files to run our scripts on
* remove comments from FTL JSON
2024-10-03 12:16:56 -07:00
Angie
cd82f8b9fc feat: phone storage full alert (#2157)
* Show alert when device full and user takes photo and when app lauch

* change min device storage limit to 200MB

* add storage full alert to AI camera

* Hook for device storage full

* Changes requested

* Show device stoarge full alert only once on app start
2024-10-03 00:36:25 -07:00
Angie
41ddc10fb5 UI fixes for ExploreLocationSearch (#2219) 2024-10-03 00:36:00 -07:00
Ken-ichi Ueda
9ea070b1ff docs: more translator annotations for strings 2024-10-02 15:50:40 -07:00
Amanda Bullington
7d2f4d9574 Prevent map reset when navigating back to Explore from ObsDetails (#2217)
* Refactor; remove a lot of unused code from Map and related components

* More code cleanup

* Fix rerenders & permission granted functionality
2024-10-02 15:37:05 -07:00
Ken-ichi Ueda
d3968ce2fd fix: layout, relative date, i18n changes
* ActivityHeader was not listing category
* ActivityHeader lacked space before date
* Combined duplicate strings, used more descriptive keys and comments
* Relative dates were showing fractional weeks
2024-10-02 14:08:32 -07:00
Ken-ichi
80ecc0b7c1 Sync with Crowdin (#2195)
Github Actions and scripts to

* push strings.ftl to Crowdin when it changes
* pull translations from Crowdin every day and a PR should get made if there are changes
* FTL validation and normalization happens in the action and will prevent a PR from being created

Closes #2103
Closes #2104
2024-10-02 10:52:30 -07:00
Angie
3b28823813 1952 add logging error catching around photo importing (#2215)
* Add logging to help find potential root cause for group photos import bug

* minor error message edit
2024-10-02 10:07:01 -07:00
Amanda Bullington
3b4a68e511 Match projects empty button width to Figma; closes #2107 (#2214) 2024-10-02 09:22:16 -07:00
israr002
7efd8f3e04 add share button in obs detail (#2209) 2024-10-01 18:48:57 -07:00
Amanda Bullington
2a0918a471 Float action bar relative to sticky toolbar, not bottom of screen (#2213) 2024-10-01 18:06:00 -07:00
Amanda Bullington
ae4f1aa6d4 Add footers with white space to show list items above keyboard; closes #2086 (#2211) 2024-10-01 13:36:54 -07:00
budowski
2a56d42e76 Close #2039 - allow closing the add-obs modal from the text description as well (#2196)
Co-authored-by: Amanda Bullington <albullington@gmail.com>
2024-10-01 12:55:08 -07:00
budowski
eb14de8739 Close #1683 - single subject DQA item (#2197) 2024-10-01 11:48:52 -07:00
Amanda Bullington
34d4b4f543 Feat: Project members screen (#2208)
* Create project members screen; closes #2114

* Styling update
2024-09-30 18:25:59 -07:00
Angie
694f505391 Dont show gallery permission gate when permission already denied (#2191) 2024-09-30 16:01:56 -07:00
israr002
395cabded8 fix (#2190) 2024-09-27 20:17:56 -07:00
israr002
b757f9b83a fix: pass PermissionGate after granting permission in Settings and returning to app (#2146)
Checks manually for permission in android when app comes to foreground

Closes #1206

---------

Co-authored-by: israr-stc-dev <Israr.Khan@intigral.net>
2024-09-27 19:56:32 -07:00
budowski
6c9d21d4bc fix: hide Wikipedia button if server provides no Wikipedia URL (#2092)
* Taxon details - Hide read-more-on-wikipedia button if server haven't provided Wikipedia URL

Fix #1740
2024-09-27 17:52:57 -07:00
budowski
6ee84984a3 fix: fave status was lost when leaving ObsDetails (#2091)
* Fix #1880 - properly show fave status for observation
2024-09-27 17:50:08 -07:00
israr002
ded40ac0cb Stop Explore from defaulting to worldwide in Android (#2045)
* change geolocation config options to work around Android-specific bug
* apply maximumAge only on iOS to prevent errors on Android
* rename location hook to fetchCoarseUserLocation
* add comment to highlight current position issue for future reference

---------

Co-authored-by: israr-stc-dev <Israr.Khan@intigral.net>
2024-09-27 17:39:06 -07:00
Amanda Bullington
5872a3680d Project requirements screen (#2192)
* Create a project requirements modal screen

* Add text and set defaults for project requirements

* Fill in project inclusions for requirements

* Add more project rules

* Show taxon exceptions

* Rules for establishment means

* Rules for media types

* Show multiple locations in project reqs

* Use project_observation_rules to show projects

* Cleanup
2024-09-27 16:23:45 -07:00
Ken-ichi Ueda
cd4449e257 v0.49.0+118 v0.49.0+118 2024-09-27 13:59:15 -07:00
Ken-ichi Ueda
2a15187a9e 0.49.0 2024-09-27 13:56:16 -07:00
Ken-ichi Ueda
d4a4101561 chore: updated internal release message 2024-09-27 12:38:41 -07:00
Ken-ichi Ueda
f7c8dca33b fix: choosing UPLOAD NOW from TaxonDetails was losing your observation 2024-09-27 12:32:31 -07:00
Ken-ichi Ueda
0cf29fed01 docs: add security alert and App Store steps to release script in README 2024-09-27 11:54:09 -07:00
Ken-ichi Ueda
7fdbca83df chore: upgraded fastlane, removed vestigial Gemfiles 2024-09-27 11:52:19 -07:00
Ken-ichi
a3a43c4e2c g11n audit (#2189)
* chore: validate and normalize translations in addition to src strings
* fix: globalize lat/lng/acc in LocationPicker
* refactor: extract language picker into component
* refactor: globalized text
* feat: added a script to i18ncli called "checkify" that generates
  localization files prepended with a checkmark to help see strings that are
  not globalized
* fix: localize date formatting (closes #1622)

Closes #2102
2024-09-26 22:33:23 -07:00
Angie
9b53d3b951 fix: replaying and scrubbing audio repeatedly eventually stops playback (#2159)
* Scrubbing sound player and toggling now matches audio.

* remove useeffect, play/pause should work again

* change error variable name to more accurate name
2024-09-25 13:44:11 -07:00
Amanda Bullington
466f58dff4 Move ActivityItem key to parent component (#2187) 2024-09-25 12:50:25 -07:00
Amanda Bullington
653340d854 Add infinite scroll to Projects (#2185)
* Implement infinite scroll in Projects

* Styling fixes for empty state in projects; add infinite loading wheel

* Resolve require cycle from ObsFlashList and FlashList shared components

* Order by distance and remove radius for nearby projects fetch

* Code cleanup

* Fix test

* Code cleanup

* Minor tweaks to search API request and results
2024-09-25 11:17:32 -07:00
Ken-ichi Ueda
50168da862 Vertically center notification content instead of pushing to top and bottom 2024-09-25 09:43:23 -07:00
Johannes Klein
aa7a1c44cd Add a cameraZoomRange default (#2186) 2024-09-25 16:29:08 +02:00
Johannes Klein
6f8f2ea926 1953 suggestion logged out (#2163)
* TaxonResult TS

* Suggestion TS

* Do not show checkmark for logged out online suggestions

* Update strings.ftl

* From suggestions show bottom sheet on taxon detail

* Refactor updateTaxon

* Add text

* Another text

* Two more texts

* Fix import

* Function stubs

* Use a bulleted text list

* Restyle entire bottom sheet

* Code reorder

* Refactor saveObservation function

* Navigate to login screen for Upload now button

* Add key

* Save obs on press and nav to list

* Code style

* Get updated currentObservation immediately to pass to saveObservation

* Test AICamera with current user

* Show the bottom sheet only for logged out users

* Mock useCurrentUser hook

* Mock useCurrentUser hook

* Mock user

* Mock user
2024-09-25 12:56:32 +02:00
Angie
27b95511bc Add button to ExploreUserSearch to show your obs (#2162) 2024-09-25 00:20:25 -07:00
israr002
9e1f520ec5 fix: add carousel dots component (#2161)
Closes #2119 by replacing 3rd party dependency with a simple component we control.
2024-09-24 13:15:29 -07:00
israr002
b81f777f72 fetch memebership only when user is authenticated (#2148)
Closes #2111
2024-09-24 12:19:01 -07:00
Angie
07e21dc17a Add expand map button in taxon details (#2160) 2024-09-23 20:02:00 -07:00
Amanda Bullington
dfc8fc8983 Support FlashList in RTL mode (#2158)
* Use custom FlashList with auto layout disabled in GroupPhotos

* Fixes for grid view in RTL mode

* Fix styling for PhotoCount in RTL

* Standardize ExploreSearchHeader; use BackButton for RTL support

* Styling fixes for filters search header
2024-09-23 19:08:43 -07:00
Ken-ichi Ueda
7570b1e596 Notify slack after internal and beta releases (closes #2145) 2024-09-23 17:57:23 -07:00
Ken-ichi Ueda
d222336675 v0.48.0+117 v0.48.0+117 2024-09-23 16:52:37 -07:00
Ken-ichi Ueda
250dded6e1 v0.48.0 2024-09-23 16:50:43 -07:00
Johannes Klein
c05948f846 Do not set camera inactive immediately before taking photo 2024-09-23 20:28:36 +02:00
Amanda Bullington
645be6256d Add toggle button for RTL/LTR on debug screen (#2143)
* Add toggle in Debug mode to either force RTL or LTR

* Reverse back button arrow in RTL mode
2024-09-23 11:18:23 -07:00
Amanda Bullington
3a9f831962 Enhancements: obs details from notifications (#2142)
* Rename obsDetailsTab & set to activity tab when nav from notifications

* Fix TS type
2024-09-23 11:18:08 -07:00
Ken-ichi Ueda
342b9d3c53 v0.47.0+116 v0.47.0+116 2024-09-20 16:56:01 -07:00
Ken-ichi Ueda
28e8d6b052 v0.47.0 2024-09-20 16:51:18 -07:00
Ken-ichi Ueda
cd00040ecd Revert "Scrubbing sound player and toggling now matches audio. (#2089)"
This reverts commit 1f385ba79b.

Pause button was broken.
2024-09-20 15:48:59 -07:00
Ken-ichi Ueda
842fbe384d fix: reduce gradient shade for MyObs grid view
If you're not going to hide your light under a bunch of text, you might as
well not hide it under a lot of gradient either.
2024-09-20 15:30:52 -07:00