This repository was archived by the owner on Nov 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
Marketplace MVC Refine #285
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Introduction
Refine the marketplace MVC design, improve the willingnes of user to use the marketplace.
Issues / Motivations
- View: the list view needs to update:
- the item card has too much blank space
- the filter and sort functions is not enough
- Model:
- Item should have richer categories to select and filter
- User could add tags for items
- Item should have statistics such as download count and score
Proposals / Solutions
- View: Make the layout view like huggingface
- remove item icon or shrink it P0
- remove summary in item card, only show update time and download count P0
- when name is too long, use
...and hover to display full name

- add sort button based on time, alphabet and most downloads

- split list view into two sections: public official templates and my templates, each section only show part of its items.
- pagination
- add categories filters: types, tasks(mnist, imagenet), frameworks(tensorflow, pytorch) and custom tags
- Model: add additional info in market item
- custom tags: add tag, remove tag, edit tag
- categories: select preset categories when creating or editing item, such as mnist, imagenet, tensorflow, pytorch
- add statistics: download count and score (5point)
- user can give a score to item, the overall score of items is the average scores. the score each user give will be recorded.
or only star it: favorite.
Work Plan
UI layout @debuggy
tag and categories @yiyione
- add tag and category filter in list items API Add list items by tags and categories #289
- add CRUD APIs for tags and categories
- show tags and categories UI
download count and store/star
Test cases
- Test 1
- Test 2
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request