maiki
(maiki)
5 Agosto 2025, 8:10pm
1
L’icona del bot AI nell’intestazione è implementata come elemento button. Poiché il bot AI ora naviga verso una pagina dedicata anziché aprire una finestra modale, si prega di convertire l’icona del bot AI in un link standard (<a> element) come l’icona della chat.
Ciò consentirebbe interazioni con i link del browser, come il clic contestuale per aprire in una nuova scheda.
5 Mi Piace
maiki
(maiki)
13 Agosto 2025, 10:02pm
3
Grazie @awesomerobot !
committed 11:12PM - 07 Aug 25 UTC
This change concerns these header icons
<img width="220" height="116" alt="imag… e"
src="https://github.com/user-attachments/assets/eb7883cf-4766-4499-8d1a-116a542a2cdd"
/>
Currently the chat icon in the header switches to chat "mode" when
possible, and remembers your last forum location. The AI header icon
does not remember your last forum location, and just redirects you to
the homepage when you toggle it off.
This PR adds the last forum URL memory for the AI header icon as well.
I've also updated the AI header icon to be a link when
`ai_bot_enable_dedicated_ux` is enabled, this way it can be opened in a
new tab and do all the typical link behavior (requested here:
https://meta.discourse.org/t/change-ai-bot-icon-to-link-element/377435).
It is still a button when `ai_bot_enable_dedicated_ux`, which is
appropriate for opening the composer.
This also updates the AI button title when the state changes (noted
here:
https://meta.discourse.org/t/ai-bot-header-button-title-doesnt-always-match-its-action/377402)
Non ero a conoscenza del fatto che fosse un’opzione averlo dedicato, e tu l’hai fatto funzionare in entrambe le modalità.
Mi sono appena sorpreso aprendo l’interfaccia AI in un’altra scheda qui su Meta!
2 Mi Piace
ah sì, ho dimenticato di fare seguito! nuove schede per tutti
1 Mi Piace
maiki
(maiki)
Chiuso
16 Agosto 2025, 11:02pm
7
Questo argomento è stato chiuso automaticamente 3 giorni dopo l’ultima risposta. Non sono più ammesse nuove risposte.