Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/83694 streaming markdown handling #106

Merged
merged 29 commits into from
Jan 28, 2025
Merged
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
f56e073
add streaming msg WIP
Dec 10, 2024
f112b7f
0.37.0
Dec 10, 2024
d656ddd
formatting
Dec 10, 2024
7892654
WIP first version running with streaming msgs
Dec 12, 2024
5c8cb7a
prevent undefined ids
Jan 7, 2025
7be7b23
implemented streaming mode + markdown rendering
Jan 8, 2025
7adb6e4
Merge remote-tracking branch 'origin/main' into feature/83694-streami…
Jan 13, 2025
34e28b3
remove streaming prop from ChatBubble component
Jan 13, 2025
9bc015a
improve animation accross types and tack states
Jan 15, 2025
1a927e9
ran prettier
Jan 15, 2025
6447157
show Message id on message component for scrolling logic
Jan 16, 2025
f324e0d
fix markdown display
Jan 17, 2025
5bd0eb9
add typing indicator border hiding
Jan 20, 2025
ad935ac
prettier
Jan 20, 2025
32c0c10
fix warning
Jan 21, 2025
6432abd
Update format.yml
dshire Jan 21, 2025
19cd24a
prettier fix
Jan 21, 2025
818aabe
adding support for html within markdown
Jan 22, 2025
ba8b7e5
have the animation inline with last p element
Jan 22, 2025
6af7aac
rename setting
Jan 23, 2025
db1652e
split settings
Jan 23, 2025
40e2e48
upgrade node to 22
Jan 27, 2025
27db026
Merge remote-tracking branch 'origin/main' into feature/83694-streami…
Jan 27, 2025
da0f05d
added plugin to render tables and more markdown / added open links in…
Jan 27, 2025
f9066dd
added styles for the markdown tables
Jan 27, 2025
dcf27d1
prettier
Jan 27, 2025
9371713
remove eslint issues
Jan 28, 2025
c9fded5
Merge remote-tracking branch 'origin/main' into feature/83694-streami…
Jan 28, 2025
70a89bf
0.40.0
Jan 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actionsx/prettier@v2
- uses: actions/setup-node@v3
with:
# We should consider autofixing the issues at some point
args: --check .
node-version: "18"
dshire marked this conversation as resolved.
Show resolved Hide resolved

- name: Install Dependencies
run: npm ci
- name: Run Prettier Check
run: npx prettier --check .
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@

This repository contains reusable components Cognigy uses in various of their products in order to render chat-messages such as:

- text messages
- galleries
- quick replies
- buttons
- images
- text messages
- galleries
- quick replies
- buttons
- images

and much more. We aim to use these components in various products such as:

- Cognigy.AI - as part of our Interaction Panel
- Cognigy Insights - as part of the Transcript Explorer
- Cognigy Live Agent - in order to render the Chat history
- Webchat v3 - our new Webchat Widget
- Cognigy.AI - as part of our Interaction Panel
- Cognigy Insights - as part of the Transcript Explorer
- Cognigy Live Agent - in order to render the Chat history
- Webchat v3 - our new Webchat Widget

## Develop

Expand All @@ -25,7 +25,7 @@ and much more. We aim to use these components in various products such as:

### To test in local Webchat v3 build:

1. In /chat-components run `npm ci && npm run build && npm pack`
1. In /chat-components run `npm ci && npm pack`
2. In /Webchat folder run npm i with the correct relative path and file name, e.g. `npm i ../chat-components/cognigy-chat-components-0.36.1.tgz`

## Release
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand Down
Loading
Loading