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

Replace Service Worker with a noop #4795

Merged
merged 7 commits into from
Apr 23, 2024
Merged

Replace Service Worker with a noop #4795

merged 7 commits into from
Apr 23, 2024

Conversation

Cloud11PL
Copy link
Member

@Cloud11PL Cloud11PL commented Apr 15, 2024

What type of PR is this?

  • 💅 Refactor
  • 🌟 Feature
  • 🔥 Bug Fix
  • 🔩 Maintenance
  • 🛠 Workflow CI/CD changes

Related Issues or Documents

  • closes #

Usage Instructions, Screenshots, Recordings

Have you written tests?

  • Yes!
  • No... here is why: not sure how to test it

[Optional] Description

  • Replaces service worker with a noop
  • Noop service worker should no longer cause errors in Sentry

Copy link

changeset-bot bot commented Apr 15, 2024

🦋 Changeset detected

Latest commit: 8504316

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
saleor-dashboard Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot temporarily deployed to pr-4795 April 15, 2024 09:23 Destroyed
@github-actions github-actions bot temporarily deployed to pr-4795 April 16, 2024 09:12 Destroyed
@github-actions github-actions bot temporarily deployed to pr-4795 April 16, 2024 09:41 Destroyed
@github-actions github-actions bot temporarily deployed to pr-4795 April 16, 2024 10:12 Destroyed
@github-actions github-actions bot temporarily deployed to pr-4795 April 16, 2024 12:15 Destroyed
@github-actions github-actions bot temporarily deployed to pr-4795 April 16, 2024 12:47 Destroyed
@github-actions github-actions bot temporarily deployed to pr-4795 April 16, 2024 13:48 Destroyed
@Cloud11PL Cloud11PL closed this Apr 16, 2024
@Cloud11PL Cloud11PL reopened this Apr 16, 2024
@github-actions github-actions bot temporarily deployed to pr-4795 April 16, 2024 13:59 Destroyed
@github-actions github-actions bot temporarily deployed to pr-4795 April 17, 2024 07:01 Destroyed
@github-actions github-actions bot temporarily deployed to pr-4795 April 17, 2024 07:21 Destroyed
@Cloud11PL Cloud11PL changed the title sw error wip Replace Service Worker with a noop Apr 17, 2024
@github-actions github-actions bot temporarily deployed to pr-4795 April 17, 2024 07:36 Destroyed
@Cloud11PL Cloud11PL marked this pull request as ready for review April 17, 2024 07:42
@Cloud11PL Cloud11PL requested a review from a team as a code owner April 17, 2024 07:42
@Cloud11PL Cloud11PL requested a review from a team April 17, 2024 07:42
poulch
poulch previously approved these changes Apr 18, 2024
package.json Outdated
"workbox-precaching": "^6.1.2",
"workbox-routing": "^6.1.2",
"workbox-strategies": "^6.1.2"
"vite-plugin-pwa": "^0.19.8"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question: do we still need pwa plugin?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. I kept it because we need to load sw.js alongside all js chunks somehow. I'll look into keeping it as a static file.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@krzysztofzuraw It seems we do not :)

@Cloud11PL Cloud11PL requested a review from a team as a code owner April 22, 2024 11:56
@github-actions github-actions bot temporarily deployed to pr-4795 April 22, 2024 11:59 Destroyed
@Cloud11PL Cloud11PL removed the request for review from a team April 22, 2024 12:01
@github-actions github-actions bot temporarily deployed to pr-4795 April 23, 2024 10:17 Destroyed
@github-actions github-actions bot temporarily deployed to pr-4795 April 23, 2024 10:36 Destroyed
@Cloud11PL Cloud11PL merged commit 69d2c6b into main Apr 23, 2024
15 checks passed
@Cloud11PL Cloud11PL deleted the MERX-202-sw-error branch April 23, 2024 11:26
poulch pushed a commit that referenced this pull request Apr 23, 2024
* we

* replace sw with noop

* update messages

* changesets

* remove unused npm pkg

* statically serve sw

* trigger
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.

3 participants