Inside chat body, if there is a code block inside a list item it shows <br/> tags
Prompt input field in Q Chat tabs doesn't stop after it reaches to the given maxUserInput
Links in JetBrains inside Q Panel opens in Q panel's own window with middle mouse click.
Card auto scrolling should be optional
Solution
Removed break generation for list items (which is the supposed way from markedjs and github's own markdown styling)
Prompt input maxLength value was set incorrectly, it was using the function declaration instead of function call.
As we do for the clicks, we also mapped the middle clicks (auxclick) to the same handler functions, which will allow the JB side to control the event behavior (preventDefault) as they were doing for the normal clicks to avoid links opening inside Q panel.
A new option is added for the ChatItem which is called snapToTop for snap the card to the top of the scrolling container when the value is true (initially or during a stream)
Other
Bumped the version to v4.9.0
Add snapToTop documentation to the DATAMODEL.md
Updated eslint ignore list to avoid api-docs folder and future example folders checked for a linting issues.
Updated example app with a more complex markdown list example and snapToTop option showcase.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Problem
<br/>
tagsSolution
maxLength
value was set incorrectly, it was using the function declaration instead of function call.auxclick
) to the same handler functions, which will allow the JB side to control the event behavior (preventDefault) as they were doing for the normal clicks to avoid links opening inside Q panel.snapToTop
for snap the card to the top of the scrolling container when the value is true (initially or during a stream)Other
v4.9.0
snapToTop
documentation to theDATAMODEL.md
snapToTop
option showcase.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.