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

Refactor/pcollapsiblepanel logic #5553

Open
wants to merge 17 commits into
base: refactor-pcollapsiblepanel-logic
Choose a base branch
from

Conversation

kkdy21
Copy link
Contributor

@kkdy21 kkdy21 commented Jan 17, 2025

To Reviewers

  • Minor change, self-reviewed (style, chore, ci, test, docs)
  • Previously reviewed in feature branch, no further review needed
  • Self-merge allowed for solo developers or urgent changes

Description (optional)

Things to Talk About (optional)

@kkdy21 kkdy21 requested a review from WANZARGEN January 17, 2025 08:55
Copy link

vercel bot commented Jan 17, 2025

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

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
console ⬜️ Ignored (Inspect) Visit Preview Jan 20, 2025 2:48am
dashboard ⬜️ Ignored (Inspect) Visit Preview Jan 20, 2025 2:48am

@github-actions github-actions bot added the pending/review Pull Request is awaiting review. No reviewers have started reviewing yet. label Jan 20, 2025
@github-actions github-actions bot removed the pending/review Pull Request is awaiting review. No reviewers have started reviewing yet. label Jan 20, 2025
Signed-off-by: daeyeon ko <[email protected]>
@github-actions github-actions bot added the pending/review Pull Request is awaiting review. No reviewers have started reviewing yet. label Jan 20, 2025
@github-actions github-actions bot removed the pending/review Pull Request is awaiting review. No reviewers have started reviewing yet. label Jan 20, 2025
Copy link
Member

@WANZARGEN WANZARGEN left a comment

Choose a reason for hiding this comment

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

LGTM!

Comment on lines +30 to +34
// eslint-disable-next-line no-restricted-globals
if (isNaN(lineHeight)) {
const fontSize = parseFloat(computedStyle.fontSize);
lineHeight = fontSize * 1.2;
}
Copy link
Member

Choose a reason for hiding this comment

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

nitpick: Consider using Number.isNaN instead of isNaN for better type safety and to avoid implicit type coercion.

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.

2 participants