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

Phone System Zoom and Focus Issue #865

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

pablo014
Copy link
Contributor

@pablo014 pablo014 commented May 20, 2024

This PR solves the zoom in and incident center issue.

In zooming the main issue was two things

  1. The hit box was sometimes too small to hit with a mouse causing users to zoom into a wrong area
  2. Sometimes the value of the maputil was not found so I made sure that there is always a maputils value before zooming in and out

In the jumping to incident center the main issue was that the coordinates being passed in were backwards

These were fixed by setting the coordinates correctly, increased the hit box for a given simple map and checking if there is a map utils value whenever you zoom in or out

Copy link

codecov bot commented May 20, 2024

Codecov Report

Attention: Patch coverage is 0% with 13 lines in your changes missing coverage. Please review.

Project coverage is 19.04%. Comparing base (feb981c) to head (8c7aeac).

Files with missing lines Patch % Lines
src/pages/phone/PhoneSystem.vue 0.00% 7 Missing ⚠️
src/components/SimpleMap.vue 0.00% 4 Missing ⚠️
src/components/tags/LanguageTag.vue 0.00% 1 Missing ⚠️
src/hooks/live/useLiveChart.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #865      +/-   ##
==========================================
- Coverage   19.04%   19.04%   -0.01%     
==========================================
  Files         428      428              
  Lines       67157    67159       +2     
  Branches     1445     1445              
==========================================
  Hits        12789    12789              
- Misses      54368    54370       +2     
Flag Coverage Δ
unitTests 19.04% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

github-actions bot commented May 20, 2024

Playwright test results

passed  47 passed
flaky  3 flaky

Details

stats  50 tests across 11 suites
duration  4 minutes, 33 seconds
commit  8c7aeac

Flaky tests

chromium-setup › auth.setup.ts › authenticate as user - ( @primary @slow @read @development @staging @production )
chromium › pages/myOrganization.test.ts › MyOrganization › Invitation Management: should display all required elements - ( @primary @slow @read @development @staging @production )
chromium › pages/user-profile.test.ts › UserProfile › should have visible data-testids - ( @primary @slow @read @development @staging @production )

@pablo014 pablo014 force-pushed the fix/simple-map-zoom branch from ef3754d to a7e5855 Compare May 21, 2024 23:09
@pablo014 pablo014 changed the title WIP: Phone System Zoom and Focus Issue Phone System Zoom and Focus Issue May 21, 2024
@pablo014 pablo014 requested a review from deepanchal May 21, 2024 23:38
@pablo014 pablo014 force-pushed the fix/simple-map-zoom branch from 2688192 to 8c7aeac Compare January 22, 2025 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant