Skip to content
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

Type Doc components #207

Merged
merged 5 commits into from
Jun 9, 2023
Merged

Type Doc components #207

merged 5 commits into from
Jun 9, 2023

Conversation

jeffdaley
Copy link
Contributor

Adds types to the Doc components.

@@ -18,8 +19,10 @@

<Person @ignoreUnknown={{true}} @imgURL={{@avatar}} @email={{@owner}} />

{{#if (and @isResult @snippet)}}
Copy link
Contributor Author

@jeffdaley jeffdaley Jun 8, 2023

Choose a reason for hiding this comment

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

Need to investigate this. Glint thought @snippet was undefined despite it passing the if ... and check.

@jeffdaley jeffdaley marked this pull request as ready for review June 8, 2023 01:18
@jeffdaley jeffdaley requested a review from a team as a code owner June 8, 2023 01:18
get productAreaName() {
let productAreaName;

// TODO: Convert this to a switch statement
Copy link
Contributor

Choose a reason for hiding this comment

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

I thought we had a helper for this logic somewhere 🤔

Copy link
Contributor Author

@jeffdaley jeffdaley Jun 9, 2023

Choose a reason for hiding this comment

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

Ah right, yeah we have one for the icon.

This one just needs to be cleaned up (and, separately, turned into its own helper).

7bea339

Remove unnecessary code
@jeffdaley jeffdaley force-pushed the jeffdaley/register-doc-components branch from fdd0ecf to 414f5e0 Compare June 9, 2023 15:56
@jeffdaley jeffdaley merged commit 618c4e2 into main Jun 9, 2023
1 check passed
@jeffdaley jeffdaley deleted the jeffdaley/register-doc-components branch June 9, 2023 22:03
anuragprafulla pushed a commit to razorpay/hermes that referenced this pull request Jun 27, 2023
* Type Doc components

* Update row.ts

* Update row.hbs

Remove unnecessary code

* Update row component
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants