-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
741 transformed messages not showing correctly (#800)
* combines two separate bits of logic for winning level in processChatResponse * renames increamentNumCompletedLevels to updateNumCompletedLevels * renames ChatHistoryMessage to ChatMessageDTO * refactors getChatHistory * further refactors getChatHistory to remove immutability * refactors makeChatMessageFromDTO * removed some outdated comments * adds reminder comment and transformedMessage as propery to chatHistoryMessage * sets transformed message inn chat history * adds ability to retrieve transformed message from the dto * add the transformed info message in backend rather than frontend * adds the transformedMessageInfo to the chat response so it can be shown in the frontend * combine message transformation objects into one object * tidies random sequence transformation test * finalise random sequence transformation test * tidy up xml tagging transformation test * tidy up xml tagging transformation test with escaping * removes unnecessary test and reorders * moves no transformation into transformation test block and removes unused stuff from file * moves transform message tests into separate test file * remove isTriggered from defence object * complete message transformation test * use undefined instead of null for transofrmed messages * updates test * removes isTriggered from test to make it pass * implements undefined tricks
- Loading branch information
1 parent
fc153a9
commit 2b64c6c
Showing
18 changed files
with
328 additions
and
171 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.