Loyal-Young opened a new issue, #5182:
URL: https://github.com/apache/rocketmq-dashboard/issues/5182

   ### Bug
   
   Metrics Explorer persists query history under one global `localStorage` key. 
If Alice runs a PromQL query, logs out, and Bob opens Metrics Explorer in the 
same browser, Bob can see Alice's query, profile, data-source name, instance 
ID, and timestamps in the history drawer. Clearing history from Bob's account 
also deletes Alice's history.
   
   ### Reproduction
   
   Save one history entry as Alice, then load history as Bob. A focused test on 
current `master` shows Bob receives Alice's entry.
   
   ### Expected behavior
   
   History should be scoped to the signed-in account, including reads, writes, 
and clearing. An old history value with no owner metadata should not be 
assigned to whichever account opens the page next. If the account changes while 
Metrics Explorer remains mounted, the previous account's history should not be 
rendered or written under the new account.
   
   ### Related work
   
   #5180 addresses the separate AI composer draft key. This issue concerns 
Metrics Explorer query history, which is stored in `localStorage` and contains 
different data.
   


-- 
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]

Reply via email to