dmitrizzle / chat-bubble

Simple chatbot UI for the Web with JSON scripting 👋🤖🤙
MIT License
579 stars 171 forks source link

Real-time, immutable conversation state #20

Closed dmitrizzle closed 6 years ago

dmitrizzle commented 7 years ago

Right now the chat bubble works fine, but there might be issues should the conversation options be updated in real-time or need to be more flexible. At very least there should be some sort of concise record of the conversation and user interaction besides computer RAM.

Note: it's still fine to have the system work as-is for now, but data records will need to be created in the following fashion

dmitrizzle commented 6 years ago

After some thinking this would be an overkill for this project and adding Redux will seriously add a lot of weight. Additionally it'll go against the project paradigm of 0 dependencies. #47 should accomplish what's necessary (it'll produce a mutable array of a set length that will shift as new content is added)