maximbircu/devtools-library

Improve EnumTool UX

Closed this issue · 0 comments

Abstract

The current EnumTool component UI is ok enough as soon as we have a small number of options, however, it might be not handy for a large number of options.

It would be nice if the library will provide a dialog with a vertically scrollable list for tools with large options size.

Requirements

  1. Split the DevTool view component option selector to a compact(with chips) and an extended one(a scrollable list inside a dialog);
  2. Show the compact view when the tool options size is smaller than 7 and extended one vice-versa.

Consumer flow

  1. Open the sample app;
  2. Find the Enum tool [Custom Provider];
  3. Make sure you can update its configuration value and the configuration value is persisted.