Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add model store tab to storage page (#2064)
* feat: add model store tab to storage page * update: hard-coded scaling group * update: remove hardcoded field * update: i18n resource * feat: model store card draft ui * fix: typo * feat: open modal if click the list item - fix: lint errors * update: packages / i18n * feat: give fragment to modelCardModal * add: architecure and framework * display min_resource using `ResourceNumber` * display architecture and framework info with icon * fix ts type of framework * fix ts type of img tag alt * display `\n` in the description as a new line. * set a gird prop for responsive grid list * fix: storage list height * model card filtering in frontend * update: set the modal vertically centered * add: mockup for download / clone * add refresh button on model card list page * add Select components for category, task and label filtering * add clone and download button (disabled) * add markdown-to-jsx * lint * update: card size to small * fix: the condition of filter select inputs * two columns layout modal when lg screen * use BAImodal and fix align * fix filter condition * refactor: filter condition * change: New Folder to Add * fix layout of ModelCardModal (marginTop:0) * add: readme field to graphql * display model_info.readme markdown * ui: model clone modal * change modal size and margin * feat: add label tags to the model card * feat: clone model card as user type folder (cherry picked from commit 5c3f94a30481e0d514d69a1c16e71d91e8462109) * update: config.toml sample to control tab * feat: toggle model store menu according to the `supportModelStore` option * lint: unused * update CloneInfo i18n * feat: clone model card using vfolder field of ModelInfo * feat: disable storage selector and add tooltip on the clone modal * feat: set sourceFolderHost as initial value * fix: delete default value of storage selector Co-authored-by: Jong Eun Lee <[email protected]> * style: display tag only info exists --------- Co-authored-by: agatha197 <[email protected]> Co-authored-by: Jong Eun Lee <[email protected]>
- Loading branch information