Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add comment
Signed-off-by: Adhitya Mamallan <adhitya.mamallan@uber.com>
  • Loading branch information
adhityamamallan committed Jan 14, 2026
commit d0cc5cd04067acc5f8c5dc013c1251877046dee5
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
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export type WorkflowHistoryContextType = {
ungroupedViewUserPreference: boolean | null;
setUngroupedViewUserPreference: (v: boolean) => void;
// Workflow History V2 Enabled: clean up once the feature has been fully rolled out
// TODO @adhitya.mamallan: clean up once Workflow History V2 has been fully rolled out
isWorkflowHistoryV2Enabled: boolean;
setIsWorkflowHistoryV2Enabled: (v: boolean) => void;
};