Aias00 opened a new issue, #1959:
URL: https://github.com/apache/rocketmq-dashboard/issues/1959

   ## Problem
   
   The audit table debounces its free-text search by 300 ms before loading 
records, but the export action reads the raw input value immediately.
   
   If an operator types in the search box and clicks **Export** before the 
debounce expires:
   
   - the table still shows records from the previously applied search;
   - the CSV request uses the newer, not-yet-applied search.
   
   The downloaded audit slice can therefore differ from the records the 
operator is viewing.
   
   ## Evidence
   
   - `web/src/pages/ops/audit.tsx` loads the table with `debouncedSearchText`.
   - The same page builds the export filter with `searchText`.
   - The existing export test asserts this inconsistent raw-input behavior.
   
   ## Expected behavior
   
   Audit export must use the same applied filter state as the visible table. A 
pending debounce must not make the CSV query a different audit slice.
   
   ## Scope
   
   Track 1 / BASE-01 audit operations. Align only the export filter and add a 
regression test for typing followed by immediate export.
   


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