Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ui): artifact and configuration edit #187

Merged

Conversation

ruanyl
Copy link
Member

@ruanyl ruanyl commented May 22, 2023

Description

This PR adds artifact and configuration to version details page

Issues Resolved

List any issues this PR will resolve, e.g. Closes [...].

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

ruanyl added 6 commits May 22, 2023 14:09
Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
@ruanyl ruanyl requested review from wanglam and raintygao and removed request for wanglam May 22, 2023 11:18
@codecov
Copy link

codecov bot commented May 22, 2023

Codecov Report

Merging #187 (f948d2a) into feature/model-registry (4ed49e5) will increase coverage by 0.63%.
The diff coverage is n/a.

@@                    Coverage Diff                     @@
##           feature/model-registry     #187      +/-   ##
==========================================================
+ Coverage                   83.29%   83.92%   +0.63%     
==========================================================
  Files                         105      107       +2     
  Lines                        1987     2041      +54     
  Branches                      413      430      +17     
==========================================================
+ Hits                         1655     1713      +58     
+ Misses                        244      240       -4     
  Partials                       88       88              

see 22 files with indirect coverage changes

public/components/model/model_details_panel.tsx Outdated Show resolved Hide resolved
}
return true;
}
import { ModelConfiguration } from '../common/forms/model_configuration';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to expose these form components and constants to common folder?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You mean components like ModelConfiguration?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean expose common/forms/model_configuration contents to common/forms/index.ts. Then we can use import {ModelConfiguration} from '../common' to import this component. That's not a big issue.

ruanyl added 2 commits May 23, 2023 12:20
Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
@ruanyl ruanyl merged commit bef804b into opensearch-project:feature/model-registry May 23, 2023
wanglam pushed a commit to wanglam/ml-commons-dashboards that referenced this pull request Jan 3, 2025
feat: edit model artifact and configuration on version details page

Enable user to edit model version artifact and configuration

---------

Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
Signed-off-by: Lin Wang <wonglam@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants