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 a DevTool context menu #36

Closed
maximbircu opened this issue Apr 22, 2020 · 0 comments · Fixed by #44
Closed

Add a DevTool context menu #36

maximbircu opened this issue Apr 22, 2020 · 0 comments · Fixed by #44
Assignees
Labels
android Relates to Android platform feature New feature or request

Comments

@maximbircu
Copy link
Owner

maximbircu commented Apr 22, 2020

Abstract

We need to add a context menu to each dev tool which will help to perform some actions to update the tools state, like reset its configuration value to default or revert the updates the user made to it. Also, an useful action might be an action that will display a help dialog.

Help Dialog: Sometimes the DevTool title is not enough to explain its scope to the user. It would be nice to have a help component(an info button attached to all dev tool items) which will display a dev tool detailed info in for of a dialog.

Requirements

Add a dev tool context menu.
All tools except Group Tool should have the following items:

  • Help
  • Select default
  • Reset selection

Group tools should have the following items:

  • Enable all
  • Disable all
  • Set all to default
  • Reset all changes

Implement a DevTool help component which will display:

  1. Tool title;
  2. Tool description;
  3. Tool key;
  4. Tool current configuration value;
  5. Tool default configuration value.

Consumer flow

  1. Open the sample app;
  2. Select any source;
  3. Notice dev tool items have a context menu, make sure all context menu actions are working properly;
  4. Make sure the Help Dialog shows proper data.
@maximbircu maximbircu added feature New feature or request android Relates to Android platform labels Apr 22, 2020
@maximbircu maximbircu self-assigned this Apr 22, 2020
@maximbircu maximbircu changed the title Add a DevTool hint component Add a DevTool help component Apr 25, 2020
@maximbircu maximbircu changed the title Add a DevTool help component Add a DevTool context menu Apr 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android Relates to Android platform feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant