Skip to content

Work towards migrating devtools_app to package:web #6626

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

Merged
merged 23 commits into from
Nov 13, 2023

Conversation

kenzieschmoll
Copy link
Member

@kenzieschmoll kenzieschmoll commented Oct 31, 2023

Migrates most of devtools_app to use package:web. There are a handful of remaining uses to migrate that are not straightforward or where package:web is missing some getters. I documented those on #6606.

I also cleaned up some of the conditional imports while I was here (renaming files, removing unnecessary stub files, etc.).

@kenzieschmoll kenzieschmoll requested a review from a team as a code owner October 31, 2023 19:42
@kenzieschmoll kenzieschmoll requested review from CoderDake and removed request for a team October 31, 2023 19:42
@kenzieschmoll kenzieschmoll requested a review from kevmoo October 31, 2023 19:51
Copy link
Contributor

@srujzs srujzs left a comment

Choose a reason for hiding this comment

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

Thanks for doing this migration, and sorry for so much feedback!

@@ -166,7 +165,7 @@ class PerfettoControllerImpl extends PerfettoController {
);
_initialized = true;

_perfettoIFrame = html.IFrameElement()
_perfettoIFrame = createElementTag('iframe') as HTMLIFrameElement
Copy link
Contributor

Choose a reason for hiding this comment

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

Note that this cast is okay in contrast with the cast above. You're casting between interop types and you know it's that type. I think this isn't a lint in the future with extension types.

@mkustermann mkustermann mentioned this pull request Nov 8, 2023
7 tasks
@kenzieschmoll kenzieschmoll merged commit 085050a into flutter:master Nov 13, 2023
@kenzieschmoll kenzieschmoll deleted the pkg-web branch November 13, 2023 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants