tcrammond / chrome-pullrequest-templates Goto Github PK
View Code? Open in Web Editor NEWChrome extension to pre-populate pull requests with a template on GitHub and Bitbucket
Chrome extension to pre-populate pull requests with a template on GitHub and Bitbucket
Hi again!
I've seen another issue related to the previous one I commented you.
As the default behavior is adding the template to whatever is there, when you try to edit a pull request, you have the template duplicated.
Adding an option in the configuration to decide if the template should overwrite or add the template to whatever is in the textbox would be great.
Thank you so much,
Oscar.
Hi,
I'm currently using the templates with Bitbucket, and I realized that sometimes the default text that Bitbucket provides in the PR (commit messages, mainly) disappears.
So sometimes the template is added to the one that Bitbucket provides, and sometimes overwrites it. I don't know if it happens in Github two.
I have seen the code, and the first behavior was expected. I think that setTimeout is not enough sometimes.
setTimeout(function() {
el.value = el.value + (el.value && el.value.length ? '\r\n' : '') + template;
}, 1000);
Thank you so much,
Oscar.
I use this extension with my team and was hoping you could get it back into the store! Thanks!
Would be great if there's support to select from different template URLs at PR creation time. We have different templates for different repositories, and would be great to have this option.
I really like the idea of this plugin, sadly there is no alternative for firefox.
Overwrites the default 'commit messages' template instead of appending, irrespective of 'Overwrite default template in Bitbucket?' is checked or not.
I'd like to take a stab at adding GitLab support but not sure about running this locally, would ask that local setup steps + contributing docs are added
Would it be possible to add support for multiple custom repos?
Our use case is that frontend and backend PRs use different templates. We'd like to distinguish the projects by the regex.
In the extension options, Bitbucket PR Template URL does not display the correct URL.
The URL entered is used by the extension, but the field in options will always show https://raw.github.com/sprintly/sprint.ly-culture/master/pr-template.md
so the actual URL in use cannot be retrieved.
To replicate:
We'd like to use this to automatically add status badges for our pull requests, however, each status badge has it's own url based on the branch. It would be absolutely wonderful to have something like {{branch}} to fill in the branch name :)
Cheers! ๐
When I check the "Overwrite default template in Bitbucket?" field, the choice does not save.
Hi @tcrammond,
First off, thanks for creating this Chrome extension. It standardises our team workflow.
At the moment, the template is not loading with Bitbucket's new textarea
field, which tries to do away with Preview mode and uses a contenteditable
<div />
element now.
Hopefully you can look into this soon.
Thanks,
JP
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.