meshery icon indicating copy to clipboard operation
meshery copied to clipboard

add fix for model search command

Open EleisonC opened this issue 1 year ago • 15 comments

Notes for Reviewers

This PR fixes #11319

Signed commits

  • [x] Yes, I signed my commits.

EleisonC avatar Jul 16 '24 11:07 EleisonC

Hey @Jougan-0 @leecalcote

EleisonC avatar Jul 16 '24 11:07 EleisonC

@EleisonC Let's discuss this issue during the Meshery dev meeting call. Please add it as an agenda item to the meeting minutes.

ashparshp avatar Jul 16 '24 18:07 ashparshp

It's fixed but if there are multiple models with same name you should give a prompt by adding other details of the model like version, id and on the basis of it user should select a model and then you show the model data.

Other than that this pr looks good. If you can add the above mentioned enhancement it would be very helpful.

image

Jougan-0 avatar Jul 17 '24 14:07 Jougan-0

It's fixed but if there are multiple models with same name you should give a prompt by adding other details of the model like version, id and on the basis of it user should select a model and then you show the model data.

Other than that this pr looks good. If you can add the above mentioned enhancement it would be very helpful.

image

I will implement it and I will reach out when done. However, I have a question: should the search command receive more than just a name or display name? For example, would it be beneficial to include parameters like version and ID? For instance, mesheryctl model search [query-text] [version] [id]. @Jougan-0

EleisonC avatar Jul 17 '24 15:07 EleisonC

It's fixed but if there are multiple models with same name you should give a prompt by adding other details of the model like version, id and on the basis of it user should select a model and then you show the model data. Other than that this pr looks good. If you can add the above mentioned enhancement it would be very helpful. image

I will implement it and I will reach out when done. However, I have a question: should the search command receive more than just a name or display name? For example, would it be beneficial to include parameters like version and ID? For instance, mesheryctl model search [query-text] [version] [id]. @Jougan-0

Nope using the [query-text] is just fine. I was talking about when we display the data to the user on terminal we can show them more information and a prompt to choose for different model and once the model is selected then show the model data by unmarshalling the response in v1beta1.Model .

Jougan-0 avatar Jul 17 '24 15:07 Jougan-0

@EleisonC still chewing on this one?

leecalcote avatar Aug 02 '24 18:08 leecalcote

@EleisonC Still working?

ashparshp avatar Aug 07 '24 18:08 ashparshp

Hey @leecalcote @Ashparshp Sorry been sick. So, the task is done but there was a suggestion here. Is it possible to have this PR merged and then I go on to implement the rest of the suggestion in another PR?

EleisonC avatar Aug 07 '24 18:08 EleisonC

Hey @leecalcote @Ashparshp Sorry been sick. So, the task is done but there was a suggestion here. Is it possible to have this PR merged and then I go on to implement the rest of the suggestion in another PR?

@Jougan-0, your guidance here is appreciated.

leecalcote avatar Aug 16 '24 23:08 leecalcote

@EleisonC Yes we can merge this and if you would could you open a new issue and track your progress there. Whenever you see this message create an issue ping me. I'll assign that issue to you and then merge this PR.

Jougan-0 avatar Aug 17 '24 09:08 Jougan-0

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 28 '24 04:09 stale[bot]

Checking in... it has been awhile since we've heard from you on this issue. Are you still working on it? Please let us know and please don't hesitate to contact a MeshMate or any other community member for assistance.


        Be sure to join the community, if you haven't yet and please leave a :star: star on the project :smile:

github-actions[bot] avatar Sep 28 '24 11:09 github-actions[bot]

@EleisonC Yes we can merge this and if you would could you open a new issue and track your progress there. Whenever you see this message create an issue ping me. I'll assign that issue to you and then merge this PR.

@EleisonC is there a separate issue opened to track this?

leecalcote avatar Oct 08 '24 20:10 leecalcote

@EleisonC any update ?

lekaf974 avatar Oct 16 '24 11:10 lekaf974

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Dec 03 '24 06:12 stale[bot]

This issue is being automatically closed due to inactivity. However, you may choose to reopen this issue.

stale[bot] avatar Dec 20 '24 01:12 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Feb 06 '25 04:02 stale[bot]

This issue is being automatically closed due to inactivity. However, you may choose to reopen this issue.

stale[bot] avatar Feb 16 '25 18:02 stale[bot]