Allow more flexible input for flex values
- Lingua principale
- Dart
- Stelle
- 1.7k
- Fork
- 404
- Merge medio
- 6g 17h
- PR unite (30g)
- 18
Descrizione
Currently the flex inputs in the Devtools UI only allows flex value inputs for `null` and `0` through `5`.
A fix is being put in that will show flex values >5 to show in the UI, but that will only be if the user has put in that flex value programmatically.
After the fix is put in, the flex input will look as follows, if a value of 70 is put in the flex box, and then user clicks on it.
Before Click

After Click

This approach still has issues:
- having such a long like is unwieldy from a UI perspective
- the user has no way to enter numbers > 5 from the UI.
To improve this experience we should find a way to support more diverse input and a UI experience.
Potentially we could have a text input, that would allow us to enter an integer, or null.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia in Devtools UI flex input e riproduci il comportamento attuale per null e per i valori da 0 a 5, inclusi i valori superiori a 5 inseriti programmaticamente. Definisci l’input e l’interazione supportati prima di modificarli; il lavoro è completo quando gli utenti possono inserire valori flex più ampi tramite l’UI senza che il valore lungo visualizzato diventi difficile da gestire.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- dart
- Ambito
- developer-experience, tooling
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 38/100