Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dragging an obs with an ID onto an obs without one should create an obs with an ID #3173

Open
kueda opened this issue Aug 13, 2021 · 0 comments
Labels
bugs react Issues that are mostly React work

Comments

@kueda
Copy link
Member

kueda commented Aug 13, 2021

Describe the bug
In the Uploader, dragging an observation with an identification onto an observation without an identification leaves an observation without an identification. It should use the identification from the card being dragged if the card it's being dragged on to has no identification

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://www.inaturalist.org/observations/upload
  2. Create an observation without media and add an ID
  3. Create another observation without media and don't add an ID
  4. Drag the observation with an ID onto the observation without an ID: the resulting observation will have no ID

Expected behavior
When dragging an observation with an ID onto an observation without an ID, the resulting combined observation should have the ID of the observation that was dragged. However, if both observations have IDs, the ID of the observation that is being dragged on to should be preserved.

Context

  • OS: Mac OS 10.13.6
  • Browser: Brave Version 1.27.111 Chromium: 92.0.4515.131 (Official Build) (x86_64)
@kueda kueda added react Issues that are mostly React work bugs labels Aug 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugs react Issues that are mostly React work
Projects
None yet
Development

No branches or pull requests

1 participant