Open nswarup14 opened 5 years ago
Thanks. Briefly reviewed;
Could you please return to design stage and make a response on the issue to propose what is to be displayed? You seem to have jumped design and got right into coding how you think it should be solved.
@quozl Thanks for the inputs. I shall update the commit message with the all the changes I have done. Regarding the display changes, I shall do so in a new commit. Regarding the point of design, I shall comment on the issue.
Tested 7d669a7.
When digital storage is selected, conversion ratio shown for byte
as from unit
and [Gigabyte, Megabyte, Petabyte, Terabyte]
as to unit
show [1e-09, 1e-06, 1e-15, 1e-12]
respectively and this isn't user friendly. The reverse is also the case for Petabyte
and Terabyte
as from unit
and Byte
as to unit
.
@chimosky Thanks.
I had not noticed this earlier but yes, the result displayed is of the form [1e-09, 1e-06, 1e-15, 1e-12]
.
The reason for it can be in the way the converted values are formatted by the activity, before displaying.
I shall investigate this further now
Thanks. Reviewed as-at 7d669a75ec758b31ea1e3becb88c828899827a43.
Briefly tested on Ubuntu 18.04 with Sugar master branch.
Hi @quozl, Is there anything missing in this PR any reason not to merge it, I tested it seem to be working fine. Thanks.
Perhaps the last item in the first checklist needs doing? What do you think?
Yes, Last task is not done, I didn't see it. Just an observation though , while I was testing/going through activity I didn't felt the need to know about representation in whole numbers, unitary conversion works best, but that might be due to me being comfortable with decimals. But what children and student are most familiar with is the real question, so for example if we take 1 inch = 2.54 cm so like was there any idea to alternatively represent this in form of fractions or any otherway because to me it looks more approachable and easy to understand.
Fixes #27
Kindly review
Tested on Ubuntu 18.04 and Sugar v0.114