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: page and popup state is destroyed on background wakeup #265

Merged

Conversation

praschke
Copy link
Collaborator

@praschke praschke commented Oct 1, 2023

when the background script starts, it sends a Yomichan.optionsUpdated message which is retransmitted indiscriminately.

  • popups are all torn down/refreshed
  • the search bar on the search page can lose state
  • if a popup has been loaded on the search page, the search page can redirect/refresh
  • options being edited can lose state and the options page can refresh

when the background script starts, it sends a
`Yomichan.optionsUpdated` message which is retransmitted
indiscriminately.

- popups are all torn down/refreshed
- the search bar on the search page can lose state
- if a popup has been loaded on the search page, the search page can
  redirect/refresh
- options being edited can lose state and the options page can refresh
@praschke praschke requested a review from a team as a code owner October 1, 2023 09:29
@djahandarie djahandarie added the kind/bug The issue or PR is regarding a bug label Oct 1, 2023
@github-actions
Copy link

github-actions bot commented Oct 1, 2023

✔️ No visual differences introduced by this PR.

View Playwright Report (note: open the "playwright-report" artifact)

@djahandarie djahandarie added this pull request to the merge queue Oct 1, 2023
Merged via the queue into yomidevs:master with commit feeeb83 Oct 1, 2023
5 checks passed
@praschke praschke deleted the optionsUpdated-background-init branch October 1, 2023 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug The issue or PR is regarding a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants