fix(actions): persist source selection when toggling search tool in ActionsPopover#8750
fix(actions): persist source selection when toggling search tool in ActionsPopover#8750Subash-Mohan wants to merge 1 commit intomainfrom
Conversation
Greptile SummaryFixed a bug where source selection wasn't persisting to
These functions internally call Confidence Score: 5/5
Important Files Changed
Last reviewed commit: 07b3662 |
🖼️ Visual Regression Report
|
Danelegend
left a comment
There was a problem hiding this comment.
Has this been tested with multiple and various scenarios?
ie. Suppose we have 2 internal sources hooked up. Select 1, press disable all, press enable all and expect that one to come up again.
Likewise, you should be able to disable internal search, refresh and see it come back again.
Reason for asking is a feel like there was a scenario where this approach didn't work. But it could have just been a skill issue on me.
Description
How Has This Been Tested?
Tested by first disabling all the sources; at that point, the internal search tool was disabled. When I enabled the tool and refreshed the page, it stays enabled. Previously, it went back to a disabled state again.
Additional Options
Summary by cubic
Persist source selection when toggling the search tool in ActionsPopover, so the tool’s state and selected sources survive page reloads. Fixes the regression where the search tool reverted to disabled after refresh.
Written for commit 07b3662. Summary will update on new commits.