Skip to content

Load gitignore file (#1273)#1298

Merged
fcollonval merged 2 commits intojupyterlab:mainfrom
fcollonval:backport/1273-load-gitignore-file
Nov 16, 2023
Merged

Load gitignore file (#1273)#1298
fcollonval merged 2 commits intojupyterlab:mainfrom
fcollonval:backport/1273-load-gitignore-file

Conversation

@fcollonval
Copy link
Member

Backport #1273

* Throw 403 if file is hidden

* Add Helpful GUI message for hidden files

* Fetch file contents if hidden file

* Show hidden file in widget

* Format gitignore file

* Show hidden file message when adding file to .gitignore

* Add ability to save .gitignore

* Fix bug where you can open two .gitignore files

* Add option to hide hidden file warning

* Fix PR requests for gitignore bug

* Fix prettier styles for gitignore

* Improve translation

* Improve gitignore model and add hiddenFile option to schema

* Fix eslint

* Fix .gitignore content sending

---------

Co-authored-by: Frédéric Collonval <fcollonval@users.noreply.github.com>
(cherry picked from commit 23fa764)
@github-actions
Copy link

Binder 👈 Launch a Binder on branch fcollonval/jupyterlab-git/backport/1273-load-gitignore-file

@fcollonval fcollonval closed this Nov 16, 2023
@fcollonval fcollonval reopened this Nov 16, 2023
@fcollonval fcollonval merged commit d152a60 into jupyterlab:main Nov 16, 2023
@fcollonval fcollonval deleted the backport/1273-load-gitignore-file branch November 16, 2023 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants