Skip to content
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

Convert SuperSelect components to TypeScript #2356

Merged
merged 15 commits into from
Aug 23, 2024

Conversation

alex-ju
Copy link
Member

@alex-ju alex-ju commented Aug 22, 2024

πŸ“Œ Summary

Convert SuperSelect components to TypeScript

πŸ› οΈ Detailed description

  • Converted SuperSelect::Single components to TypeScript
  • Converted SuperSelect::Multiple components to TypeScript

Notable changes:

  • moved from extending the PowerSelectComponent class to using the publicAPI (this is because we now need to extend the glimmer Component; it also makes more sense to uncouple the classes and use the API instead)
  • fixed default results message in SuperSelect::Single (changed from results to total as per design)

πŸ”— External links

Jira ticket: HDS-2723


πŸ‘€ Component checklist

πŸ’¬ Please consider using conventional comments when reviewing this PR.

Copy link

vercel bot commented Aug 22, 2024

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Updated (UTC)
hds-showcase βœ… Ready (Inspect) Visit Preview Aug 23, 2024 0:35am
hds-website βœ… Ready (Inspect) Visit Preview Aug 23, 2024 0:35am

Copy link
Contributor

@shleewhite shleewhite left a comment

Choose a reason for hiding this comment

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

Mostly questions! Couple of small things and I think you need to add an export to the components.ts file.

@alex-ju alex-ju merged commit d045767 into main Aug 23, 2024
16 checks passed
@alex-ju alex-ju deleted the alex-ju/typescript-super-select branch August 23, 2024 15:07
@hashibot-hds hashibot-hds mentioned this pull request Aug 23, 2024
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.

3 participants