Commit Graph

15 Commits

Author SHA1 Message Date
Sean Hatfield
b7c7c0db98
Add more verbose error messages in embed chat (#2306)
* publish embed updates

* server sided error messages

* publish embed chat widget

* sync submodule

* unset change

* update embed to merged changes for error

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-09-19 11:28:45 -05:00
Timothy Carambat
f7d1940677
Support suggestions of messages for empty chat in widget (#2133)
* Support suggestions of messages for empty chat in widget

* publish
2024-08-16 19:19:39 -07:00
Timothy Carambat
a8d25c7dd3
Allow readable username passed in script widget (#2131) 2024-08-16 16:55:42 -07:00
Timothy Carambat
3198718975
Update references to new domain (#1916) 2024-07-22 11:05:34 -07:00
Sean Hatfield
d037ab27f4
[FEAT] Generic error messages for embed chat widget (#1861)
* give generic error messages for embed chat widget

* give generic errors on embed chat errors but log to console

* lint

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-07-15 12:40:29 -07:00
Sean Hatfield
554f414cb8
[FIX] Embed chat widget message color bug fix (#1843)
* fix assistant bg color data prop

* publish modified embed changes
2024-07-10 14:02:43 -07:00
Timothy Carambat
245d1b878e
Patch Embed styles with prefixing (#1799)
* Patch Embed styles with prefixing

* forgot files
2024-07-01 16:32:23 -07:00
Timothy Carambat
c7e9240801
Add chat embed HTML ids (#1514) 2024-05-23 10:54:07 -07:00
Sean Hatfield
a79683065f
[FIX] Make height and width data options apply to mobile styles (#1412)
* make height and width data options apply to mobile styles

* update build and respect viewport on dev index

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-05-16 10:45:46 -07:00
Sean Hatfield
b2b41db110
[FEAT] Implement width and height resizing options for embed chat widget (#1278)
* WIP embed app window size

* fix UI when resizing window and add text size customization option

* update stylying for dims

* publish new embed

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-05-08 14:11:55 -07:00
Sean Hatfield
0081192fc9
[FEAT] Add ability to override chat user icon and name in embedded chat widget (#1067)
* add ability to override chat user icon and name in embedded chat widget

* publish embed changes
2024-04-09 15:08:46 -07:00
Sean Hatfield
57984fa85c
[FEAT] Include CSS selectors on all html elements in embedded chat widget (#1030)
* add ids to main html elements and aria-labels in embedded chat widget

* revert index.html embedded chat widget testing page

* remove id from chat messages and replace with placeholder classname
2024-04-03 13:45:12 -07:00
Sean Hatfield
335ac43a5a
[FEAT] Implement new designs for embed widget (#976)
* WIP implement new embed designs

* WIP embed designs

* WIP embed UI

* UI complete for desktop styles

* desktop UI fixes

* UI fixes

* mobile view ui changes

* fix placement of open button

* small tweaks to UI

* add support for positioning embed chat

* finalize docs for embed
Publish new version

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-04-02 13:03:42 -07:00
timothycarambat
83e1c06020 publish list fix for embed chat 2024-02-07 13:07:41 -08:00
Sean Hatfield
1846a99b93
[FEAT] Embedded AnythingLLM (#656)
* WIP embedded app

* WIP got response from backend in embedded app

* WIP streaming prints to embedded app

* implemented streaming and tailwind min for styling into embedded app

* WIP embedded app history functional

* load params from script tag into embedded app

* rough in modularization of embed chat
cleanup dev process for easier dev support
move all chat to components
todo: build process
todo: backend support

* remove eslint config

* Implement models and cleanup embed chat endpoints
Improve build process for embed
prod minification and bundle size awareness
WIP

* forgot files

* rename to embed folder

* introduce chat modal styles

* add middleware validations on embed chat

* auto open param and default greeting

* reset chat history

* Admin embed config page

* Admin Embed Chats mgmt page

* update embed

* nonpriv

* more style support
reopen if chat was last opened

* update comments

* remove unused imports

* allow change of workspace for embedconfig

* update failure to lookup message

* update reset script

* update instructions

* Add more styling options
Add sponsor text at bottom
Support dynamic container height
Loading animations

* publish new embed script

* Add back syntax highlighting and keep bundle small via dynamic script build

* add hint

* update readme

* update copy model for snippet with link to styles

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-02-05 14:21:34 -08:00