medperf icon indicating copy to clipboard operation
medperf copied to clipboard

Web UI - stage1, readonly part

Open VukW opened this issue 1 year ago • 2 comments

Adds a local web UI to use instead of CLI UI.

On this stage, only read-only views are implemented:

  • list of benchmarks
  • list of mlcubes
  • list of datasets
  • benchmark detail
  • mlcube detail
  • dataset detail

To run

medperf web-ui run [--port 8100]

# open http://localhost:8100/

TODOs & bugs up to this moment

  • common
    • [x] move date_format function to some common place and use everywhere
    • [ ] p1 build a unified render mlcube-as-a-link and use everywhere (benchmark's cubes, dataset's dataprep cube):
      • [strong] mlcube name [small] modified date [state icon] + colored in red if invalid?
    • [x] p1 hide None links
    • [x] p0 bug, no scrolling on main container (say, lists)
    • [x] p1 catch exceptions and display error
    • [ ] p2 dark theme
    • [x] p1 Bug, navigation is hidden when the page is too narrow
    • [ ] p3 use downloaded js packages (bootstrap etc.) instead of direct link?
  • code
    • [x] p1 getting invalid entities raises an exception now
    • [x] p0 add templates & js to wheel package
  • MLCube detailed page
    • [x] show tarball and additional data always
    • [ ] p2 check it works with local cubes
    • [ ] p3 add mlcube name to title
    • [x] p1 list of associated benchmarks + assoc status
  • Dataset detailed page
    • [ ] p2 fix dataprep cube link render, see point higher ^^^
    • [x] p1 is_valid: make a badge?
    • [ ] p2 Submitted as prepared: make a badge?
    • [ ] p3 what to do with owner: None? Show a hint over it describing why it's unknown?
    • [ ] p3 check it works with local datasets
    • [ ] p3 add dataset name to title
    • [x] p1 list of associations + status
    • [ ] p2 add metadatas
  • Benchmark detailed page
    • [ ] p2 fix cube links render, see point higher ^^^
    • [ ] p2 add benchmark name to title
    • [x] p1 list of associated datasets + assoc status
    • [ ] p2 number of associated datasets
  • MLCube list page
    • [ ] p2 redesign cards
    • [x] p1 list my entities on the top
    • [ ] p2 add valid filter
    • [ ] p2 add mine filter
    • [ ] p3 check it works with local cubes
  • Bencmark list page
    • [ ] p2 redesign cards
    • [ ] p1 list my entities on the top
    • [ ] p2 add valid filter
    • [ ] p2 add mine filter
  • Datasets list page
    • [ ] p2 redesign cards
    • [x] p1 list my entities on the top
    • [ ] p2 add valid filter
    • [ ] p2 add mine filter
    • [ ] p3 check it works with local datasets
    • [ ] add location field label

VukW avatar Jul 23 '24 09:07 VukW

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

github-actions[bot] avatar Jul 23 '24 09:07 github-actions[bot]

Current state:

MLCubes list

image

Datasets list

image

Benchmark list

image

MLCube detailed page

image

Benchmark detailed page

image

Dataset detailed page

image

VukW avatar Jul 23 '24 09:07 VukW