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

🚚 [devext] move devtools status to panel #2074

Conversation

BenoitZugmeyer
Copy link
Member

Motivation

Having the devtools status in the store was always a bit weird, since it's more a temporary state than something we want to store on the long term.

Also, its refresh strategy was not very good since it was only refreshed when the store changed, so it did not refresh when running yarn dev without manipulating the extension settings.

Changes

Let's put it in the devtools panel directly, as a hook that periodically polls the dev server.

Testing

  • Local
  • Staging
  • Unit
  • End to end

I have gone over the contributing documentation.

@BenoitZugmeyer BenoitZugmeyer requested a review from a team as a code owner March 13, 2023 15:25
Copy link
Contributor

@bcaudan bcaudan left a comment

Choose a reason for hiding this comment

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

Nice!

Base automatically changed from benoit/developer-extension--move-components to innovation-week/developer-extension March 17, 2023 09:54
@BenoitZugmeyer BenoitZugmeyer force-pushed the benoit/developer-extension--move-devtools-status branch from 709fa8a to 7657b83 Compare March 17, 2023 10:01
Having the devtools status in the store was always a bit weird, since
it's more a temporary state than something we want to store on the long
term.

Also, its refresh strategy was not very good since it was only refreshed
when the store changed, so it did not refresh when running `yarn dev`
without manipulating the extension settings.

Let's put it in the devtools panel directly, as a hook that periodically
polls the dev server.
@BenoitZugmeyer BenoitZugmeyer force-pushed the benoit/developer-extension--move-devtools-status branch from 7657b83 to 13af924 Compare March 17, 2023 18:21
@BenoitZugmeyer BenoitZugmeyer merged commit ba7080f into innovation-week/developer-extension Mar 20, 2023
@BenoitZugmeyer BenoitZugmeyer deleted the benoit/developer-extension--move-devtools-status branch March 20, 2023 09:09
BenoitZugmeyer added a commit that referenced this pull request Mar 28, 2023
* ♻️ [devext] move components modules around (#2071)

* ♻️ [devext] move button to end the session next to the session info (#2073)

* 🚚 [devext] move devtools status to panel (#2074)

Having the devtools status in the store was always a bit weird, since
it's more a temporary state than something we want to store on the long
term.

Also, its refresh strategy was not very good since it was only refreshed
when the store changed, so it did not refresh when running `yarn dev`
without manipulating the extension settings.

Let's put it in the devtools panel directly, as a hook that periodically
polls the dev server.
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.

2 participants