Problem/Motivation
add feedback Modal.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | Screenshot 2025-12-03 at 19.38.22.png | 49.62 KB | wouters_f |
Issue fork ai_search_block-3561226
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
wouters_f commentedAdded a modal to capture the feedback

Comment #3
wouters_f commentedhttps://git.drupalcode.org/project/ai_search_block/-/commit/0752193cd6e9...
Comment #4
jasdeba commentedTested on version 1.0.0-rc21
This is working.
To show the modal, add this link in the Suffix text:
<a href="javascript://" class="ai-search-block-open-feedback">Give feedback</a>I also figured that you can set it up to both give a score and show the feedback modal with 1 link.
Example:
<a href="javascript://" class="ai_search_block_log_score ai-search-block-open-feedback" data-ai-search-block-log-score="0" >No 👎</a>