devtools icon indicating copy to clipboard operation
devtools copied to clipboard

Post-html-delete cleanup [meta tracking issue]

Open kenzieschmoll opened this issue 5 years ago • 5 comments

  • [x] P0 build and publish scripts need to be updated, and building from dart bin/devtools.dartis broken. Audit whole app startup from server flow. Related (https://github.com/flutter/devtools/issues/1468). Fixed by https://github.com/flutter/devtools/pull/1975
  • [x] P0 Hook up analytics to flutter app if anything was broken during html delete @terrylucas https://github.com/flutter/devtools/issues/2005
  • [ ] Audit service manager code and convert stream patterns to ValueListenable patterns
  • [ ] Audit controllers and delete dead code, convert streams patterns to ValueListenable patterns where possible
    • [ ] Inspector @jacob314
    • [x] Timeline @kenzieschmoll
    • [ ] Memory @terrylucas
    • [x] Performance @kenzieschmoll
    • [ ] Debugger
    • [ ] Network
    • [x] Logging (simplify the logging_controller library - see logging related todos) @kenzieschmoll
    • [x] Info @kenzieschmoll
  • [ ] Re-write integration tests for flutter app https://github.com/flutter/devtools/issues/1987
  • [ ] cleanup icons
  • [x] cleanup colors

kenzieschmoll avatar May 14 '20 16:05 kenzieschmoll

@DanTup do you have time to take a look at the integration tests and fixing the build from server? You probably have the most knowledge of this code.

kenzieschmoll avatar May 14 '20 18:05 kenzieschmoll

@DanTup do you have time to take a look at the integration tests and fixing the build from server? You probably have the most knowledge of this code.

I'm a little less familiar with the non-server tests, but my understanding from the comments at https://github.com/flutter/devtools/pull/1902#issuecomment-623570632 is that these tests won't be ported over (they're tightly-coupled to the HTML app - or at least - the testing interface that was part of it) and instead replaced with Flutter widget/driver tests.

It may be worth extracting a list of the tests into an issue before removing the old ones that can be worked through.

DanTup avatar May 15 '20 11:05 DanTup

and fixing the build from server?

Missed this - but not sure exactly what this refers to?

DanTup avatar May 15 '20 11:05 DanTup

and fixing the build from server?

Missed this - but not sure exactly what this refers to?

If you try launch the app via serveDevToolsWithArgs from the server, it fails. I usually do this by running the publish script, and then running dart devtools/bin/devtools.dart.

kenzieschmoll avatar May 18 '20 16:05 kenzieschmoll

@kenzieschmoll is the problem that it launches with to a white empty page? If so, that will be fixed by https://github.com/flutter/devtools/pull/1975 - the script was still building both versions and putting the Flutter version at /flutter.html.

DanTup avatar May 18 '20 17:05 DanTup