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(InputNumber): adding label element in InputNumber Component and … #3501

Merged
merged 4 commits into from
Jul 7, 2023

Conversation

Sofien-Sellami
Copy link
Contributor

@Sofien-Sellami Sofien-Sellami commented Jun 28, 2023

…export it

Context

Export the InputNumber component and adding a l label

Changes & Results

Capture d’écran du 2023-06-29 17-02-29

Testing

Checklist

PR

  • [] My Pull Request title is descriptive, accurate and follows the
    semantic-release format and guidelines.

Code

  • [] My code has been well-documented (function documentation, inline comments,
    etc.)

Public Documentation Updates

  • [] The documentation page has been updated as necessary for any public API
    additions or removals.

Tested Environment

  • [] OS:
  • [] Node version:
  • [] Browser:

@netlify
Copy link

netlify bot commented Jun 28, 2023

Deploy Preview for ohif-dev canceled.

Name Link
🔨 Latest commit 9540ab7
🔍 Latest deploy log https://app.netlify.com/sites/ohif-dev/deploys/64a828f549a0a7000898c2bb

@netlify
Copy link

netlify bot commented Jun 28, 2023

Deploy Preview for ohif-platform-docs ready!

Name Link
🔨 Latest commit 9540ab7
🔍 Latest deploy log https://app.netlify.com/sites/ohif-platform-docs/deploys/64a828f51d88f30008932158
😎 Deploy Preview https://deploy-preview-3501--ohif-platform-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@codecov
Copy link

codecov bot commented Jun 28, 2023

Codecov Report

Merging #3501 (f26058d) into master (52f419d) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3501   +/-   ##
=======================================
  Coverage   38.27%   38.27%           
=======================================
  Files          82       82           
  Lines        1348     1348           
  Branches      303      303           
=======================================
  Hits          516      516           
  Misses        666      666           
  Partials      166      166           

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c98211c...f26058d. Read the comment docs.

@wayfarer3130
Copy link
Contributor

Could we please have some images showing what this looks like?

@salimkanoun
Copy link
Contributor

here it is
image

@@ -14,6 +15,7 @@ import './InputNumber.css';

const sizesClasses = {
sm: 'w-[45px] h-[28px]',
bg: 'w-[206px] h-[35px]',
Copy link
Member

Choose a reason for hiding this comment

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

if by bg you mean big? I prefer lg to be more consistent with the rest of the code

@sedghi
Copy link
Member

sedghi commented Jul 6, 2023

can you fix the CI error?

@Sofien-Sellami
Copy link
Contributor Author

PR

it seems ok, it just a network issue

@@ -76,6 +82,8 @@ const InputNumber: React.FC<{
);

return (
<div className={'flex flex-col flex-1'}>
<Label className={labelClassName} text={label}></Label>
Copy link
Member

Choose a reason for hiding this comment

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

this should have a gaurd for the label

label &&

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.

4 participants