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

Add extensionActivationState endpoint to the devtools server #6111

Merged
merged 7 commits into from
Jul 28, 2023

Conversation

kenzieschmoll
Copy link
Member

@kenzieschmoll kenzieschmoll commented Jul 27, 2023

This endpoint manages reading and writing to/from the devtools_options.yaml file. This file will store DevTools extension activation states and will live in a project's root directory (similar to analysis_options.yaml).

Example devtools_options.yaml file:

extensions:
  - foo: true
  - bar: false

In this scenario:

  • the devtools extension for package:foo has been enabled by the user
  • the devtools extension for package:bar has been disabled by the user
  • the devtools extension for some other package:baz has been neither enabled nor disabled (meaning that DevTools should prompt the user to activate).

This API will be consumed by DevTools app in a follow up PR.

work towards #1632

@kenzieschmoll kenzieschmoll requested a review from a team as a code owner July 27, 2023 21:20
@kenzieschmoll kenzieschmoll requested review from bkonyi and removed request for a team July 27, 2023 21:20
@kenzieschmoll kenzieschmoll added the autosubmit Merge PR when tree becomes green via auto submit App label Jul 28, 2023
@auto-submit auto-submit bot merged commit 14443fa into flutter:master Jul 28, 2023
19 checks passed
@kenzieschmoll kenzieschmoll deleted the dte-server branch July 31, 2023 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App release-notes-not-required
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants