Skip to content

Conversation

zamoore
Copy link
Contributor

@zamoore zamoore commented Sep 12, 2025

📌 Summary

If merged, this PR converts the ApplicationState showcase page to gts components.

📓 Notes

There is a small Percy diff, but it's just due to making a couple of examples have the same link text as other examples in their section for the sake of brevity.

🔗 External links

Jira ticket: HDS-5329


👀 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 Sep 12, 2025

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

Project Deployment Preview Updated (UTC)
hds-showcase Ready Ready Preview Sep 22, 2025 10:07pm
hds-website Ready Ready Preview Sep 22, 2025 10:07pm

Copy link
Contributor

@didoo didoo left a comment

Choose a reason for hiding this comment

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

Left a few more comments

titleTag?: HdsApplicationStateHeaderSignature['Args']['titleTag'];
titleText?: string;
};
Element: HdsApplicationStateSignature['Element'];
Copy link
Contributor

Choose a reason for hiding this comment

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

[note] technically this is not necessary, since we're not spreading the ...attributes operator

Comment on lines +11 to +15
interface CodeFragmentWithGenericContentSignature {
Element: HdsApplicationStateSignature['Element'];
}

const CodeFragmentWithGenericContent: TemplateOnlyComponent<CodeFragmentWithGenericContentSignature> =
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
interface CodeFragmentWithGenericContentSignature {
Element: HdsApplicationStateSignature['Element'];
}
const CodeFragmentWithGenericContent: TemplateOnlyComponent<CodeFragmentWithGenericContentSignature> =
const CodeFragmentWithGenericContent: TemplateOnlyComponent =

hasSecondaryAction?: boolean;
hasStandaloneLink?: boolean;
};
Element: HdsApplicationStateSignature['Element'];
Copy link
Contributor

Choose a reason for hiding this comment

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

[note] technically this is not necessary, since we're not spreading the ...attributes operator

<SF.Item @label="{{align}} aligned">
<CodeFragmentWithErrorContent
@actions={{array "standaloneLink"}}
@align={{align}}
Copy link
Contributor

Choose a reason for hiding this comment

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

I see it now at line 126, should this be resolved?


// Overrides necessary to simulate minimized behavior
.showcase-app.frameless {
.hds-side-nav,
Copy link
Contributor

Choose a reason for hiding this comment

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

[issue] I suspect this was part of another PR (related to the removal of the SideNav component for v5.0) and sneaked into this one.

$tx: 0;
$ty: ($stack - 1) * 5px;
$tz: ($stack * 20px);
transform:
Copy link
Contributor

Choose a reason for hiding this comment

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

+1

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.

6 participants