discourse-ai/assets/javascripts/discourse/components
Keegan George d6beac48f8
DEV: Improve explain suggestion footnote replacement (#999)
Previously, when clicking add footnote on an explain suggestion it would replace the selected word by finding the first occurrence of the word. This results in issues when there are more than one occurrences of a word in a post. This is not trivial to solve, so this PR instead prevents incorrect text replacements by only allowing the replacement if it's unique. We use the same logic here that we use to determine if something can be fast edited.

In this PR we also update tests for post helper explain suggestions. For a while, we haven't had tests here due to streaming/timing issues, we've been skipping our system specs. In this PR, we add acceptance tests to handle this which gives us improved ability to publish message bus updates in the testing environment so that it can be better tested without issues.
2024-12-04 11:41:34 -08:00
..
modal UX: move topic summary from DMenu to DModal (#992) 2024-12-03 13:30:15 -05:00
post-menu DEV: Update eslint config (#917) 2024-11-19 11:57:40 +01:00
suggestion-menus FIX: Tag suggester is suggesting already assigned tags (#990) 2024-12-03 07:25:04 +11:00
admin-report-emotion.hbs FEATURE: Add links to filtered emotion view on emotion dashboard table (#953) 2024-11-25 15:51:01 -03:00
admin-report-emotion.js FEATURE: Add links to filtered emotion view on emotion dashboard table (#953) 2024-11-25 15:51:01 -03:00
ai-artifact.gjs FEATURE: allow artifacts to be updated (#980) 2024-12-03 07:23:31 +11:00
ai-bot-header-icon.gjs DEV: Rewire AI bot internals to use LlmModel (#638) 2024-06-18 14:32:14 -03:00
ai-composer-helper-menu.gjs FIX: Diff modal closing along with composer menu on mobile (#803) 2024-09-16 14:00:41 -07:00
ai-forced-tool-strategy-selector.gjs FEATURE: allow persona to only force tool calls on limited replies (#827) 2024-10-11 07:23:42 +11:00
ai-gist-toggle.gjs UX: update gist toggle styles (#926) 2024-11-19 15:33:34 -05:00
ai-helper-custom-prompt.gjs DEV: Move composer AI helper to toolbar (#796) 2024-09-13 11:59:30 -07:00
ai-helper-loading.gjs FEATURE: Show post helper as bottom modal on mobile (#704) 2024-07-10 11:01:05 -07:00
ai-helper-options-list.gjs FIX: Keyboard shortcut should be platform specific (#801) 2024-09-14 09:18:07 +10:00
ai-indicator-wave.gjs DEV: Make indicator wave a reusable component (#807) 2024-09-18 09:53:54 -07:00
ai-llm-editor-form.gjs DEV: Update deprecated Font Awesome icon names (#996) 2024-12-04 03:18:08 +01:00
ai-llm-editor.gjs UX: move templates to main LLM config tab, restyle (#813) 2024-09-30 17:15:11 +10:00
ai-llm-selector.js DEV: Convert to native class syntax (#981) 2024-11-29 16:41:09 +01:00
ai-llms-list-editor.gjs UX: Add table style for LLM list (#963) 2024-11-27 13:45:01 +10:00
ai-persona-editor.gjs DEV: Update eslint config (#917) 2024-11-19 11:57:40 +01:00
ai-persona-list-editor.gjs UX: Applying more admin UI guidelines (#956) 2024-11-27 13:34:56 +10:00
ai-persona-tool-option-editor.gjs FEATURE: optional tool detail blocks (#662) 2024-06-11 18:14:14 +10:00
ai-persona-tool-options.gjs FEATURE: optional tool detail blocks (#662) 2024-06-11 18:14:14 +10:00
ai-post-helper-menu.gjs DEV: Improve explain suggestion footnote replacement (#999) 2024-12-04 11:41:34 -08:00
ai-split-topic-suggester.gjs REFACTOR: Helper suggestions (#914) 2024-11-27 12:21:03 -08:00
ai-summary-skeleton.gjs DEV: Make indicator wave a reusable component (#807) 2024-09-18 09:53:54 -07:00
ai-tool-editor.gjs FIX: testing tool was not showing rag results (#867) 2024-10-25 16:01:25 +11:00
ai-tool-list-editor.gjs UX: Applying more admin UI guidelines (#956) 2024-11-27 13:34:56 +10:00
ai-tool-parameter-editor.gjs FEATURE: improve site setting search (#780) 2024-08-29 16:05:38 +10:00
ai-tool-selector.js DEV: Convert to native class syntax (#981) 2024-11-29 16:41:09 +01:00
ai-topic-gist.gjs UX: ensure gists occupy full row (#934) 2024-11-20 09:33:49 -05:00
ai-usage.gjs FEATURE: AI Usage page (#964) 2024-11-29 06:26:48 +11:00
model-accuracies.hbs FEATURE: Composer AI helper (#8) 2023-03-15 17:02:20 -03:00
rag-options.gjs FEATURE: RAG search within tools (#802) 2024-09-30 17:27:50 +10:00
rag-upload-progress.gjs DEV: Update eslint config (#917) 2024-11-19 11:57:40 +01:00
rag-uploader.gjs DEV: Update linting (#933) 2024-11-20 15:43:28 +01:00
reviewable-ai-chat-message.hbs FIX: 500 error when reviewable has a missing message (#397) 2024-01-03 11:49:47 -03:00
reviewable-ai-chat-message.js FIX: 500 error when reviewable has a missing message (#397) 2024-01-03 11:49:47 -03:00
reviewable-ai-post.hbs DEV: DiscourseAI -> DiscourseAi rename to have consistent folders and files (#9) 2023-03-14 16:03:50 -03:00
thumbnail-suggestion-item.gjs DEV: Update linting (#423) 2024-01-13 00:28:06 +01:00