188
|
|
|
bryce |
4 years ago
|
|
|
187
|
|
|
bryce |
4 years ago
|
|
|
186
|
|
|
bryce |
4 years ago
|
|
|
185
|
|
|
bryce |
4 years ago
|
|
|
184
|
|
|
bryce |
4 years ago
|
|
|
183
|
|
|
bryce |
4 years ago
|
|
|
182
|
|
stockreplies: Major re-write (PSA: Functional regressions)
The original script no longer runs against modern Greasemonkey due to several changes in the API. Notably, the API for loading external XML files dynamically has been removed from the language, which unfortunately invalidates a large chunk of this script's functionality.
With this rewrite the functionality is drastically simplified down to just loading stock replies from external JSON files, displaying buttons to select which stock reply to use, and substituting in bug # and other information from the bug report. This gets us back to solid footing restoring the script to basic usability.
On the plus side, this rewrite has allowed tightening up the code a bit, and starts using the console for debug messages rather than alert()'s.
On the minus side, this regresses several pieces of functionality: - Dynamic editing/saving of stock replies - Reload button - Setting of bug report metadata (importance, etc.)
It's unknown at this time if the dynamic editing can be restored; certainly this involved an extensive amount of Javascript, so if it's omitted it may make this script simpler to maintain in the future.
The loss of on-demand reload functionality is quite annoying, but does not have a known solution at present. Investigation will continue for this.
The bug metadata is straightforward to restore and will be re-introduced in a subsequent commit.
|
bryce |
4 years ago
|
|
|
181
|
|
|
Brian Murray |
8 years ago
|
|
|
180
|
|
|
Brian Murray |
10 years ago
|
|
|
179
|
|
|
Brian Murray |
10 years ago
|
|
|
178
|
|
|
Michael Hudson-Doyle |
11 years ago
|
|
|
177
|
|
|
Brian Murray |
11 years ago
|
|
|
176
|
|
|
Brian Murray |
11 years ago
|
|
|
175
|
|
|
Michael Hudson-Doyle |
12 years ago
|
|
|
174
|
|
|
Brian Murray |
12 years ago
|
|
|
173
|
|
|
Michael Hudson-Doyle |
12 years ago
|
|
|
172
|
|
|
Brian Murray |
12 years ago
|
|
|
171
|
|
|
Michael Hudson-Doyle |
12 years ago
|
|
|
170
|
|
|
Bryce Harrington |
12 years ago
|
|
|
169
|
|
|
Bryce Harrington |
12 years ago
|
|
|