Skip to content

Allow per-publish commit messages when publishing to GitHub #340

@changemewtf

Description

@changemewtf

Right now, the only way to set the commit message when publishing to GitHub is in Settings -> Advanced, but this is prohibitively onerous if you want meaningful commit messages.

  1. The "GitHub commit message" field in Settings -> Advanced should be removed.
  2. In Publish on... -> GitHub, a "Commit Message" field should be added with two inputs:
    1. A checkbox, which is checked by default, with the label, "Ask me to provide a commit message every time I click the 'Update publishing' button."
    2. A text input field, which is disabled by default, and becomes enabled when the checkbox is unchecked.

If the box is checked, then every time the user clicks the "Update publishing" button, a modal dialogue appears before the commit occurs, containing a single text input with the label "Commit message:", and two buttons, "Cancel" and "Commit".

If the box is unchecked, then the current behavior is performed, but with the commit message coming from the per-publish dialogue as opposed to from the global settings menu.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions