-
Notifications
You must be signed in to change notification settings - Fork 76
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
[FR-22] feature: handle image and text attachments in chat modal #2993
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has required the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
d66abb0
to
c806e76
Compare
e89776f
to
ac6fc22
Compare
c806e76
to
827a491
Compare
a19f8a4
to
e2cbb5b
Compare
827a491
to
5f9ec90
Compare
e2cbb5b
to
2f47fc3
Compare
5f9ec90
to
a464d31
Compare
bacf184
to
bd77974
Compare
a464d31
to
21ed5a4
Compare
bd77974
to
d3be4f3
Compare
21ed5a4
to
8071aa8
Compare
d3be4f3
to
2183500
Compare
2183500
to
33c3b8c
Compare
Coverage report for
|
St.❔ |
Category | Percentage | Covered / Total |
---|---|---|---|
🔴 | Statements | 5% (-0.01% 🔻) |
398/7966 |
🔴 | Branches | 4.32% (-0.01% 🔻) |
237/5492 |
🔴 | Functions | 2.99% (-0.01% 🔻) |
78/2606 |
🔴 | Lines | 4.91% (-0.01% 🔻) |
383/7793 |
Test suite run success
124 tests passing in 14 suites.
Report generated by 🧪jest coverage report action from 34f9b24
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you set getDropContainer
to enable users to drop files onto each chat card? Please refer https://x.ant.design/components/attachments#attachments-demo-basic
5553f40
to
ee0b6eb
Compare
Now it is available 🚀 |
29ccaa6
to
42ab6b9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please request a review again after improving the attachment UX.
42ab6b9
to
76d02ea
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Merge activity
|
resolves part of https://lablup.atlassian.net/browse/FR-22?atlOrigin=eyJpIjoiNjBiMTg0ZWVmN2M3NGNiNmEzYjZhNjE5NmM0NDA4NDAiLCJwIjoiaiJ9 Enable attaching image/text files to ChatSender. Test: 1. Login with admin 2. Visit `<dogbowl endpoint>/serving/9837a76e-d62e-4215-9f76-a10b4b9175fc`. (But, please note that this model only allows one image in one conversion.) 3. Test with Chat modal. 4. Attach image or text file. Features with images: - You can add a image file by clicking or drag and drop.  - Attach an image or text file.  - Attach a file and close the attachments. You can see a Badge.  - Conversation with LLM model.   **Checklist:** (if applicable) - [x] Mention to the original issue - [ ] Documentation - [ ] Minium required manager version - [x] Specific setting for review (eg., KB link, endpoint or how to setup) - [x] Minimum requirements to check during review - [ ] Test case(s) to demonstrate the difference of before/after
76d02ea
to
34f9b24
Compare
resolves part of https://lablup.atlassian.net/browse/FR-22?atlOrigin=eyJpIjoiNjBiMTg0ZWVmN2M3NGNiNmEzYjZhNjE5NmM0NDA4NDAiLCJwIjoiaiJ9
Enable attaching image/text files to ChatSender.
Test:
<dogbowl endpoint>/serving/9837a76e-d62e-4215-9f76-a10b4b9175fc
. (But, please note that this model only allows one image in one conversion.)Features with images:
You can add a image file by clicking or drag and drop.

Attach an image or text file.

Attach a file and close the attachments. You can see a Badge.

Conversation with LLM model.


Checklist: (if applicable)