-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(handlers): fix error log text refactor(webhook): extract text and media search - We will reuse them when proessing batch refactor(webhook): extract bubble generation so that we can reuse them in batch processing - Both text & media now uses "I choose 2" instead of "I choose 'some text'" to simplify logic - Searching for text now also shows preview refactor(handler): use `createTextMessage` in `initState` and `processMedia` - to avoid user from copying chatbot ![image](https://github.com/cofacts/rumors-line-bot/assets/108608/edf90b3b-d24a-4abc-8a6f-11dfd13b8df9)
- Loading branch information
Showing
12 changed files
with
591 additions
and
499 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
209 changes: 132 additions & 77 deletions
209
src/webhook/handlers/__tests__/__snapshots__/initState.test.ts.snap
Large diffs are not rendered by default.
Oops, something went wrong.
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.