-
Notifications
You must be signed in to change notification settings - Fork 152
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
Move login to menu content #1056
Conversation
@kineticsquid @filiptronicek What do you think? |
I'm good with the requirement to make the webui read only. This PR looks good to me. I'd like to hear from @filiptronicek and @spoenemann. |
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.
Changes look good, the mobile menu improvements are very appreciated.
Makes it possible to make the webui read only as requested in #1041.
Could you point me to the read-only changes in the PR? I couldn't find anything related to it.
Hello @amvanbaren, @filiptronicek! |
@filiptronicek @svor It makes the webui read only in the sense that you can exclude the publish and login buttons from the menu content. The open-vsx.org repo shows how to customize the menu content: |
@amvanbaren thank you, this looks great! However, in the case of a private OpenVSX registry, I would prefer not to add a dummy OAuth2 configuration in the application.yaml. Instead, it would be more convenient to simply omit the configuration. In this scenario, the Publish and Login buttons would not be displayed in the UI by default, eliminating the need for any additional UI customization. |
@svor I tried your PR (#1057). The dynamic approach causes a slight glitch. The white screen is when I do a page refresh. Here the login-popin.webmHere the login-nochange.webm
No, that would be a breaking change. open-vsx.org and other deployments expect the Publish and Login buttons to be displayed by default. Here the login-popout.webm |
@amvanbaren I've answered in my PR #1057 (comment), please take a look. |
Makes it possible to make the webui read only as requested in #1041.
The default menu stays the same. The mobile menu is a bit different.