bito-code-review[bot] commented on PR #41551: URL: https://github.com/apache/superset/pull/41551#issuecomment-5141528057
<!-- Bito Reply --> The flagged issue regarding stale version history metadata is correct. When a search filter is active, the `useVersionActivity` hook may fail to refresh the `newestGroup` state, causing the UI to incorrectly label an older version as 'Current' or display outdated restore notices after a save operation. To resolve this, you should ensure that the `newestGroup` metadata is refreshed independently of the search-filtered activity list. You can achieve this by splitting the data fetching logic or by triggering a separate, unfiltered request to update the current-version state whenever a save or restore action occurs. I have analyzed the provided PR context. Would you like me to fetch all comments on this PR to validate the rest of the findings and implement a comprehensive fix? -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
