Input display is now its own component, shared between both Chat and Text/CSV.
The display has been improved with a small toolbar that displays both the number of returned locations, and the button for editing the initial input.
Editing
The textarea for editing has also been revamped. When editing is enabled the textarea will be shiwn, along with options to Cancel or to Save & resend. If Textarea is empty, the option to save becomes disabled.
The height of the textarea is also responsive to the given input and will resize automatically as you write.
JsonTweeks
The returned answer text from GPT is now rotated to display history of oldest to newest from top to bottop, showing user request first at the top, followed by respons from assistant. JsonRenderer is now configured to add linebreaks and spacing throughout the text to break it up a little. There are now paragraph spacing, in addition to giving new line to numbered elements.
Other changes
Slight tweeking and refactoring of logic in ApiUtil, askingView, startChatGPt and startDataSourceInput
Renamed some handlers and values
Removed a number of useStates and React Dispatches that became obsolete
Added simple confirmation window when Discard in the toolbar is clicked, asking if the user is sure.
Improvements to the input display
Input display is now its own component, shared between both Chat and Text/CSV. The display has been improved with a small toolbar that displays both the number of returned locations, and the button for editing the initial input.
Editing
The textarea for editing has also been revamped. When editing is enabled the textarea will be shiwn, along with options to
Cancel
or toSave & resend
. If Textarea is empty, the option to save becomes disabled. The height of the textarea is also responsive to the given input and will resize automatically as you write.JsonTweeks
The returned answer text from GPT is now rotated to display history of oldest to newest from top to bottop, showing user request first at the top, followed by respons from assistant. JsonRenderer is now configured to add linebreaks and spacing throughout the text to break it up a little. There are now paragraph spacing, in addition to giving new line to numbered elements.
Other changes
Discard
in the toolbar is clicked, asking if the user is sure.