Skip to content

Conversation

@ShGKme
Copy link
Contributor

@ShGKme ShGKme commented Dec 30, 2025

☑️ Resolves

🖼️ Screenshots

switch-1

switch-2

🏁 Checklist

  • ⛑️ Tests are included or are not applicable
  • 📘 Component documentation has been extended, updated or is not applicable
  • 2️⃣ Backport to stable8 for maintained Vue 2 version or not applicable

Signed-off-by: Grigorii K. Shartsev <[email protected]>
@ShGKme ShGKme added this to the 9.4.0 milestone Dec 30, 2025
@ShGKme ShGKme requested review from Antreesy, kra-mo and susnux December 30, 2025 15:44
@ShGKme ShGKme self-assigned this Dec 30, 2025
@ShGKme ShGKme added bug Something isn't working 3. to review Waiting for reviews labels Dec 30, 2025
@ShGKme
Copy link
Contributor Author

ShGKme commented Dec 30, 2025

/backport to stable8

@codecov
Copy link

codecov bot commented Dec 30, 2025

Codecov Report

❌ Patch coverage is 50.00000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 53.28%. Comparing base (3736e0e) to head (331fc27).
⚠️ Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
...mponents/NcIconToggleSwitch/NcIconToggleSwitch.vue 25.00% 1 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8045      +/-   ##
==========================================
+ Coverage   53.25%   53.28%   +0.02%     
==========================================
  Files         101      102       +1     
  Lines        3145     3147       +2     
  Branches      872      871       -1     
==========================================
+ Hits         1675     1677       +2     
+ Misses       1232     1231       -1     
- Partials      238      239       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@Antreesy Antreesy left a comment

Choose a reason for hiding this comment

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

Tested in app, looks good

</style>

<docs>
Private component
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe expose it just like NcLoadingIcon?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

IMO, existing components should cover all the cases of toggle switches. Loading icon, in contrast, is used directly in most of the cases because we don't have any alternatives like loading states of containers/buttons/inputs.

@ShGKme ShGKme merged commit 56944f3 into main Dec 30, 2025
26 of 27 checks passed
@ShGKme ShGKme deleted the fix/animated-switch branch December 30, 2025 17:14
@Antreesy Antreesy mentioned this pull request Jan 8, 2026
@Antreesy Antreesy modified the milestones: 9.4.0, 9.3.2 Jan 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[NcCheckboxRadioSwitch, NcFormBoxSwitch] Animate switch toggle

5 participants