cityofaustin / atd-moped

A comprehensive mobility project tracking platform for Austin, Texas.
https://mobility.austin.gov/moped/
4 stars 3 forks source link

[Bug] Alert that a moved component cannot be found in original project is missing #1355

Closed chiaberry closed 5 months ago

chiaberry commented 5 months ago

Associated issues

Closes https://github.com/cityofaustin/atd-data-tech/issues/17518

Testing

URL to test: https://deploy-preview-1355--atd-moped-main.netlify.app/moped/projects/

Steps to test:

  1. Visit a project (for example https://deploy-preview-1355--atd-moped-main.netlify.app/moped/projects/2022?tab=map&project_component_id=2627)
  2. Move a component from your project to another project, and then try to visit the previous link. Alternately, make up a component id that doesnt exist: (https://deploy-preview-1355--atd-moped-main.netlify.app/moped/projects/2022?tab=map&project_component_id=262300) Make sure you can see the alert.
  3. Test adding a component, but be zoomed out -- verify the "zoom in to select features" alert appears. And disappears when you zoom in.
  4. This project has related project components, but no mapped components of its own. Verify that if you try this link for a non existent project component id, you still see the alert (https://deploy-preview-1355--atd-moped-main.netlify.app/moped/projects/1940?tab=map&project_component_id=236200)

Ship list