Skip to content

Commit

Permalink
feat(default-merge-strategy): choose default merge strategy
Browse files Browse the repository at this point in the history
Choose either "Merge commit" or "Squash" as the default merge strategy for pull requests in the Options page

Closes issue #90
  • Loading branch information
reyronald committed Dec 7, 2017
1 parent f54b773 commit f9d1f68
Show file tree
Hide file tree
Showing 17 changed files with 285 additions and 262 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Next Version

### Features:

* **Default-merge-strategy**: Choose either "Merge commit" or "Squash" as the default merge strategy for pull requests in the Options page, closes [issue #90](https://github.com/refined-bitbucket/refined-bitbucket/issues/90), [pull request #91](https://github.com/refined-bitbucket/refined-bitbucket/pull/91).

### Improvements:

* **General**: Added checkboxes in the Options page to allow the user to opt-in / opt-out of each feature of the extension individually, closes [issue #86](https://github.com/refined-bitbucket/refined-bitbucket/issues/86), [pull request #87](https://github.com/refined-bitbucket/refined-bitbucket/pull/87).
Expand Down
3 changes: 0 additions & 3 deletions extension/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@
{
"js": [
"prism.js",
"vendor/jquery-3.1.0.min.js",
"vendor/jquery.highlight.js",
"vendor/mousetrap.min.js",
"main.js"
],
"matches": [
Expand Down
7 changes: 7 additions & 0 deletions extension/options.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@
</label>
<br>
<br>

<label> Default Merge Strategy </label>
<form id="default-merge-strategy-form" style="margin: 0.5em 0 0 1em;">
<input type="radio" name="default-merge-strategy" value="merge_commit" checked> Merge commit
<input type="radio" name="default-merge-strategy" value="squash"> Squash
</form>
<br>

<div>
<div>
Expand Down
4 changes: 0 additions & 4 deletions extension/vendor/jquery-3.1.0.min.js

This file was deleted.

155 changes: 0 additions & 155 deletions extension/vendor/jquery.highlight.js

This file was deleted.

9 changes: 0 additions & 9 deletions extension/vendor/mousetrap.min.js

This file was deleted.

Loading

0 comments on commit f9d1f68

Please sign in to comment.