Skip to content

feat:(DS-1367) Update disabled color datapicker#932

Closed
nataliogympass wants to merge 3 commits intomasterfrom
ds-1367
Closed

feat:(DS-1367) Update disabled color datapicker#932
nataliogympass wants to merge 3 commits intomasterfrom
ds-1367

Conversation

@nataliogympass
Copy link
Contributor

@nataliogympass nataliogympass commented Feb 11, 2026

JIRA Issue

Description 📄

Data picker color update when disabled.

Platforms 📲

  • Web
  • Mobile

Type of change 🔍

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested? 🧪

[Enter the tips to test this PR]

  • Unit Test
  • Snapshot Test

Checklist: 🔍

  • My code follows the contribution guide of this project Contributing Guide
  • Layout matches design prototype: FIGMA
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings

Screenshots 📸

[Upload your screenshots here]

Before After
Captura de Tela 2026-02-11 às 15 06 14 Captura de Tela 2026-02-11 às 15 31 43

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this change is right. But I'm wondering if we would need to review past PRs and handle semantics. The latest PR, for example, changed things from backgroundAndDisabled to colors.steady directly. Was that right? Example: https://github.com/gympass/yoga/pull/930/changes?show-viewed-files=true#diff-dcafe1732fcde07b11e67e289de697a2a33e37f0d7124b10aafdc4a4de469938

},
}) => `
fill: ${disabled ? colors.text.disabled : colors.text.primary};
fill: ${disabled ? colors.steady : colors.text.primary};
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at v3theme, colors.text.disabled === colors.steady. Does this component really need refactoring?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adjusted

}
if (disabled) {
return colors.text.disabled;
return colors.steady;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at v3theme, colors.text.disabled === colors.steady. Does this component really need refactoring?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adjusted

@sonarqubecloud
Copy link

❌ The last analysis has failed.

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants