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

fix(pickup): fix map not mounting again after having been unmounted #239

Merged
merged 3 commits into from
Sep 19, 2024

Conversation

FreekVR
Copy link
Contributor

@FreekVR FreekVR commented Sep 6, 2024

Fixes an issue where the map would not work again after removal.

Updates the usePickupLocationsMap-composable to use a global state where possible and not use memoization to achieve the same.

Additionally fixes an issue where the map could be panned before being fully loaded.

Fixes: INT-641

@FreekVR FreekVR requested a review from a team as a code owner September 6, 2024 08:49
Copy link

netlify bot commented Sep 6, 2024

Deploy Preview for myparcel-delivery-options ready!

Name Link
🔨 Latest commit a41b9ba
🔍 Latest deploy log https://app.netlify.com/sites/myparcel-delivery-options/deploys/66e8746b2894850008439b54
😎 Deploy Preview https://deploy-preview-239--myparcel-delivery-options.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

codecov bot commented Sep 6, 2024

Bundle Report

Changes will increase total bundle size by 171 bytes (0.06%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
@myparcel/delivery-options-MyParcelDeliveryOptionsLib-esm 151.7kB 81 bytes ⬆️
@myparcel/delivery-options-MyParcelDeliveryOptionsLib-esm-MyParcelDeliveryOptionsLib-umd 116.94kB 90 bytes ⬆️

@myparcel-bot myparcel-bot bot added the approved (Auto) label Sep 9, 2024
@myparcel-bot myparcel-bot bot force-pushed the fix/INT-641-fix-map-not-working-after-unmounting branch from 4bc4edb to caa5b5d Compare September 11, 2024 10:39
Copy link

codecov bot commented Sep 11, 2024

Codecov Report

Attention: Patch coverage is 51.72414% with 14 lines in your changes missing coverage. Please review.

Project coverage is 74.47%. Comparing base (8285c78) to head (d3a51b1).

Files with missing lines Patch % Lines
...y-options/src/composables/usePickupLocationsMap.ts 44.00% 14 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #239      +/-   ##
==========================================
+ Coverage   74.36%   74.47%   +0.10%     
==========================================
  Files         341      341              
  Lines        7326     7330       +4     
  Branches      605      605              
==========================================
+ Hits         5448     5459      +11     
+ Misses       1281     1274       -7     
  Partials      597      597              

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

@myparcel-bot myparcel-bot bot force-pushed the fix/INT-641-fix-map-not-working-after-unmounting branch from caa5b5d to d3a51b1 Compare September 11, 2024 10:48
@EdieLemoine EdieLemoine requested a review from a team as a code owner September 11, 2024 12:28
@myparcel-bot myparcel-bot bot force-pushed the fix/INT-641-fix-map-not-working-after-unmounting branch from d3a51b1 to 10d4925 Compare September 16, 2024 13:39
@FreekVR FreekVR force-pushed the fix/INT-641-fix-map-not-working-after-unmounting branch from 10d4925 to 0fb40ca Compare September 16, 2024 14:02
EdieLemoine and others added 3 commits September 16, 2024 18:09
Fixes an issue where the map would not work again after removal.

Updates the `usePickupLocationsMap`-composable to use a global state
where possible and not use memoization to achieve the same.

Additionally fixes an issue where the map could be panned before being
fully loaded.

Fixes: INT-641
@myparcel-bot myparcel-bot bot force-pushed the fix/INT-641-fix-map-not-working-after-unmounting branch from 0fb40ca to a41b9ba Compare September 16, 2024 18:09
@RichardPerdaan RichardPerdaan added this pull request to the merge queue Sep 19, 2024
Merged via the queue into main with commit e810b8e Sep 19, 2024
11 of 12 checks passed
@RichardPerdaan RichardPerdaan deleted the fix/INT-641-fix-map-not-working-after-unmounting branch September 19, 2024 07:10
myparcel-bot bot added a commit that referenced this pull request Sep 19, 2024
## [@myparcel/delivery-options-v6.2.3](v6.2.2...v6.2.3) (2024-09-19)

### 🐛 Bug Fixes

* **pickup:** fix map not mounting again after having been unmounted ([#239](#239)) ([e810b8e](e810b8e))
@myparcel-bot
Copy link
Contributor

myparcel-bot bot commented Sep 19, 2024

🎉 This issue has been resolved in version @myparcel/delivery-options-v6.2.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

4 participants