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

Canvassing: Unintentional map panning #2549

Open
sefsh opened this issue Feb 6, 2025 · 0 comments
Open

Canvassing: Unintentional map panning #2549

sefsh opened this issue Feb 6, 2025 · 0 comments
Labels
🐜 bug Something isn't working

Comments

@sefsh
Copy link

sefsh commented Feb 6, 2025

Description

The feature

Zetkin features a new tool for organizing so-called canvassing (visiting households for talking and distributing material). Canvassers are provided with a dedicated interface in which they can view and interact with areas and locations visualized on a map.

The bug

When interacting with the map navigation tools in the top-left corner it's fairly easy to make the mistake of tapping the small map area left or top of the button group. This causes the map to pan to a different location, creating a loss of user focus.

Steps to reproduce

  1. Go to https://app.dev.zetkin.org/organize/1
  2. Make sure you're signed in as [email protected]
  3. Click on 🗺 Geography in the side menu
  4. Draw an area (currently by clicking the DRAW button and putting a few points on screen)
  5. Click SAVE button to save the area.
  6. Create a project from the top-right button
  7. Create an area assignment from the "CREATE" button, call it Reporting test
  8. Click on maps tab in the newly created area assignment
  9. Use the map interface to locate and click on the area created in step 4
  10. Type to find, and select the user Angela Davis in the Add assignee dropdown.
  11. Click the top-right START ASSIGNMENT button
  12. Go to https://app.dev.zetkin.org/my
  13. Locate the and tap the Reporting test area assignment (possibly filed under "Canvass" category)
  14. Tap START ASSIGNMENT
  15. Tap the zoom controls (+/-) recklessly

Expected Behaviour

Buttons work reliably even with somewhat inaccurate taps, maximizing tap area for each button.

Actual Behaviour

Tapping buttons inaccurately may trigger map pan instead.

Screenshots

Image

@sefsh sefsh changed the title Canvassing: Unintentional map panning WIP: Canvassing: Unintentional map panning Feb 6, 2025
@sefsh sefsh changed the title WIP: Canvassing: Unintentional map panning Canvassing: Unintentional map panning Feb 7, 2025
@sefsh sefsh added the 🐜 bug Something isn't working label Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐜 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant