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

feat(InfoBox): introduce #7352

Merged
merged 8 commits into from
Dec 24, 2024
Merged

feat(InfoBox): introduce #7352

merged 8 commits into from
Dec 24, 2024

Conversation

AugustinMauroy
Copy link
Member

@AugustinMauroy AugustinMauroy commented Dec 22, 2024

Description

we decided to make the stabilityIndex component a sub-component which is an InfoBox that can be used in the download page. also for the stabilityIndex component it will just be a wrapper of InfoBox.

Validation

It's should look like the Figma
https://www.figma.com/design/pu1vZPqNIM7BePd6W8APA5/Node.js?node-id=695-14399&t=aqPF3hoDGhAb29rs-1

Related Issues

#7037 (comment)

Check List

  • I have read the Contributing Guidelines and made commit messages that follow the guideline.
  • I have run npm run format to ensure the code follows the style guide.
  • I have run npm run test to check if all tests are passing.
  • I have run npx turbo build to check if the website builds without errors.
  • I've covered new added functionality with unit tests if necessary.

@Copilot Copilot bot review requested due to automatic review settings December 22, 2024 21:22
@AugustinMauroy AugustinMauroy requested a review from a team as a code owner December 22, 2024 21:22
Copy link

vercel bot commented Dec 22, 2024

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

Name Status Preview Updated (UTC)
nodejs-org ✅ Ready (Inspect) Visit Preview Dec 23, 2024 10:18pm

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

Files not reviewed (1)
  • apps/site/components/ApiDocs/StabilityIndex/index.module.css: Language not supported

apps/site/components/ApiDocs/StabilityIndex/index.tsx Outdated Show resolved Hide resolved
Signed-off-by: Augustin Mauroy <augustin.mauroy@outlook.fr>
Copy link
Contributor

github-actions bot commented Dec 22, 2024

Unit Test Coverage Report

Lines Statements Branches Functions
Coverage: 89%
88.6% (583/658) 70.28% (175/249) 92.43% (110/119)

Unit Test Report

Tests Skipped Failures Errors Time
137 0 💤 0 ❌ 0 🔥 4.852s ⏱️

@ovflowd

This comment was marked as outdated.

@AugustinMauroy

This comment was marked as outdated.

Choose a reason for hiding this comment

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

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

Files not reviewed (1)
  • apps/site/components/Common/InfoBox/index.module.css: Language not supported
Comments suppressed due to low confidence (4)

apps/site/components/Common/InfoBox/index.stories.tsx:12

  • [nitpick] The title '3' is ambiguous. It should be renamed to a more descriptive title like 'Information'.
title: '3',

apps/site/components/Common/InfoBox/index.stories.tsx:22

  • [nitpick] The title '2' is ambiguous. It should be renamed to a more descriptive title like 'Success'.
title: '2',

apps/site/components/Common/InfoBox/index.stories.tsx:32

  • [nitpick] The title '1' is ambiguous. It should be renamed to a more descriptive title like 'Warning'.
title: '1',

apps/site/components/Common/InfoBox/index.stories.tsx:42

  • [nitpick] The title '0' is ambiguous. It should be renamed to a more descriptive title like 'Error'.
title: '0',
@AugustinMauroy AugustinMauroy changed the title feat(StabilityIndex): introduce feat(InfoBox): introduce Dec 23, 2024
Copy link
Member

@ovflowd ovflowd left a comment

Choose a reason for hiding this comment

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

I sometimes fail to understand your review process. We discussed "Alert" as a component naming and then you go and name it "AlertBox" 😅 -- Anyhow, fair enough.

LGTM and thanks for implementing this :)

@ovflowd ovflowd added the github_actions:pull-request Trigger Pull Request Checks label Dec 24, 2024
@ovflowd ovflowd enabled auto-merge December 24, 2024 18:09
@github-actions github-actions bot removed the github_actions:pull-request Trigger Pull Request Checks label Dec 24, 2024
@ovflowd ovflowd added this pull request to the merge queue Dec 24, 2024
Merged via the queue into main with commit e56edcc Dec 24, 2024
14 of 16 checks passed
@ovflowd ovflowd deleted the feat-stability-index branch December 24, 2024 18:19
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.

2 participants