hunk.code_window:       yield put(initCanvasLayout(canvasWidgetsPayload));
         // set current page
         yield put(updateCurrentPage(id));
         // dispatch fetch page success
         yield put(fetchPageSuccess());
         const extractedDSL = extractCurrentDSL(fetchPageResponse);
         yield put({
           type: ReduxActionTypes.UPDATE_CANVAS_STRUCTURE,
  
hunk.labels: keep keep keep keep replace keep keep keep
hunk.after_edit:       yield put(
           fetchPageSuccess(
             // Execute page load actions post page load
             isFirstLoad ? [] : [executePageLoadActions()],
           ),
         );
  
hunk.file_path: app/client/src/sagas/PageSagas.tsx
hunk.type: replace
file: import * as Factory from "factory.ts";
  import { generateReactKey } from "utils/generators";
  import { WidgetProps } from "widgets/BaseWidget";
  
  export const TextFactory = Factory.Sync.makeFactory<WidgetProps>({
    widgetName: Factory.each((i) => `Text${(i+1)}`),
    rightColumn: 12,
    onClick: "",
    isDefaultClickDisabled: true,
    widgetId: generateReactKey(),
    buttonStyle: "PRIMARY_BUTTON",
    topRow: 1,
    bottomRow: 2,
    parentRowSpace: 38,
    isVisible: true,
    type: "BUTTON_WIDGET",
    dynamicBindingPathList: [],
    parentId: "0",
    isLoading: false,
    parentColumnSpace: 34.6875,
    leftColumn: 10,
    dynamicTriggerPathList: [
      {
        key: "onClick",
      },
    ],
    text: "Test Button Text",
    isDisabled: false,
    version: 1,
    renderMode: "CANVAS",
  });
  