Commit Graph

1991 Commits

Author SHA1 Message Date
Angie
24937db10f Prevent activityheader content from being vertically cut off at larger font sizes (#2301)
Closes #2128.
2024-10-25 10:14:05 -07:00
Ken-ichi
69a5956bc6 docs: add commit style and translation source guidance (#2296)
* docs: add commit style and translation source guidance
* docs: specify that ppl should work on unassigned issues; separate and update getting started from submitting
2024-10-25 10:00:10 -07:00
Ken-ichi
005230404c New Crowdin translations by GitHub Action (#2278)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-10-25 09:55:20 -07:00
Ken-ichi
88c7d778c5 feat: set app locale on install, sign in, and sign out (#2294)
* Use system locale on install
* Check for system locale when app comes to foreground (required in Android
  b/c app doesn't get restarted when system locale changes)
* Create a constant of SUPPORTED_LOCALES in loadTranslations.js
* Restart app on sign out
* Use existing transaction when writing to Realm if available (might also
  consider an approach that waits for the existing transaction to complete)
* Make value returned by useCurrentUser actually reactive

Closes #2243
2024-10-25 09:39:50 -07:00
Angie
e767e89dd9 Fix: Prevents permission gate text from flowing off screen with large font sizes. Closes #2136. (#2292) 2024-10-24 19:51:10 -07:00
Amanda Bullington
bc817e8b80 Add projects, followers, and following lists via UserProfile (#2300)
Show projects, followers, and following lists via UserProfile
2024-10-24 19:04:42 -07:00
Angie
57cdcc4da7 Keep form input text similar to other app text at larger font sizes (#2298)
Closes #2134.
2024-10-24 18:47:20 -07:00
Tobias Schönberg
80dda9fbcd Fix typo in name of Sara Beery (#2297)
Closes #2287
2024-10-24 15:16:50 +02:00
Amanda Bullington
9789b8d012 Display list of projects an observation belongs to (#2295)
* Add screen with list of projects an observation belongs to

* Test whether projects are displayed in ObsDetailsProjects; test project count in ProjectSection
2024-10-22 18:30:43 -07:00
Ken-ichi
ddca126ed5 refactor: log around repeat errors (#2293)
* Catch and squelch "Network request failed" errors that happen during logging itself (#1639)
* Log around RNSI access to resolve when/where those errors occur (#1639)
* Log around JWT retrieval to resolve when/where JWT missing errors occur (#2155)
2024-10-22 15:41:54 -07:00
Amanda Bullington
6b5990a675 Prevent explore filters headers from overlapping reset button (#2290)
* Prevent explore search header from overlapping reset button; closes #2130

* Prevent explore filters header from overlapping reset button
2024-10-22 12:06:45 -07:00
Ken-ichi
bb0e357683 test: ensure Suggestions can skip ID (#2280)
* Failing Jest test: Skip id button unmounted as soon as you try to press it
* fix: memoize SuggestionsFooter to prevent dismounts and stabilize tests
* test: wait for elements to be visible in PhotoDeletion test

Also stabilizes several other dependencies, and uses findBy instead of queryBy
to ensure tests can find the skip ID button even it takes a second to
render.

Closes #2094

---------

Co-authored-by: Amanda Bullington <albullington@gmail.com>
2024-10-22 11:15:14 -07:00
budowski
9e27f872d0 Fix #1613 - when marking notification as read, use that in useInfiniteNotificationsScroll (#2198) 2024-10-21 14:22:32 -07:00
Ken-ichi Ueda
0076358391 chore: update to fastlane (2.225.0) 2024-10-21 09:58:12 -07:00
Amanda Bullington
67dffdcf28 Screen transitions with fade animation (#2284)
* Disable animations on tab bar screens

* Fade in pages accessible from the tab bar

* Add fade in view to stack navigator screens

* Use time travel to step through frames of animation for SoundRecorder

* Use time travel to fix all tests with fade in navigation

* Nav fix
2024-10-20 14:45:31 -07:00
Angie
19f7a83750 fix: add loading indicator and disable discard button when sound is being deleted (#2283) 2024-10-18 11:21:51 -07:00
Amanda Bullington
9ba36debde Show empty MyObs screen after deleting last observation in account (#2279)
* Make sure local deletions are happening; show empty screen and loading wheel at appropriate times

* Fix test

* Remove unused code
2024-10-17 16:27:03 -07:00
Ken-ichi Ueda
312f547e5f v0.51.0+120 v0.51.0+120 2024-10-17 14:11:46 -07:00
Ken-ichi Ueda
f8fbf4ed76 v0.51.0 2024-10-17 14:10:27 -07:00
budowski
a1792bb507 Dismissable add obs modal help (#2236)
Closing the add-obs help text, only closes the help text + never shows up again

Close #2039

---------

Co-authored-by: Ken-ichi Ueda <kenichi.ueda@gmail.com>
2024-10-17 11:03:19 -07:00
Ken-ichi
9cccdf2f05 Obs list item iconic taxon fix (#2234)
* chore: upgrade fastlane to 2.224.0
* fix: ObsListItem was lacking border around iconic taxon
2024-10-16 19:27:20 -07:00
Ken-ichi Ueda
ff40ab482f fix: prevent content from scrolling under ButtonBar on TaxonDetails
This does something similar in the Explore FiltersModal.
2024-10-16 17:34:26 -07:00
Ken-ichi Ueda
69e33ac38d fix: add space at the bottom of ProjectRequirements 2024-10-16 16:24:29 -07:00
Ken-ichi Ueda
23a6a9d031 fix: remove spacer on ObsEdit
We added the spacer in #2133 to make all of ObsEdit scrollable, but that just
creates whitespace no one can get rid of. This adjusts the button bar so it
is regularly positioned at the bottom.
2024-10-16 16:24:29 -07:00
Amanda Bullington
a927bc8f1e Tweak styling of AddObsModal for smaller screen sizes; closes #2138 (#2267) 2024-10-16 16:13:19 -07:00
Ken-ichi
f35c48ad23 fix: restore photo sharing into the app in iOS 18 (#2247)
* Switch to using a fork of react-native-share-menu since we have multiple
  divergences from the main repo and it seems to be abandoned
* Fork supports sharing in iOS 18
2024-10-16 15:06:47 -07:00
Ken-ichi
267d8a58b6 fix: prevent length of undefined error when processing UTFGrid data (#2228)
Adds null checks for UTFGrid processing and tests

Closes #2205
2024-10-16 12:47:34 -07:00
israr002
ec3fd84448 fix: nearby button in Explore not working after granting permission (#2222)
Just uses _.isEqual for deep object comparison when checking for Explore state changes.

Closes #2207
2024-10-16 12:05:51 -07:00
Ken-ichi
127e088eae New Crowdin translations by GitHub Action (#2227)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-10-16 09:14:12 -07:00
Amanda Bullington
a1f6774f1a Add padding to bottom of ObsEdit scrollview (#2239) 2024-10-15 14:24:07 -07:00
Angie
49b96b4c8e Project details iu fixes (#2238) 2024-10-15 14:16:59 -07:00
Ken-ichi Ueda
4a3b4718bf fix: try to get Crowdin PRs to run branch protection actions 2024-10-15 11:15:16 -07:00
israr002
d99dffddd8 fix: do not allow rotation in PermissionGate on Android (#2090)
Remove orientation from camera screen navigation options

---------

Co-authored-by: israr-stc-dev <Israr.Khan@intigral.net>
2024-10-04 17:29:42 -07:00
Ken-ichi Ueda
10e97a3255 chore: upgrade fastlane to 2.224.0 2024-10-04 17:07:45 -07:00
Amanda Bullington
9cba689a4a Audit and simplify text colors (#2229)
* Change black text to dark gray text

* Start simplifying to a single color scheme

* Remove custom paper theme colors

* More theme cleanup

* Styling specifically for RNPaper components

* Update snapshots to use hex colors, not rbga
2024-10-04 13:37:48 -07:00
Ken-ichi Ueda
710a6d0b14 v0.50.0+119 v0.50.0+119 2024-10-04 13:00:45 -07:00
Ken-ichi Ueda
e106e608e3 v0.50.0 2024-10-04 12:59:54 -07:00
Amanda Bullington
bd6bed71ce Simplify bottom sheet component; don't use onChange to close (#2226) 2024-10-03 21:36:17 -07:00
Ken-ichi
b972e84c66 New Crowdin translations by GitHub Action (#2225)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-10-03 19:41:53 -07:00
Ken-ichi
b75dd8bee3 New Crowdin translations by GitHub Action (#2220)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-10-03 16:51:12 -07:00
Ken-ichi Ueda
7c418a3ff6 chore: translation string changes
* Replaced redundant messages
* Use the word storage instead of memory for accuracy
* Note for translators linking to Fluent docs
* More context comments
2024-10-03 16:25:24 -07:00
Amanda Bullington
b5634a2de5 Navigate logged out users from join project > login screen (#2224)
* Logged out users who press join project nav to login flow; closes #2115

* Fix a11y test
2024-10-03 15:28:02 -07:00
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