Skip to content

Commit

Permalink
Fix TesterResponse & IssueDispute representation (#1175)
Browse files Browse the repository at this point in the history
Fix TesterResponse & IssueDispute representation

Let's update the string representation of TesterResponse and
IssueDispute to use the new line separator <catcher-end-of-segment><hr>
instead of `--------------`.
  • Loading branch information
cheehongw authored Mar 19, 2023
1 parent 5180cff commit 107af02
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "CATcher",
"version": "3.4.6",
"version": "3.4.7",
"main": "main.js",
"scripts": {
"postinstall": "npm run postinstall:electron && electron-builder install-app-deps",
Expand Down
2 changes: 1 addition & 1 deletion src/app/core/models/issue-dispute.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export class IssueDispute {
readonly TODO_DESCRIPTION = 'Done';
readonly INITIAL_RESPONSE = '[replace this with your explanation]';
readonly TITLE_PREFIX = '## :question: ';
readonly LINE_BREAK = '-------------------\n';
readonly LINE_BREAK = '<catcher-end-of-segment><hr>\n';
title: string; // e.g Issue severity
description: string; // e.g Team says: xxx\n Tester says: xxx.
tutorResponse: string; // e.g Not justified. I've changed it back.
Expand Down
2 changes: 1 addition & 1 deletion src/app/core/models/tester-response.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export class TesterResponse {
readonly TITLE_PREFIX = '## :question: ';
readonly DISAGREEMENT_PREFIX = '**Reason for disagreement:** ';
readonly INITIAL_RESPONSE = '[replace this with your explanation]';
readonly LINE_BREAK = '-------------------\n';
readonly LINE_BREAK = '<catcher-end-of-segment><hr>\n';
title: string; // e.g Issue Severity
description: string; // e.g Team chose `Low`. Originally `High`.
disagreeCheckbox: Checkbox; // e.g - [x] I disagree
Expand Down

0 comments on commit 107af02

Please sign in to comment.