Skip to content

refactor(NcUserStatusIcon): migrate component to Typescript #6820

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 13, 2025

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Apr 21, 2025

☑️ Resolves

Migrate the component to Typescript + script setup.
Also added tests to prevent regressions.

🏁 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

@susnux susnux added 3. to review Waiting for reviews refactor ♻️ Pull request that is neither a fix nor a feature labels Apr 21, 2025
@susnux susnux force-pushed the refactor/nc-user-status-icon-ts branch from 4f29f49 to 441e8e7 Compare May 12, 2025 20:10
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.

Looks fine, but didn't test it.

Not sure if some convertations from null to undefined would work correctly (e.g. ariaLabel as undefined should be OK, but v-html directive? status model being null/undefined?

@susnux susnux force-pushed the refactor/nc-user-status-icon-ts branch 2 times, most recently from d76b33b to f90cf02 Compare May 13, 2025 11:21
@susnux susnux force-pushed the refactor/nc-user-status-icon-ts branch from f90cf02 to b269847 Compare May 13, 2025 11:47
@susnux susnux merged commit a3e1cf8 into main May 13, 2025
25 checks passed
@susnux susnux deleted the refactor/nc-user-status-icon-ts branch May 13, 2025 11:57
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 refactor ♻️ Pull request that is neither a fix nor a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants