You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Huge thanks to @jzhang20133 for finding the root cause of this issue—I'm merely reporting her findings :))
We noticed a regression from previous versions of this package.
When initializing a repo, if the user name and email is not set, the extension no longer raises a modal prompting a user for name/email. Instead, it raises an error dialog to the user:
The root of the issue appears related to related to: #1294
There is one more place where we should explicitly check if path == null:
The easiest way to trigger this issue is to remove any git config that sets the user's email or name. Then, turn off git's "auto-detection" for user details/email.
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋
Description
(Huge thanks to @jzhang20133 for finding the root cause of this issue—I'm merely reporting her findings :))
We noticed a regression from previous versions of this package.
When initializing a repo, if the user name and email is not set, the extension no longer raises a modal prompting a user for name/email. Instead, it raises an error dialog to the user:
The root of the issue appears related to related to: #1294
There is one more place where we should explicitly check if
path == null
:jupyterlab-git/src/components/GitPanel.tsx
Line 845 in b878c0b
When we make this change, the prompt appears:
Reproduce
The easiest way to trigger this issue is to remove any git config that sets the user's email or name. Then, turn off git's "auto-detection" for user details/email.
After adding these settings, use jupyterlab-git to make an commit and you'll see the error mentioned above.
Expected behavior
Prompt the user for a user name and email if not set.
The text was updated successfully, but these errors were encountered: