-
Notifications
You must be signed in to change notification settings - Fork 7
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
Allow a user to provide a commit message when saving a Document or Collection Item #5
Comments
I like the second option. This is something specific for the GitHub adapter so I don't think there should be something in the UI for that. Most people won't know what to write there (or even don't know they are using Git). The storage is independent of the collection (the same storage can be used for several collections and documents). But the default message could include, at least, the file name that is being edited/created. If you want to make it even more customizable, we can add an option for that. For example: const gh = new GitHub({
// ...
commitMessage(info) {
return `Edited file "${info.path}"`,
}
}); |
I like this, it feels like a good improvement! |
I just added this option. Let me know if it works for you. |
Thanks! Are you able to release version 0.3.4 with this update? |
done! |
Addressed in #8 |
When the CMS configuration is using GitHub as the storage adapter;
The text was updated successfully, but these errors were encountered: