Release 2.0.8
Two new features in the vanilla widget, both targeted by a Dify
contributor issue:
The widget now lets the end user attach an optional free-text
comment to a thumbs-up/down rating. The rating is persisted as soon
as a thumb is clicked, and a follow-up POST updates the entry with
the comment when the user clicks Send. A pencil button reopens the
editor pre-filled when a comment exists. The {rating, content}
state is mirrored in localStorage so a page reload restores both.
Thumb/edit pictograms are inline SVGs, theme-overridable through
Twig templates, and the widget styling is now insulated from host
themes (typography reset, !important on icon colours).
The widget now consumes Dify's GET /v1/parameters on every open to
render the configured opening_statement and a row of quick-start
suggested_questions buttons before the first user message. The
buttons disappear when the conversation moves on and reappear on
"new conversation". The post-answer suggestion fetch is skipped
when the app disables suggested_questions_after_answer. No hard
cap on the number of suggestions rendered.