You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/06/22 06:07:54 UTC

[GitHub] [dolphinscheduler] xiaolannuoyi opened a new issue, #10543: [Bug] [ui] bytesToSize

xiaolannuoyi opened a new issue, #10543:
URL: https://github.com/apache/dolphinscheduler/issues/10543

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### What happened
   
   bytesToSize(1) //  1 B
   bytesToSize(1000) // 1 B   ???
   
   ### What you expected to happen
   
   bytesToSize(1000) 
   1000 B
   
   ### How to reproduce
   
   bytesToSize(1000) 
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   dev
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] xiaolannuoyi commented on issue #10543: [Bug] [ui] bytesToSize

Posted by GitBox <gi...@apache.org>.
xiaolannuoyi commented on issue #10543:
URL: https://github.com/apache/dolphinscheduler/issues/10543#issuecomment-1165254459

   @SbloodyS 
   look at this  
   https://stackoverflow.com/questions/15900485/correct-way-to-convert-size-in-bytes-to-kb-mb-gb-in-javascript/18650828#18650828


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #10543: [Bug] [ui] bytesToSize

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #10543:
URL: https://github.com/apache/dolphinscheduler/issues/10543#issuecomment-1162684176

   Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
   * In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
   * If you haven't received a reply for a long time, you can [join our slack](https://s.apache.org/dolphinscheduler-slack) and send your question to channel `#troubleshooting`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] Amy0104 closed issue #10543: [Bug] [ui] bytesToSize

Posted by GitBox <gi...@apache.org>.
Amy0104 closed issue #10543: [Bug] [ui] bytesToSize 
URL: https://github.com/apache/dolphinscheduler/issues/10543


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] Amy0104 commented on issue #10543: [Bug] [ui] bytesToSize

Posted by GitBox <gi...@apache.org>.
Amy0104 commented on issue #10543:
URL: https://github.com/apache/dolphinscheduler/issues/10543#issuecomment-1163066799

   Since the calculated data is rounded down, entering 1 or 1000 will give the same value.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] Amy0104 commented on issue #10543: [Bug] [ui] bytesToSize

Posted by GitBox <gi...@apache.org>.
Amy0104 commented on issue #10543:
URL: https://github.com/apache/dolphinscheduler/issues/10543#issuecomment-1166789329

   Thx, I will fix it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] SbloodyS commented on issue #10543: [Bug] [ui] bytesToSize

Posted by GitBox <gi...@apache.org>.
SbloodyS commented on issue #10543:
URL: https://github.com/apache/dolphinscheduler/issues/10543#issuecomment-1162975407

   Hi @xiaolannuoyi , could you describe it more clearly?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] xiaolannuoyi commented on issue #10543: [Bug] [ui] bytesToSize

Posted by GitBox <gi...@apache.org>.
xiaolannuoyi commented on issue #10543:
URL: https://github.com/apache/dolphinscheduler/issues/10543#issuecomment-1162999551

   @SbloodyS  
    file in https://github.com/apache/dolphinscheduler/blob/dev/dolphinscheduler-ui/src/common/common.ts
   <img width="1067" alt="截屏2022-06-22 19 44 48" src="https://user-images.githubusercontent.com/21079721/175021449-5e17789a-245c-4091-96f4-fee2b69289e0.png">
   
   <img width="903" alt="截屏2022-06-22 19 47 39" src="https://user-images.githubusercontent.com/21079721/175021952-efc6e83e-47e8-4a9c-b4a7-a8d8eec1dd71.png">
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] SbloodyS commented on issue #10543: [Bug] [ui] bytesToSize

Posted by GitBox <gi...@apache.org>.
SbloodyS commented on issue #10543:
URL: https://github.com/apache/dolphinscheduler/issues/10543#issuecomment-1163084085

   Would you like to submit a pr to fix this? @xiaolannuoyi 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org