Community Preferred Solutions in Cody

조회 수: 65 (최근 30일)
Luisa
Luisa 2025년 11월 21일 14:44
답변: Vanessa Wang 2025년 11월 26일 20:18
Everytime I vote for one preferred solution, Community Preferred Solutions marks the two options as preferred.
Is possible that the buttom does not work well in my interface? How can I fix it?
Thank you in advance.
  댓글 수: 7
Vanessa Wang
Vanessa Wang 2025년 11월 24일 22:23
Hi @Luisa, I am sorry to hear that you're experiencing issues with the solution voting feature in Cody. To clarify, are you seeing two instances of the "Thanks for voting!" message appear for both options when you vote for one solution? Where do you see that two options are marked as preferred? In our data, I can see that you are submitting one vote at a time so your selected vote is being recorded properly.
Could you also elaborate on the save button issue you're experiencing on the Create Problem page?
Luisa
Luisa 2025년 11월 26일 15:34
Thank you, @Vanessa Wang.
No, I am only seeing the instance of the "Thanks for voting!" message, with the green ok, appearing in my option.
For instance, in Problem 61074, I voted in two prefered solutions and I see 4 in Community Preferred Solutions. Indeed, I saw them right after voting.
About the save button issue on the Create Problem page: First time in Problem 61071, where I thought I forgot to save.
But, now I am sure that I am saving and I receive the message "Draft saved successfully!". Then, when I review it to see if everything is correct, I find errors in places where I had already corrected them.
Since I like to leave my problems for first solvers, so I only check before publishing. Although I use to save continuously my work, may you make possible to give an alert of unsaved work whenever we want either to publish a problem or to leave the page "Create a problem" as a draft?
Thank you in advance.

댓글을 달려면 로그인하십시오.

채택된 답변

Vanessa Wang
Vanessa Wang 2025년 11월 26일 20:18
Hi @Luisa, thanks for the info.
For the solution voting feature, it is expected behavior that all four voting options will display in the community preferred solutions page even though two votes were only submitted. A vote is considered as a comparison between two options so the "less preferred" solutions will still display in the list since they have been technically rated in some way. However, I understand that this behavior is confusing especially for problems that do not have many voted solutions to push down the unselected options, so I have logged an enhancement internally to identify how we can improve this workflow.
For the save problem behavior, unfortunately I could not reproduce the issue where the save button does not save the most recent changes. However, it sounds like the overall workflow could be improved with your suggestion of having an alert before navigating away from unsaved changes since we do not have one currently. I have logged this enhancement as well.
Thank you for contributing to Cody!

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Systems Of Linear Equations에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by