Changeset 68e819dda748…
Parent d0c1a9a6c97e…
by Rich Armstrong <rich@fogcreek.com>
Changes to one file · Browse files at 68e819dda748 Showing diff from parent d0c1a9a6c97e Diff from another changeset...
@@ -2,11 +2,29 @@ This is the code for a BugMonkey customization that'll allow you to build bookmarks that spawn off
new cases, either taking some values from the current case you're looking at, or specifying new values.
-In either case, it grabs the current selection from the current web page. So, if you find a typo in your web site,
-you can just highlight and click the button.
+In either case, it grabs the selection from the current web page (if there is one) and pulls over the URL as well.
+So, if you find a typo in your web site, you can just highlight and click the button.
+
+Installation Instructions:
+
+1.) Install BugMonkey: http://www.fogcreek.com/fogbugz/Plugins/plugin.aspx?ixPlugin=16
+2.) Download this file.
+3.) Take everything between the //START and //END tags in this file, and use it to replace the
+ line in the comment block at the end that reads: $.getScript('http://rich/bookmarklets/bookmarklets.js');
+4.) Copy the text between
+
+ name: Bookmarklet Builder
+ ...
+ <the second to last line of the file>
+
+5.) Put it in a new BugMonkey customization and save it.
+6.) Go to Customizations You Own and turn it on for yourself, then Edit Rules and add All Normal Users and All Administrators.
+
+Sorry, this will soon be a plug-in allowing you to save your own bookmarks and share them with others. Just need to
+work out the kinks first.
Known Issues:
- - If you highlight case text with two cases after a period, the escaping comes over a little weird.
+ - If you highlight case text with two cases after a period, the escaping comes over a little weird (e.g. "bar.? Foo").
Planned Enhancements:
- Bug Event template, allowing you to put arbitrary text into a multi-line TEXTAREA, which is then dropped in with the
@@ -14,7 +32,7 @@
*/
-
+//START
var same_as_current = '-- same as case being viewed --';
// this data structure houses everything we need to know about the bookmarklet
@@ -473,6 +491,8 @@switchTemplateBookmarklet();
populateAreasAndMilestones(); // this puts all the global milestones in the dropdown
buildBookmarklet();
+
+//END
/*
@@ -616,4 +636,5 @@#selector_div {
margin-top: 20px;
}
+#
*/
|
Loading...