Skip to content
Prev Previous commit
Next Next commit
add comment
Signed-off-by: Adhitya Mamallan <adhitya.mamallan@uber.com>
  • Loading branch information
adhityamamallan committed Jan 16, 2026
commit 0dee3cefc7883a6ed83ae85dc5fe14d7481b114b
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ export default function useIsWorkflowHistoryV2Enabled(): [

setIsEnabled(v);

// We persist user preference only for opt-ins and not opt-outs, to allow
// us to collect feedback from users who prefer the older history view
if (historyPageV2Config === 'OPT_IN') {
setLocalStorageValue(
workflowHistoryUserPreferencesConfig.historyV2ViewEnabled.key,
Expand Down