When running the latest code on the main branch, a...
# feedback
m
When running the latest code on the main branch, an issue occurs with the repository selection form on the home page. Reproduction Steps: 1. Select a Git provider (if multiple providers are available). 2. Select a repository. At this point, the default branch is not automatically selected. 3. Click on the branch dropdown. The frontend crashes. For further reference, please see the attached video demonstration. Thank you! thankyou
cc @freezing-spoon-14104, @quick-window-91705
Possible Root Cause The main_branch field is returned as null for all repositories when calling the API. This behavior is likely contributing to the issue described above. Please see the attached image for further details.
image.png
However, the frontend should also be updated to handle cases where the main_branch field is null. I’ve created a GitHub issue to track this issue. Thank you! thankyou [Bug]: Cannot select the branch dropdown (repo-selection form)
However, the frontend should also be updated to handle cases where the main_branch field is null.
It seems that the front-end already handles cases where the main_branch field is null. The root cause may be that the API model has changed.
f
Thank you, I'll take a look into this today
thankyou 1
m
I am not seeing the issue anymore. The issue might be related to my local env. I will close the issue. Thank you! thankyou
q
I think this was fixed in later commits to main
m
Yeah, thank you! thankyou
q
If you are able to, it would be great if you could double check 🙏
m
Yeah, let me check thankyou
The issue has been resolved. Thank you! thankyou
thanks on a stick 1