Skip to content

Conversation

@shleewhite
Copy link
Contributor

@shleewhite shleewhite commented Jul 29, 2025

📌 Summary

If merged, this PR would fix an issue that came up in the TypeScript showcase project. The CodeEditor component does not correctly indicate that some arguments for the [CE].Title and [CE].Description are set by the index component.


👀 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 Jul 29, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
hds-showcase ✅ Ready (Inspect) Visit Preview Jul 29, 2025 8:33pm
hds-website ✅ Ready (Inspect) Visit Preview Jul 29, 2025 8:33pm

@shleewhite shleewhite marked this pull request as ready for review July 29, 2025 20:44
@shleewhite shleewhite requested a review from a team as a code owner July 29, 2025 20:44
Copy link
Contributor

@zamoore zamoore left a comment

Choose a reason for hiding this comment

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

Nice!

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 two super-nitpicky suggestions, but not blockers at all

Description?: ComponentLike<HdsCodeEditorDescriptionSignature>;
Title?: WithBoundArgs<
typeof HdsCodeEditorTitle,
'onInsert' | 'editorId'
Copy link
Contributor

Choose a reason for hiding this comment

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

[nit] same order as in the template code

Suggested change
'onInsert' | 'editorId'
'editorId' | 'onInsert'

>;
Description?: WithBoundArgs<
typeof HdsCodeEditorDescription,
'onInsert' | 'editorId'
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
'onInsert' | 'editorId'
'editorId' | 'onInsert'

@shleewhite shleewhite merged commit 2697a77 into main Jul 30, 2025
17 checks passed
@shleewhite shleewhite deleted the fix/code-editor-signature branch July 30, 2025 12:48
@hashibot-hds hashibot-hds mentioned this pull request Jul 30, 2025
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.

4 participants