-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add links to GitLab #890
Add links to GitLab #890
Conversation
Add links to: - User Profile - User Settings - GitLab Home Fix #867
Add links to: - User Profile - User Settings - GitLab Home Fix #867
Add links to: - User Profile - User Settings - GitLab Home Fix #867
Thanks @ciyer !! I think this is good for now! Slightly worried that the GitLab icon will be hard to describe for new-to-gitlab users, but we can include the icon in the docs I guess. It does do a good job saving space, and the first link once you click it does say GitLab. Just noticed from testing that the help menu doesn't have a link to the docs~ but that's in another PR, will comment there. |
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.
I left a comment on top and a small code correction here, besides that it looks good.
I am all in for helping users have an easy beginning with renku, but i think we ned to draw a line about how much we "hide" gitlab inside renku, since for other users having gitlab is also seen as a benefit. I think that at some point someone using renku that has no idea about gitlab will have to make a quick search to see what it it. (Don't want to sound like an antisocial person that sits behind the computer writing hate comments in newspapers haha I just want for us to think about this thing, you can for sure disagree) |
Add links to: - User Profile - User Settings - GitLab Home Fix #867
Add links to: - User Profile - User Settings - GitLab Home Fix #867
wait i think we're on the same side? 😅
Also confused --> before the "Settings" and "Profile" were renku settings and profile in the "User" menu. |
Add links to: - User Profile - User Settings - GitLab Home Fix #867
You are right. In this case, since they are so close to each-other, it's confusing to have the links redundantly. I have removed them from the user menu and just left them in the GitLab menu. |
There is no difference ATM between Renku Settings and GitLab settings, so those links lead to the same place. |
Cool, i think it's better if we only have them in one place. |
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.
Looks good 👍
@@ -49,6 +50,20 @@ class RenkuNavBar extends Component { | |||
} | |||
} | |||
|
|||
function gitLabSettingsUrlFromProfileUrl(webUrl) { | |||
// Yes, the settings URL ends with 'profile'; the profile URL ends with the username |
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.
🤦♂️
Add links to the following GitLab URLs:
Can be tested at https://sekhar.dev.renku.ch/
Fix #867