-
Notifications
You must be signed in to change notification settings - Fork 326
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
Tooltip not show on commit button when it is disabled #1035
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
Welcome! You need to add a file to the staging area so that the extension knows which file is supposed to be committed. You can do this by hovering over the entries on the "Changed" or "Untracked" list (depending on what you would like to add) which should make a plus (+) icon appear - click on it to add a file and you will be able to commit. Alternatively, use context menu in the file browser (Git submenu). |
Thanks! Adding the files to "Staged" worked perfectly. Any interest to adding this step to the jupyterlab-git Readme? I've been so used to using GitHub desktop, where it only shows the changes and skips over the "Staged" step (not visible to users like me), so I didn't know this was a required step in jupyterlab-git |
You may like the Maybe there should be a tooltip showing up when hovering over the greyed out "Commit" button saying "Add at least one file to the staging area to commit"? |
The tooltip makes sense. I'll change this into a feature request and rename the title |
Just a note when tackling this:
@andrewhli would like to make a PR to correct this one? You need to add: pointer-events: auto !important; in the css rules: jupyterlab-git/src/style/CommitBox.ts Line 109 in 4623fae
|
* Fix pointer on CommitBox not displaying PR request based on @fcollonval's suggestion from this thread: #1035 (comment) * Update src/style/CommitBox.ts Co-authored-by: Frédéric Collonval <[email protected]> Co-authored-by: Frédéric Collonval <[email protected]>
Fixed by #1036 |
Hi,
Here are my steps so far:
Would appreciate any help on this. Thanks!
The text was updated successfully, but these errors were encountered: