Skip to content

Conversation

zamoore
Copy link
Contributor

@zamoore zamoore commented Oct 6, 2025

πŸ“Œ Summary

If merged, this PR moves ember-basic-dropdown from a dev dependency to a dependency.

πŸ› οΈ Detailed description

This change addresses a runtime error for consumers of Hds::Form::SuperSelect. The component relies on ember-basic-dropdown, but since it was only a devDependency in HDS, applications that didn't have ember-basic-dropdown installed themselves would encounter a crash. Moving it to dependencies ensures it is always available when HDS is installed.

To validate the impact of this change, we conducted a spike in Atlas, which uses an older major version of the dependency (ember-basic-dropdown@^7.3.0). The goal was to ensure that introducing HDS's new dependency on ember-basic-dropdown@^8.0.0 would not cause build failures or runtime conflicts.

The test was successful:

  • The Atlas application builds and runs without any ember dependency-lint errors.
  • We confirmed that both Hds::SuperSelect (using ember-basic-dropdown@8 via HDS) and existing, direct usages of <BasicDropdown> in Atlas (using ember-basic-dropdown@7) render and function correctly.

πŸ”— External links

Jira ticket: HDS-5273


πŸ‘€ Component checklist

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

πŸ“‹ PCI review checklist
  • If applicable, I've documented a plan to revert these changes if they require more than reverting the pull request.
  • If applicable, I've worked with GRC to document the impact of any changes to security controls.
    Examples of changes to controls include access controls, encryption, logging, etc.
  • If applicable, I've worked with GRC to ensure compliance due to a significant change to the in-scope PCI environment.
    Examples include changes to operating systems, ports, protocols, services, cryptography-related components, PII processing code, etc.

Copy link

vercel bot commented Oct 6, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
hds-showcase Ready Ready Preview Oct 6, 2025 9:30pm
hds-website Ready Ready Preview Oct 6, 2025 9:30pm

@zamoore zamoore added release-candidate Publishes release candidates to npm and removed release-candidate Publishes release candidates to npm labels Oct 6, 2025
@zamoore zamoore marked this pull request as ready for review October 6, 2025 17:49
@zamoore zamoore requested a review from a team as a code owner October 6, 2025 17:49
Copy link
Contributor

github-actions bot commented Oct 6, 2025

πŸ“¦ RC Packages Published

Latest commit: e93b70d

Published 1 packages

@hashicorp/[email protected]

yarn up -C @hashicorp/design-system-components@rc

@zamoore zamoore changed the base branch from main to main-5.0.0 October 6, 2025 21:41
@zamoore zamoore changed the title SPIKE DO NOT MERGE - Moving ember-basic-dropdown to a dep Make ember-basic-dropdown a dependency Oct 6, 2025
@zamoore zamoore closed this Oct 7, 2025
@zamoore
Copy link
Contributor Author

zamoore commented Oct 7, 2025

Closed in favor of #3282

@zamoore zamoore deleted the zamoore/hds-5273/ember-basic-dropdown branch October 7, 2025 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
packages/components release-candidate Publishes release candidates to npm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants