Skip to content

Conversation

@shleewhite
Copy link
Contributor

πŸ“Œ Summary

πŸ› οΈ Detailed description

πŸ“Έ Screenshots

πŸ”— External links

Jira ticket: HDS-XXX
Figma file: [if it applies]


πŸ‘€ 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.

@vercel
Copy link

vercel bot commented Oct 25, 2025

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

Project Deployment Preview Updated (UTC)
hds-showcase Ready Ready Preview Oct 27, 2025 7:22pm
hds-website Ready Ready Preview Oct 27, 2025 7:22pm

import { click, render, settled, find } from '@ember/test-helpers';
import Accordion from '@hashicorp/design-system-components/components/hds/accordion/index';
import Item from '@hashicorp/design-system-components/components/hds/accordion/item/index';
import { tracked } from 'tracked-built-ins';
Copy link
Collaborator

Choose a reason for hiding this comment

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

ideally we would only use specific packages like TrackedArray, TrackedObject etc. from this package otherwise use @glimmer/tracking

as very soon we will migrate from tracked-built-ins to @ember/reactivity/collections https://rfcs.emberjs.com/id/1068-tracked-collections

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah ok! I can update.

import { click, render } from '@ember/test-helpers';
import { hbs } from 'ember-cli-htmlbars';
import { click, render, settled, find } from '@ember/test-helpers';
import Accordion from '@hashicorp/design-system-components/components/hds/accordion/index';
Copy link
Collaborator

Choose a reason for hiding this comment

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

I do recognize this is done by codemod also probably up to HDS but it migth make sene to import this how it's being used on consumer side like

Suggested change
import Accordion from '@hashicorp/design-system-components/components/hds/accordion/index';
import { HdsAccordion, HdsItem } from '@hashicorp/design-system-components/components';

with that being said either way works fine

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah I agree, I'm planning to do a commit at the end where I fix all the import paths.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants