-
Notifications
You must be signed in to change notification settings - Fork 53
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
Create algorithm from challenge form visibility #3671
Comments
We could also do this from the algorithm list page by getting the user to select an active phase that they are a participant for. People with the Add Algorithm permission would still need to be have the additional link to the existing Algorithm Create Page. |
I had this same thought when looking over the shoulders of a workshop participant. |
Agreed! |
This is the page we need to direct people to: http://algorithm-evaluation-1.gc.localhost:8000/evaluation/phase-1/algorithms/create/ This is hooked up to It handles warning people that they have an existing algorithm.
|
Okay that's great, then only the selection from the Algorithm List page is needed. |
Users are presented with the phases that they have the `"create_phase_submission"` which is currently public phases for the participants group, or all phases for the admins group. <img width="1169" alt="Screenshot 2025-02-19 at 17 11 18" src="https://github.com/user-attachments/assets/577cd1e6-6c02-45aa-9087-c0bbf19873ae" /> The check on whether the phase is open is very complex and in a mixin that cannot really be re-used here, so we just clean the phase to see if it is open for non-admins. The full check is then done on the redirect but the errors are not as nice. <img width="1164" alt="Screenshot 2025-02-19 at 17 11 25" src="https://github.com/user-attachments/assets/94ea5fbd-cf7c-4309-9814-462ab464a0ce" /> If the phase is open then the user will end up on the usual page. <img width="1148" alt="Screenshot 2025-02-19 at 17 11 33" src="https://github.com/user-attachments/assets/52461f4d-91bb-479f-9bec-c1a4603dfff1" /> Those with custom algorithm permissions will see the extra link. <img width="1176" alt="Screenshot 2025-02-19 at 17 15 39" src="https://github.com/user-attachments/assets/43b2048f-dd6b-46bb-a033-8b7feb8f499e" /> Closes #3671 --------- Co-authored-by: Anne Mickan <amickan1990@gmail.com>
Currently, it's only a small link in a help text. We could improve this by having a clear button on the form that links to the algorithm-creation-for-challenge form.
I've seen reports of multiple users confused by this.
The text was updated successfully, but these errors were encountered: