Commit Graph

4199 Commits

Author SHA1 Message Date
Ken-ichi Ueda
627b2d5fdd fix: only fetch common names when permission known; fetch iconic taxon name too 2024-09-20 15:20:36 -07:00
israr002
2b84eb4526 make drawer scrollable (#2140)
Co-authored-by: israr-stc-dev <Israr.Khan@intigral.net>
2024-09-20 12:47:48 -07:00
Amanda Bullington
74d81481ff Simplify ObsGridItem view in MyObservations (#2120)
* Only show one taxon name
* Remove comments, IDs, and quality grade
* Memoize grid and list display taxon name components
* fix: remove border on photoless ObsGridItem
* fix: don't show iconic taxon photo for another taxon

Closes #2088

---------

Co-authored-by: Ken-ichi Ueda <kenichi.ueda@gmail.com>
2024-09-20 12:43:45 -07:00
israr002
9756ca6325 fix: hide photo count on ObsDetails if only 1 photo (#2097)
Closes #2081

Co-authored-by: israr-stc-dev <Israr.Khan@intigral.net>
2024-09-20 12:26:59 -07:00
Ken-ichi
b81346f623 fix: control max text scaling to allow nav w/ large font sizes (#2129) 2024-09-20 10:42:22 -07:00
Johannes Klein
bc973350e6 1595 removable explore filters (#2122)
* Add remove button for explore taxon

* Remove button for user filter

* Reorder of taxon filter buttons

* Remove ally labels

* Revert "Remove ally labels"

This reverts commit 47b8df1c63.

* Minor restyle

* Update a11y strings

* Add remove project button
2024-09-20 08:19:51 +02:00
Johannes Klein
49dcf4b5b3 Change gallery help text in add obs modal
Closes #2079
2024-09-19 21:49:40 +02:00
israr002
7f8519696d resolve typos on obs detail (#2098)
* resolve typos on obs detail

* correct typo in DetailsTab.test.js

---------

Co-authored-by: israr-stc-dev <Israr.Khan@intigral.net>
2024-09-19 17:11:05 +02:00
Angie
324bf4a079 Add projects on drawer menu when in debug mode (#2112) 2024-09-18 18:43:24 -07:00
Amanda Bullington
36ae3f6660 Navigate via help text in AddObsModal (#2096)
* Make add obs help text pressable; closes #2077

* Fix test

* Styling updates; closes #2077
2024-09-18 10:24:37 -07:00
Amanda Bullington
d723c93671 Fetch taxon common names (#2095)
* Fetch and store 500 most observed taxon common names

* Return local common names if location permissions granted

* Code cleanup
2024-09-17 17:16:56 -07:00
Ken-ichi Ueda
bef2a96262 fix: log 429 errors before they get screwed up by failed JSON parsing 2024-09-17 14:42:50 -07:00
Angie
1f385ba79b Scrubbing sound player and toggling now matches audio. (#2089) 2024-09-17 09:57:23 -07:00
Johannes Klein
4344cb9d05 2024 faster explore load (#2073)
* Make base query params overridable

* Also expose isFetching from infinite scroll

* Remove comments

* Revert "Make base query params overridable"

This reverts commit 4d413700bd.
2024-09-16 19:32:56 +02:00
Johannes Klein
18c671f311 1667 front zoom (#2072)
* Set initial zoom text value on reset

* Reset zoom when flipping camera

* Also reset zoom in standard camera
2024-09-16 12:41:43 +02:00
Johannes Klein
463e432792 Fixes a bug with the ai camera not freezing on take photo (#2071)
* Correct prop

* Start with active prop
2024-09-16 11:22:45 +02:00
israr002
ae7e05b901 add reveal button for password field in login (#2067)
* add reveal button for password field in login

* Changed margin to padding

For greater clickable area

* Arrow function

---------

Co-authored-by: israr-stc-dev <Israr.Khan@intigral.net>
Co-authored-by: Johannes Klein <johannes.t.klein@gmail.com>
2024-09-15 19:52:44 +02:00
Ken-ichi Ueda
f4213c4990 v0.46.0+115 v0.46.0+115 2024-09-13 19:49:29 -07:00
Ken-ichi Ueda
092ffe646d v0.46.0 2024-09-13 19:47:23 -07:00
Ken-ichi Ueda
03771322d5 fix: StandardCamera was showing a black screen 2024-09-13 19:46:19 -07:00
Johannes Klein
b398b71c71 Set AI camera inactive immediately after taking photo (#2051) 2024-09-13 12:27:15 +02:00
Angie
2155b43966 Only display month and year for obscured and private geoprivacy (#2069) 2024-09-13 00:42:40 -07:00
Ken-ichi Ueda
1f8d688c92 fix: darken signup background again (oops) 2024-09-12 15:35:49 -07:00
dependabot[bot]
afe354eec4 Bump send and serve-static (#2066)
Bumps [send](https://github.com/pillarjs/send) and [serve-static](https://github.com/expressjs/serve-static). These dependencies needed to be updated together.

Updates `send` from 0.18.0 to 0.19.0
- [Release notes](https://github.com/pillarjs/send/releases)
- [Changelog](https://github.com/pillarjs/send/blob/master/HISTORY.md)
- [Commits](https://github.com/pillarjs/send/compare/0.18.0...0.19.0)

Updates `serve-static` from 1.15.0 to 1.16.2
- [Release notes](https://github.com/expressjs/serve-static/releases)
- [Changelog](https://github.com/expressjs/serve-static/blob/v1.16.2/HISTORY.md)
- [Commits](https://github.com/expressjs/serve-static/compare/v1.15.0...v1.16.2)

---
updated-dependencies:
- dependency-name: send
  dependency-type: indirect
- dependency-name: serve-static
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-12 14:25:02 -07:00
Ken-ichi
e0ee79782f Try to minimize re-renders for CustomImageZoom (#2068)
Related to #1882
2024-09-12 14:16:26 -07:00
Ken-ichi
e3fa50fcee Make some text selectable (#2065)
* obs ID and UUID on ObsDetails selectable
* obs ID w/o separators on ObsDetails
* taxon names on TaxonDetails selectable
2024-09-12 11:12:51 -07:00
Johannes Klein
f85aba771b Username mentions navigate to User profile screen in-app (#2057)
* On user profile screen, if routed here with login as param search for user id

* UserText to TS

* Add linkify mention plugin dependency

* Rely on plugin for mention parsing

* Adjust rel

* Add a title attribute to mentions only

* Navigate to profile screen for mentions

* Use props

* Fix some types

* We dont really need this plugin if we check for href includes people link

* Replace user search api call with fetch by login

* Push new profiles on top of the navigation stack every time

* Add error strings

* If there is no user found for this id show error

This can happen I assume when a user changes the login but comments are not updated.

* Use this plugin

* Remove log

* Only react to anchors that have mention as a title

* Update types

* Another inferred type
2024-09-12 12:28:10 +02:00
Amanda Bullington
1b3ab3c613 Remove loading photo in EvidenceList if saving photo permission denied; closes #2055 (#2064) 2024-09-11 15:43:40 -07:00
Amanda Bullington
3826998a5b Update zoom text when pinching; set 3x zoom to mirror native camera; closes #1984 (#2063) 2024-09-11 13:05:07 -07:00
Amanda Bullington
0f4219b6b4 Hide taxon map preview when taxon has no observations; closes #2028 (#2062) 2024-09-10 22:41:00 -07:00
Amanda Bullington
131d2c4b61 Use observationBounds for nearby Explore map; closes #2023 (#2061) 2024-09-10 22:40:48 -07:00
Amanda Bullington
adc79d88c3 Navigate to user's profile from drawer; closes #2037 (#2060) 2024-09-10 17:42:10 -07:00
Amanda Bullington
15382cee35 Integration test for photo import (#2058)
* Write an integration test for PhotoImport; closes #1430

* Add test for photo importer -> group photos -> obs edit flow

* Remove global image-picker mock
2024-09-10 16:26:23 -07:00
Angie
1ecb7aa1c7 Explore screen does no spin forever when search results are empty (#2056) 2024-09-09 21:19:57 -07:00
Amanda Bullington
23baf5e207 Update exif-reader library (#2052)
* Update exif-reader library and don't convert to local timezone in this repo

* Use github tag for exif-reader
2024-09-09 15:12:55 -07:00
israr002
c7c25b029a Remove attribution for new photo in MediaViewer (#2040)
* 1570 Remove attribution for new photo in mediaviewer

* Guarding against photo being undefined

* Migrate AttributionButton to TS

* Remove console.log

* Find by label text instead of test ID

---------

Co-authored-by: Johannes Klein <johannes.t.klein@gmail.com>
2024-09-07 15:29:45 +02:00
Ken-ichi
21ce573986 fix: disable zoom while scrolling in MediaViewer (closes #1881) (#2050) 2024-09-06 20:44:20 -07:00
Ken-ichi
ffc8a42a5c fix: reduce image flickering on Suggestions (#2049)
Stabilizes some of the props to prevent some re-renders.

Closes #1878
2024-09-06 16:55:36 -07:00
Ken-ichi Ueda
fa8411a8b6 v0.45.0+114 v0.45.0+114 2024-09-06 12:40:00 -07:00
Ken-ichi Ueda
e852b33f93 v0.45.0 2024-09-06 12:39:07 -07:00
Ken-ichi Ueda
6b248dbe02 fix: temporarily open donate page in external browser 2024-09-06 11:21:13 -07:00
Angie
a890559b7b Disable feedback submit button when user backspaces to clear feedback (#2046) 2024-09-05 16:57:16 -07:00
Amanda Bullington
eac71a4f54 Return iconic_taxon_name from API in SpeciesView; closes #2022 (#2048) 2024-09-05 16:38:56 -07:00
Amanda Bullington
ec83bc8c7b Set online/offline status via event listener in React Query (#2047)
* Make sure reactQueryRetry is used for all queries, including infinite queries

* Code cleanup
2024-09-05 16:38:40 -07:00
Ken-ichi
ee37f6ce76 Account deletion improvements (#2044)
* Allow the in-app browser to open users/delete from settings
* When account deletion successful, sign the user out
2024-09-05 16:30:31 -07:00
Amanda Bullington
ac76db7c04 Add abort controller & stop notifying user about autosync; closes #1730 (#2043) 2024-09-05 10:26:08 -07:00
Amanda Bullington
fc86d1fb4b Remove stutter when scrolling map; code cleanup; closes #1877 (#2042) 2024-09-04 16:55:02 -07:00
Ken-ichi Ueda
078cc9bc69 fix: ensure OfflineNotice appears when offline, not when determining connection state 2024-09-03 14:19:55 -07:00
Ken-ichi Ueda
9e1462752d Revert "change signup background photo to darker version"
This reverts commit 835864b0fc.
2024-09-03 13:27:34 -07:00
Ken-ichi Ueda
325bafcdb9 v0.44.0+113 v0.44.0+113 2024-08-30 16:12:26 -07:00