Page MenuHomePhabricator

Add missing text input states in the DSG
Closed, DeclinedPublic

Description

Background/Goal

Some input states are missing in the Design Style Guide:

  • Filled in
  • Error
  • Error focus
  • Error filled

Captura de Pantalla 2022-11-23 a las 17.08.25.png (602×1 px, 255 KB)

Acceptance criteria (or Done)

  • Replace the image in the "States" section with the following image where all states were added

text_inputs_states_errorstates.png (862×932 px, 44 KB)

Event Timeline

bmartinezcalvo added a subscriber: STH.

@STHart I move this task to our sprint board since I'm working in this other task T305593 adding the endIcon missing variant in our Figma file, and I prefer to add all missing variants in the same branch.

bmartinezcalvo renamed this task from Design missing text input states to Add missing text input states in our Figma library.Apr 14 2022, 11:21 AM
bmartinezcalvo added a subscriber: iamjessklein.

Added the following missing TextInput states in our Figma library:

  • Placeholder focus
  • Filled in
  • Error
  • Error focus
  • Error filled

Captura de pantalla 2022-04-21 a las 11.04.49.png (1×2 px, 2 MB)

Also, I've taken the opportunity to update some states that were not well created in Figma and didn't match with our OOUI/Codex component demo:

  • Deleted clear icon (x) from placeholder states. Clear icon will appear only when the input has text typed inside.
  • Updated background of disabled states to align it with OOUI/Codex and with our tokens.

Updates.png (1×1 px, 178 KB)

And I've added the Keyboard Shortcuts table in the TextInput spec sheet (that was missing).

You can view all in this branch. I will merge this branch with our main Figma library when this task has been reviewed.


Requesting feedback from @iamjessklein to be able to merge the branch with the main file.

@iamjessklein I assign you the task so you can to the Design Review and provide feedback in the task.

I send to a request to review the Figma branch where I've been adding these new variants. You can view the Figma branch here. Once the branch is reviewed I will merge with the main library.

Branch merged with the main library and new TextInputs variants published.

@Volker_E I assign you the task since the last step is update the DSG with these missing states:

  • Placeholder focus
  • Filled in
  • Error
  • Error focus
  • Error filled
STH triaged this task as High priority.Apr 30 2022, 6:13 PM
bmartinezcalvo renamed this task from Add missing text input states in our Figma library to Add missing text input states in the DSG.Jun 27 2022, 1:05 PM

@Volker_E I've created the following image with all the Text Input states. The current image in the "States" section in the DSG should be replaced with this new one.

text_inputs_states_errorstates.png (862×932 px, 44 KB)

Volker_E lowered the priority of this task from High to Low.Jan 31 2023, 5:46 PM