From 5201fab0887df52cc516ad8a51752265afcd6002 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Sun, 7 Jun 2026 11:56:50 -0400 Subject: [PATCH] feat(modal): surface ML suggestions inline in the tag autocomplete MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The image's Camie suggestions now appear in the tag input's dropdown as you type, filtered to the query and de-duped against the server autocomplete hits, so the operator can pick a suggestion without hunting for it in the Suggestions panel below (operator-asked 2026-06-07). - Unified `rows` model (hits → matching suggestions → create row) so the highlight index maps 1:1 to a row across all three sections; arrow/Enter/Tab drive the whole list. - Suggestion rows are marked (accent left-border + mdi-auto-fix score chip) and show a "new" hint when the suggestion would create a tag. - Picking a suggestion emits accept-suggestion → TagPanel runs the SAME accept path as the Suggestions panel (creates raw tags, records acceptance, drops it from the panel), then refreshes the chip rail. Co-Authored-By: Claude Opus 4.8 (1M context) --- .../src/components/modal/TagAutocomplete.vue | 173 +++++++++++++----- frontend/src/components/modal/TagPanel.vue | 13 ++ 2 files changed, 143 insertions(+), 43 deletions(-) diff --git a/frontend/src/components/modal/TagAutocomplete.vue b/frontend/src/components/modal/TagAutocomplete.vue index a63625f..7200f09 100644 --- a/frontend/src/components/modal/TagAutocomplete.vue +++ b/frontend/src/components/modal/TagAutocomplete.vue @@ -12,40 +12,70 @@ @keydown.esc="$emit('cancel')" /> - - - - {{ h.name }} - — {{ h.fandom_name }} - - - - - - - Create "{{ parsedName }}" as {{ parsedKind }} - - +