Overview

  • Add text-based test cases to xb_test_state_api module.
  • As part of getting those tests to pass Make the text components use native elements instead of radix
  • Even if the text inputs can't look identical, it should look pretty close. More formal designs will be provided in the future so there's no need to be pixel perfect if it prevents the functionality from happening.

Proposed resolution

Manual Test

Enable xb_test_state_api module and try the inputs added in this MR

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

bnjmnm created an issue. See original summary.

bnjmnm’s picture

Component: Page builder » Semi-Coupled theme engine
Status: Postponed » Needs review

Overview

  • Add text-based test cases to xb_test_state_api module.
  • As part of getting those tests to pass Make the text components use native elements instead of radix
  • Even if the text inputs can't look identical, it should look pretty close. More formal designs will be provided in the future so there's no need to be pixel perfect if it prevents the functionality from happening.

Proposed resolution

Manual Test

Enable xb_test_state_api module and try the inputs added in this MR

bnjmnm’s picture

Issue summary: View changes

jessebaker made their first commit to this issue’s fork.

  • bnjmnm committed cd2e604f on 0.x
    Issue #3526866 by bnjmnm, jessebaker: Get Semi-coupled Text form...
bnjmnm’s picture

Assigned: bnjmnm » Unassigned
Status: Needs review » Fixed

The final form element is de-Radix'd, which should make things easier & more stable 😎

lauriii’s picture

Status: Fixed » Needs work
StatusFileSize
new21.87 KB
new21.14 KB

This was a pretty major regression for the styling of the textfields:

Before:

After:

bnjmnm’s picture

Status: Needs work » Needs review
StatusFileSize
new59.66 KB

The mr 3526866-pretty-major-regression updated some CSS and here's a comparison of the MR to HEAD.

hooroomoo’s picture

I noticed that this focus color for the TextField is different from the focus color of TextAreas. (because text area hasn't been de-radixified yet and I think is just using the color defined in the top level Radix theme wrapper)

Should we make the focus colors be consistent across TextField and TextArea since they were consistent before?

Maybe we can we just change the TextField focus color to be the radix default for now instead of updating an out of scope TextArea here.

text field

text area

hooroomoo’s picture

Status: Needs review » Needs work
bnjmnm’s picture

Status: Needs work » Needs review
StatusFileSize
new111 KB
new128.1 KB

Re #11 There were styles for this but it looks like there were some conflicts with focus-visible vs visible but this should be good now.

  • hooroomoo committed 37ac68e1 on 0.x authored by bnjmnm
    Issue #3526866 by bnjmnm, jessebaker: Get Semi-coupled Text form...
hooroomoo’s picture

Status: Needs review » Fixed
hooroomoo’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.