Commit Graph

4199 Commits

Author SHA1 Message Date
Amanda Bullington
d58415dd27 UI for side menu (#668)
* Update side menu

* UI for side menu

* Add placeholder components; adjust for small screen sizes

* Code cleanup

* Update snapshots

* Query for second username element in e2e test

---------

Co-authored-by: Johannes Klein <johannes.t.klein@gmail.com>
2023-06-26 10:34:51 -07:00
Ken-ichi Ueda
45657ce0f7 Don't POST observed_on with observations 2023-06-23 18:07:28 -07:00
Ken-ichi Ueda
06b92266ad Null checks for useEffect cleanup functions (closes #678 and #673) 2023-06-23 17:56:44 -07:00
Angie Ta
bc3d2245fc Merge branch 'main' into obs-detail 2023-06-22 19:04:09 -07:00
Angie Ta
6e8141092c Clean up 2023-06-22 18:59:52 -07:00
Angie Ta
ef5ab3cf35 Design changes to Data Quality Details Tab 2023-06-22 17:10:43 -07:00
Angie Ta
c26b976d58 Faves functionality to use useMutation, Added faves to realm, QualityGradeStatus svg opacity prop, Update QualityGradeStatus snapshots 2023-06-22 16:52:38 -07:00
Amanda Bullington
53521804f2 Update package; closes #660 (#672) 2023-06-22 16:27:50 -07:00
Ken-ichi
43309af43c Fixed obs deletion bug (#545) and allow edit when obs has no media (closes #662) (#666)
Obs deletion bug mostly has to do with Realm objects hanging around in memory
when they're no longer in the database. I spent a long time trying to write a
test that could see the custom header button menu we add via react-navigation
but never got it to work.
2023-06-22 16:15:51 -07:00
Amanda Bullington
1faf24f8cf Add skeleton loading wheel to EvidenceList; closes #658 (#671) 2023-06-22 15:18:22 -07:00
Amanda Bullington
9bf791fe4a Add defaultValue to TextInputSheet; closes #657 (#670) 2023-06-22 13:28:44 -07:00
Amanda Bullington
f160875212 Simplify progress bar event emitters (#663)
* Simplify code for emitting events to progress bar and progress circle; closes #630

* Add incremental steps

* Update individual progress circle correctly when a user saves changes to existing obs

* Move upload observation code into ObsEditProvider (for single uploads)

* Refactor upload from toolbar code into ObsEditProvider

* Move event names into constants and fix tests

* Fix multiple uploads

* Fix test

* Fix test

* Remove multiple upload event listener
2023-06-22 11:44:22 -07:00
Angie
f2b305fa25 Merge pull request #656 from inaturalist/obs-detail
ObsDetail : DQA
2023-06-20 11:04:19 -07:00
Angie Ta
3257268465 Changes requested, code style 2023-06-20 01:05:11 -07:00
Angie Ta
ee37f6b347 Merge branch 'main' into obs-detail 2023-06-14 01:26:38 -07:00
Angie Ta
baa2769049 DQAVoteButton spacing change 2023-06-14 01:17:44 -07:00
Angie Ta
2ee17edf78 Merge branch 'obs-detail' of github.com:inaturalist/iNaturalistReactNative into obs-detail 2023-06-13 10:51:59 -07:00
Angie Ta
028fe718b4 Added observed_on to realm observations, TODO placeholder, checks for date, location and evidence 2023-06-13 10:33:47 -07:00
Ken-ichi Ueda
7e562a2ba4 v0.6.0+47 v0.6.0+47 2023-06-09 18:46:57 -07:00
Ken-ichi Ueda
4259a586a2 0.6.0; updated Fastlane 2023-06-09 18:27:53 -07:00
Ken-ichi
9a7529122a Ensure MyObs grid doesn't change column count on phone rotation (#664)
While continuing to allow it for tablets. Closes #661
2023-06-09 18:04:35 -07:00
budowski
ef9a06f5eb #392 - Write photos taken via the app into the camera roll and update their location metadata (#496)
Writes photos out to external storage at capture time, and updates GPS EXIF fields when observation is saved. Closes #392. There is a known bug in Android causing landscape photos to be inverted.

---------

Co-authored-by: Ken-ichi Ueda <kenichi.ueda@gmail.com>
2023-06-09 18:04:17 -07:00
Ken-ichi Ueda
cd0468a4fb Only show ObsDetail map if obs has coordinates; minor text updates 2023-06-06 16:31:09 -07:00
Ken-ichi Ueda
01b2ddb4ac Minor text update for GroupPhotos button 2023-06-06 11:49:58 -07:00
Angie Ta
5ff52c955b Adjust DQA header title font size 2023-06-05 17:28:15 -07:00
Angie Ta
e1b85cacd9 Destructured mutate 2023-06-05 17:05:42 -07:00
Angie Ta
7a5f3abf05 bug fix location not showing 2023-06-05 16:28:01 -07:00
Angie Ta
1a1d355234 Merge branch 'main' into obs-detail 2023-06-05 15:52:42 -07:00
Angie Ta
aaf0cee2de Error bottom sheet, Test Indicators, styling 2023-06-05 15:47:06 -07:00
Ken-ichi Ueda
5341214d12 v0.5.1+46 v0.5.1+46 2023-06-02 13:20:13 -07:00
Ken-ichi Ueda
e687b34d4f v0.5.1 2023-06-02 13:17:15 -07:00
Ken-ichi Ueda
589062ced8 Updated some fastlane dependencies 2023-06-02 13:07:02 -07:00
Ken-ichi Ueda
b8b7447e74 Ensure onPress always gets a function; refactor so container handles state, component handles display logic 2023-06-02 13:05:02 -07:00
Ken-ichi Ueda
ce151ee1d5 Use breakpoint constants; ensure grid size always fits after rotate 2023-06-02 12:10:04 -07:00
Ken-ichi Ueda
b2d7f0aff4 Remove slivers of white around check button on StandardCamera 2023-06-02 12:07:46 -07:00
Angie Ta
df287a9705 Loading vote button bug fix, test indicator checks 2023-05-31 17:40:42 -07:00
Amanda Bullington
076e9b4315 Display correct columns and grid item sizes when rotating tablet; closes #586 (#654) 2023-05-31 16:23:15 -07:00
Amanda Bullington
841d34aaa4 Styling fix, camera buttons 2023-05-31 16:01:34 -07:00
Amanda Bullington
f4a557c710 Loading wheel & no internet message, MyObs (#653)
* Use fetching next page boolean to set loading wheel; closes #620

* Add no internet state

* Create index for sharedHooks
2023-05-31 13:06:14 -07:00
Amanda Bullington
f742aec7fd Tappable areas bigger in camera on phones (#652)
* Expand tappable areas in camera on handsets; closes #624

* Fix tests
2023-05-31 11:55:48 -07:00
Angie Ta
ad1b09715f Refactor vote buttons, delete vote, vote button loading states 2023-05-30 18:16:52 -07:00
Amanda Bullington
10a1c23178 Add location indicator to ObsDetail map (#651) 2023-05-30 17:32:24 -07:00
Amanda Bullington
0efd71ffca Save layout preference in async storage; closes #632 (#650) 2023-05-30 16:49:25 -07:00
Amanda Bullington
6bf5419e5c Show discard changes sheet & discard observation sheet appropriately; closes #626 (#649) 2023-05-30 14:52:02 -07:00
Amanda Bullington
2b35cabbcb Add border to Pressable, not image; closes #622; closes #603 (#648) 2023-05-30 14:51:35 -07:00
Ken-ichi Ueda
d2783a2848 Changed extension of e2e mocks to ensure they never get included in release builds 2023-05-29 21:42:20 -07:00
Ken-ichi Ueda
8c6019b9f9 v0.5.0+45 v0.5.0+45 2023-05-26 18:13:02 -07:00
Ken-ichi Ueda
259755195d 0.5.0 2023-05-26 18:10:31 -07:00
Amanda Bullington
cb6e789689 Update radio buttons to make text pressable (#647)
* Update radio buttons to make text pressable
* RadioButtonSheet should show currently selected value

---------

Co-authored-by: Ken-ichi Ueda <kenichi.ueda@gmail.com>
2023-05-26 17:58:17 -07:00
Ken-ichi
9cd48185b6 Update README.md
Added test badges
2023-05-26 12:50:52 -07:00