backend.ai-webui icon indicating copy to clipboard operation
backend.ai-webui copied to clipboard

fix: refactor vfolder storage proxy components

Open lizable opened this issue 3 years ago • 1 comments

Description


This PR resolves four minor problems:

  • column width of storage-proxy list
  • font size of text in lablup-piechart
  • move utilizable functions ( _markIfUnlimited()) to backendai-common-utils component.
  • use proper unit conversion
    • MB, GB, TB,... are only used when converting bytes to decimal, not binary.

lizable avatar Nov 23 '21 08:11 lizable

@lizable Let's reduce confusion here.

  • For memory: byte to MB → 1048576 (actually it is MiB but is widely used MB for memory)
  • For storage: byte to MB → 1000000 (MiB)

I suggest to make both byteToMiB and byteToMB and apply to storage / memory view differently :).

inureyes avatar May 04 '22 16:05 inureyes

Closing this issue since it's been obsolete. We don't use piechart in storage-proxy component.

lizable avatar May 08 '24 07:05 lizable