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: enable InspectorAddon on release builds #1087

Merged
merged 7 commits into from
Dec 13, 2023

Conversation

dominic-cot
Copy link
Contributor

By passing enabled to the Inspector widget we ensure that the inspector is properly toggled for release builds. See issue below for further details.

List of issues which are fixed by the PR

Screenshots

For the following screenshots I ran flutter build web and then ran the build with dhhtpd.
First is before change, and second is with my change, where you can see the Inspector is now shown.

image

image

Checklist

  • I signed the CLA.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making].
  • All existing and new tests are passing.

If you need help, consider asking for advice on Discord.

Copy link

docs-page bot commented Dec 13, 2023

To view this pull requests documentation preview, visit the following URL:

docs.widgetbook.io/~1087

Documentation is deployed and generated using docs.page.

@YoussefRaafatNasry YoussefRaafatNasry changed the title fix: Pass enabled to Inspector widget fix: enable InspectorAddon on release builds Dec 13, 2023
Copy link
Member

@YoussefRaafatNasry YoussefRaafatNasry left a comment

Choose a reason for hiding this comment

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

I have updated the PR with the changes to get it merged before the ongoing release.
Thanks a lot for you contribution! 💙

@YoussefRaafatNasry YoussefRaafatNasry merged commit 3221b10 into widgetbook:main Dec 13, 2023
8 checks passed
@YoussefRaafatNasry YoussefRaafatNasry linked an issue Dec 13, 2023 that may be closed by this pull request
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.

InspectorAddon does not work on release builds
2 participants