-
Notifications
You must be signed in to change notification settings - Fork 51
Showcase GTS conversion - ApplicationState #3175
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
base: main
Are you sure you want to change the base?
Showcase GTS conversion - ApplicationState #3175
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
|
showcase/app/components/page-components/application-state/index.gts
Outdated
Show resolved
Hide resolved
db33499
to
5b3e743
Compare
5b3e743
to
9ad4224
Compare
...ase/app/components/page-components/application-state/code-fragments/with-action-variants.gts
Outdated
Show resolved
Hide resolved
9ad4224
to
7451824
Compare
62ff389
to
51adda6
Compare
There was a problem hiding this 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']; |
There was a problem hiding this comment.
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
interface CodeFragmentWithGenericContentSignature { | ||
Element: HdsApplicationStateSignature['Element']; | ||
} | ||
|
||
const CodeFragmentWithGenericContent: TemplateOnlyComponent<CodeFragmentWithGenericContentSignature> = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
interface CodeFragmentWithGenericContentSignature { | |
Element: HdsApplicationStateSignature['Element']; | |
} | |
const CodeFragmentWithGenericContent: TemplateOnlyComponent<CodeFragmentWithGenericContentSignature> = | |
const CodeFragmentWithGenericContent: TemplateOnlyComponent = |
hasSecondaryAction?: boolean; | ||
hasStandaloneLink?: boolean; | ||
}; | ||
Element: HdsApplicationStateSignature['Element']; |
There was a problem hiding this comment.
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}} |
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
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: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
📌 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
Examples of changes to controls include access controls, encryption, logging, etc.
Examples include changes to operating systems, ports, protocols, services, cryptography-related components, PII processing code, etc.