-
Notifications
You must be signed in to change notification settings - Fork 42
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: prevent user from deleting model when inUse #1321
feat: prevent user from deleting model when inUse #1321
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, maybe we should use a different color to differentiate downloaded vs none so it is clearly visible without hovering the icon.
Since we will be using |
Signed-off-by: axel7083 <[email protected]>
Signed-off-by: axel7083 <[email protected]>
Signed-off-by: axel7083 <[email protected]>
4bb1dae
to
09a3a28
Compare
Signed-off-by: axel7083 <[email protected]>
Signed-off-by: axel7083 <[email protected]>
packages/frontend/src/lib/table/model/ModelColumnAction.spec.ts
Outdated
Show resolved
Hide resolved
Signed-off-by: axel7083 <[email protected]>
What does this PR do?
Improve the Models page by changing the StatusIcon depending on the model usage.
When the model is used by an inference server, it is marked as
USED
. A model which is downloaded has a titleDOWNLOADED
.The delete button is also disabled when model is inUse
Screenshot / video of UI
What issues does this PR fix or reference?
Fixes #791
How to test this PR?