@intuitionrobotics/bug-report 0.41.68 → 0.41.71

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/app-backend/api/_bug-report.js +1 -1
  2. package/app-backend/api/_bug-report.js.map +1 -1
  3. package/app-backend/api/v1/bug-reports/download.js +11 -55
  4. package/app-backend/api/v1/bug-reports/download.js.map +1 -1
  5. package/app-backend/api/v1/bug-reports/get-logs.js +10 -54
  6. package/app-backend/api/v1/bug-reports/get-logs.js.map +1 -1
  7. package/app-backend/api/v1/bug-reports/reports.js +12 -62
  8. package/app-backend/api/v1/bug-reports/reports.js.map +1 -1
  9. package/app-backend/core/module-pack.js +6 -6
  10. package/app-backend/core/module-pack.js.map +1 -1
  11. package/app-backend/modules/AdminBRModule.js +16 -70
  12. package/app-backend/modules/AdminBRModule.js.map +1 -1
  13. package/app-backend/modules/BugReportModule.js +45 -115
  14. package/app-backend/modules/BugReportModule.js.map +1 -1
  15. package/app-backend/modules/JiraBugReportIntegrator.js +24 -75
  16. package/app-backend/modules/JiraBugReportIntegrator.js.map +1 -1
  17. package/app-backend/modules/SlackBugReportIntegrator.js +24 -75
  18. package/app-backend/modules/SlackBugReportIntegrator.js.map +1 -1
  19. package/app-frontend/core/module-pack.js +2 -2
  20. package/app-frontend/core/module-pack.js.map +1 -1
  21. package/app-frontend/modules/AdminBRModule.js +22 -68
  22. package/app-frontend/modules/AdminBRModule.js.map +1 -1
  23. package/app-frontend/modules/BugReportModule.js +25 -41
  24. package/app-frontend/modules/BugReportModule.js.map +1 -1
  25. package/app-frontend/ui/AdminBR.js +15 -31
  26. package/app-frontend/ui/AdminBR.js.map +1 -1
  27. package/app-frontend/ui/BugReport.js +30 -46
  28. package/app-frontend/ui/BugReport.js.map +1 -1
  29. package/app-frontend/ui/Dialog_JiraOpened.js +15 -32
  30. package/app-frontend/ui/Dialog_JiraOpened.js.map +1 -1
  31. package/package.json +3 -3
@@ -17,27 +17,14 @@
17
17
  * See the License for the specific language governing permissions and
18
18
  * limitations under the License.
19
19
  */
20
- var __extends = (this && this.__extends) || (function () {
21
- var extendStatics = function (d, b) {
22
- extendStatics = Object.setPrototypeOf ||
23
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
24
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
25
- return extendStatics(d, b);
26
- };
27
- return function (d, b) {
28
- extendStatics(d, b);
29
- function __() { this.constructor = d; }
30
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
31
- };
32
- })();
33
20
  Object.defineProperty(exports, "__esModule", { value: true });
34
21
  exports.BugReport = void 0;
35
- var React = require("react");
36
- var BugReportModule_1 = require("../modules/BugReportModule");
37
- var frontend_1 = require("@intuitionrobotics/thunderstorm/frontend");
38
- var ts_common_1 = require("@intuitionrobotics/ts-common");
39
- var api_1 = require("../../shared/api");
40
- var style = {
22
+ const React = require("react");
23
+ const BugReportModule_1 = require("../modules/BugReportModule");
24
+ const frontend_1 = require("@intuitionrobotics/thunderstorm/frontend");
25
+ const ts_common_1 = require("@intuitionrobotics/ts-common");
26
+ const api_1 = require("../../shared/api");
27
+ const style = {
41
28
  cursor: "pointer",
42
29
  display: "flex",
43
30
  alignItems: "center",
@@ -52,51 +39,49 @@ var style = {
52
39
  borderRadius: "50%",
53
40
  borderColor: 'transparent'
54
41
  };
55
- var BugReport = /** @class */ (function (_super) {
56
- __extends(BugReport, _super);
57
- function BugReport(props) {
58
- var _this = _super.call(this, props) || this;
59
- _this.showAppConfirmationDialogExample = function () {
60
- var title = "Bug Report";
61
- var onSubmit = function () {
62
- if (!_this.state.subject)
42
+ class BugReport extends React.Component {
43
+ constructor(props) {
44
+ super(props);
45
+ this.showAppConfirmationDialogExample = () => {
46
+ const title = "Bug Report";
47
+ const onSubmit = () => {
48
+ if (!this.state.subject)
63
49
  return frontend_1.ToastModule.toastError('you must first add a subject');
64
- if (!_this.state.description)
50
+ if (!this.state.description)
65
51
  return frontend_1.ToastModule.toastError('you must first add a description');
66
- BugReportModule_1.BugReportModule.sendBugReport(_this.state.subject, _this.state.description || '', [api_1.Platform_Jira]);
67
- _this.setState({ subject: undefined, description: undefined });
52
+ BugReportModule_1.BugReportModule.sendBugReport(this.state.subject, this.state.description || '', [api_1.Platform_Jira]);
53
+ this.setState({ subject: undefined, description: undefined });
68
54
  frontend_1.DialogModule.close();
69
55
  };
70
- var content = React.createElement("div", { className: 'll_v_c' },
56
+ const content = React.createElement("div", { className: 'll_v_c' },
71
57
  React.createElement("div", { style: {
72
- border: "1px solid darkslategray",
58
+ border: `1px solid darkslategray`,
73
59
  marginBottom: "5px",
74
60
  width: "91%",
75
61
  margin: "8px"
76
62
  } },
77
- React.createElement(frontend_1.TS_Input, { id: "bug-report-subject", type: "text", value: _this.state.subject || '', placeholder: "type bug name here", name: ts_common_1.generateHex(8), onChange: function (subject) { return _this.setState({ subject: subject }); } })),
78
- React.createElement(frontend_1.TS_TextArea, { id: "bug-report-description", type: "text", style: { height: "110px", margin: "8px", width: "100%", outline: "none" }, value: _this.state.description || '', placeholder: "type bug description here", onChange: function (description) { return _this.setState({ description: description }); } }));
63
+ React.createElement(frontend_1.TS_Input, { id: "bug-report-subject", type: "text", value: this.state.subject || '', placeholder: "type bug name here", name: ts_common_1.generateHex(8), onChange: (subject) => this.setState({ subject }) })),
64
+ React.createElement(frontend_1.TS_TextArea, { id: "bug-report-description", type: "text", style: { height: "110px", margin: "8px", width: "100%", outline: "none" }, value: this.state.description || '', placeholder: "type bug description here", onChange: (description) => this.setState({ description }) }));
79
65
  new frontend_1.Dialog_Builder(content)
80
66
  .setTitle(title)
81
- .addButton(frontend_1.DialogButton_Cancel(function () {
82
- _this.setState({ description: undefined, subject: undefined });
67
+ .addButton(frontend_1.DialogButton_Cancel(() => {
68
+ this.setState({ description: undefined, subject: undefined });
83
69
  frontend_1.DialogModule.close();
84
70
  }))
85
- .addButton(frontend_1.DialogButton_Submit(function () { return onSubmit(); }, 'Submit'))
71
+ .addButton(frontend_1.DialogButton_Submit(() => onSubmit(), 'Submit'))
86
72
  .setOverlayColor("rgba(102, 255, 255, 0.4)")
87
73
  .show();
88
74
  };
89
- _this.state = {};
90
- return _this;
75
+ this.state = {};
91
76
  }
92
- BugReport.prototype.componentDidCatch = function (error, errorInfo) {
77
+ componentDidCatch(error, errorInfo) {
93
78
  BugReportModule_1.BugReportModule.sendBugReport("Automatic submission", "these logs were triggered by a UI failure", [api_1.Platform_Slack]);
94
79
  this.setState({
95
80
  error: error,
96
81
  errorInfo: errorInfo
97
82
  });
98
- };
99
- BugReport.prototype.render = function () {
83
+ }
84
+ render() {
100
85
  if (this.state.errorInfo) {
101
86
  return (React.createElement("div", null,
102
87
  React.createElement("h2", null, "Something went wrong."),
@@ -104,15 +89,14 @@ var BugReport = /** @class */ (function (_super) {
104
89
  this.state.error && this.state.error.toString(),
105
90
  React.createElement("br", null),
106
91
  this.state.errorInfo.componentStack),
107
- React.createElement("button", { style: style, onClick: function () { return window.location.reload(); } }, "reload!")));
92
+ React.createElement("button", { style: style, onClick: () => window.location.reload() }, "reload!")));
108
93
  }
109
94
  return (React.createElement(React.Fragment, null,
110
95
  this.props.children,
111
96
  React.createElement("div", { onClick: this.showAppConfirmationDialogExample }, this.props.component ||
112
97
  React.createElement("button", { style: style }, "+"))));
113
- };
114
- return BugReport;
115
- }(React.Component));
98
+ }
99
+ }
116
100
  exports.BugReport = BugReport;
117
101
  ;
118
102
  //# sourceMappingURL=BugReport.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BugReport.js","sourceRoot":"","sources":["../../../src/main/app-frontend/ui/BugReport.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;;;;;AAEH,6BAA+B;AAC/B,8DAA2D;AAC3D,qEAQkD;AAClD,0DAAyD;AACzD,wCAG0B;AAK1B,IAAM,KAAK,GAAwB;IAClC,MAAM,EAAE,S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EAAE,2CAA2C,EAAC,CAAC,oBAAc,CAAC,CAAC,CAAC;QACpH,IAAI,CAAC,QAAQ,CAAC;YACC,KAAK,EAAE,KAAK;YACZ,SAAS,EAAE,SAAS;SACpB,CAAC,CAAC;IAClB,CAAC;IAqDD,MAAM;QACL,IAAI,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE;YACzB,OAAO,CACN;gBACC,wDAA8B;gBAC9B,iCAAS,KAAK,EAAE,EAAC,UAAU,EAAE,UAAU,EAAC;oBACtC,IAAI,CAAC,KAAK,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,EAAE;oBAChD,+BAAK;oBACJ,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,cAAc,CAC3B;gBACV,gCAAQ,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,cAAkB,CAC1E,CACN,CAAC;SACF;QAED,OAAO,CACN;YACE,IAAI,CAAC,KAAK,CAAC,QAAQ;YACpB,6BACC,OAAO,EAAE,IAAI,CAAC,gCAAgC,IAC7C,IAAI,CAAC,KAAK,CAAC,SAAS;gBACrB,gCAAQ,KAAK,EAAE,KAAK,QAAY,CAC3B,CACJ,CACH,CAAC;IACH,CAAC;CACD;AA7FD,8BA6FC;AAAA,CAAC"}
@@ -1,39 +1,23 @@
1
1
  "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- extendStatics(d, b);
11
- function __() { this.constructor = d; }
12
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
13
- };
14
- })();
15
2
  Object.defineProperty(exports, "__esModule", { value: true });
16
3
  exports.Dialog_JiraOpened = void 0;
17
- var DialogModule_1 = require("@intuitionrobotics/thunderstorm/app-frontend/modules/dialog/DialogModule");
18
- var BaseComponent_1 = require("@intuitionrobotics/thunderstorm/app-frontend/core/BaseComponent");
19
- var React = require("react");
20
- var Dialog_JiraOpened = /** @class */ (function (_super) {
21
- __extends(Dialog_JiraOpened, _super);
22
- function Dialog_JiraOpened(props) {
23
- var _this = _super.call(this, props) || this;
24
- _this.redirectToJira = function () {
25
- if (_this.props.url)
26
- window.open(_this.props.url);
4
+ const DialogModule_1 = require("@intuitionrobotics/thunderstorm/app-frontend/modules/dialog/DialogModule");
5
+ const BaseComponent_1 = require("@intuitionrobotics/thunderstorm/app-frontend/core/BaseComponent");
6
+ const React = require("react");
7
+ class Dialog_JiraOpened extends BaseComponent_1.BaseComponent {
8
+ constructor(props) {
9
+ super(props);
10
+ this.redirectToJira = () => {
11
+ if (this.props.url)
12
+ window.open(this.props.url);
27
13
  };
28
- return _this;
29
14
  }
30
- Dialog_JiraOpened.show = function (url) {
15
+ static show(url) {
31
16
  new DialogModule_1.Dialog_Builder(React.createElement(Dialog_JiraOpened, { url: url }))
32
17
  .setAllowIndirectClosing(true)
33
18
  .show();
34
- };
35
- Dialog_JiraOpened.prototype.render = function () {
36
- var _this = this;
19
+ }
20
+ render() {
37
21
  return React.createElement("div", { className: 'll_v_s fill', style: { width: 344 } },
38
22
  React.createElement("div", { className: 'll_v_s', style: { flex: 1, position: 'relative' } },
39
23
  React.createElement("div", { style: { textAlign: 'center', padding: '10px', fontSize: '16px', color: 'darkslategray' } }, "Success"),
@@ -49,9 +33,8 @@ var Dialog_JiraOpened = /** @class */ (function (_super) {
49
33
  color: 'darkslategray',
50
34
  position: "absolute",
51
35
  right: '35%'
52
- }, onClick: function () { return _this.redirectToJira(); } }, "Take me to jira"))));
53
- };
54
- return Dialog_JiraOpened;
55
- }(BaseComponent_1.BaseComponent));
36
+ }, onClick: () => this.redirectToJira() }, "Take me to jira"))));
37
+ }
38
+ }
56
39
  exports.Dialog_JiraOpened = Dialog_JiraOpened;
57
40
  //# sourceMappingURL=Dialog_JiraOpened.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Dialog_JiraOpened.js","sourceRoot":"","sources":["../../../src/main/app-frontend/ui/Dialog_JiraOpened.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yGAAwG;AACxG,iGAA8F;AAC9F,6BAA+B;AAO/B;IACS,qCAAwB;IAGhC,2BAAY,KAAW;QAAvB,YACC,kBAAM,KAAK,CAAC,SACZ;QAQD,oBAAc,GAAG;YAChB,IAAI,KAAI,CAAC,KAAK,CAAC,GAAG;gBACjB,MAAM,CAAC,IAAI,CAAC,KAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAC9B,CAAC,CAAC;;IAXF,CAAC;IAEa,sBAAI,GAAlB,UAAmB,GAAW;QAC7B,IAAI,6BAAc,CAAC,oBAAC,iBAAiB,IAAC,GAAG,EAAE,GAAG,GAAG,CAAC;aAChD,uBAAuB,CAAC,IAAI,CAAC;aAC7B,IAAI,EAAE,CAAC;IACV,CAAC;IAOD,kCAAM,GAAN;QAAA,iBAyBC;QAxBA,OAAO,6BAAK,SAAS,EAAE,aAAa,EAAE,KAAK,EAAE,EAAC,KAAK,EAAE,GAAG,EAAC;YACxD,6BAAK,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAC,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,UAAU,EAAC;gBAC/D,6BAAK,KAAK,EAAE,EAAC,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,eAAe,EAAC,cAAe;gBAC3G,6BAAK,KAAK,EAAE,EAAC,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,eAAe,EAAC,wCAAyC;gBACpI,6BAAK,KA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AAK,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAC,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,UAAU,EAAC;gBAC/D,6BAAK,KAAK,EAAE,EAAC,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,eAAe,EAAC,cAAe;gBAC3G,6BAAK,KAAK,EAAE,EAAC,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,eAAe,EAAC,wCAAyC;gBACpI,6BAAK,KAAK,EAAE,EAAC,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAC;oBACjD,6BACC,SAAS,EAAE,kBAAkB,EAC7B,KAAK,EAAE;4BACN,UAAU,EAAE,aAAa;4BACzB,MAAM,EAAE,EAAE;4BACV,YAAY,EAAE,EAAE;4BAChB,WAAW,EAAE,EAAE;4BACf,YAAY,EAAE,EAAE;4BAChB,QAAQ,EAAE,MAAM;4BAChB,KAAK,EAAE,eAAe;4BACtB,QAAQ,EAAE,UAAU;4BACpB,KAAK,EAAE,KAAK;yBACZ,EACD,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,cAAc,EAAE,sBAE/B,CACD,CACD,CACD,CAAC;IACR,CAAC;CACD;AA7CD,8CA6CC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intuitionrobotics/bug-report",
3
- "version": "0.41.68",
3
+ "version": "0.41.71",
4
4
  "description": "Bug Report",
5
5
  "keywords": [
6
6
  "IR",
@@ -35,8 +35,8 @@
35
35
  "@intuitionrobotics/user-account": "~0.41.0",
36
36
  "@intuitionrobotics/jira": "~0.41.0",
37
37
  "express": "^4.16.4",
38
- "firebase": "^9.6.1",
39
- "firebase-admin": "^10.0.1",
38
+ "firebase": "^9.9.1",
39
+ "firebase-admin": "^11.0.0",
40
40
  "jszip": "^3.3.0",
41
41
  "request": "^2.88.0",
42
42
  "moment": "^2.24.0",