Loyal-Young opened a new issue, #5180: URL: https://github.com/apache/rocketmq-dashboard/issues/5180
### Bug The AI composer persists unsent text in one fixed `sessionStorage` key. Logging out and signing in as another account in the same browser tab does not clear or partition that key. The second account sees the first account's unsent draft when opening the AI page. ### Reproduction 1. Sign in as Alice, enter unsent text in the AI composer, and leave the page. 2. Log out, sign in as Bob in the same tab, and open the AI page. 3. Bob's composer contains Alice's draft. A focused hook test reproduces this on current `master`. An unowned draft left by older versions has the same problem: it could be assigned to whichever account opens the page next. ### Expected behavior Drafts should be isolated by account, and a legacy draft without ownership metadata should not be shown to an authenticated account. Returning to the original account in the same tab should restore only that account's draft. ### Related work #5163/#5164 address custom prompt templates. The composer draft has its own session-storage key and hook, so the template change does not cover it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
