hunk.code_window:                         "INSERT INTO users VALUES (" +
                                   "2, 'Jill', 'jack', 'jill@exemplars.com', NULL, '2019-12-31'," +
                                   " '15:45:30', '04:05:06 PST'," +
                                   " TIMESTAMP '2019-11-30 23:59:59', TIMESTAMP WITH TIME ZONE '2019-11-30 23:59:59 CET'," +
                                   " '2 years'" +
                                   ")");
               }
  
hunk.labels: keep keep keep keep replace keep keep keep
hunk.after_edit:                                 " '2 years'," +
                                   " '{1, 2, 3}', '{\"a\", \"b\"}'" +
  
hunk.file_path: app/server/appsmith-plugins/postgresPlugin/src/test/java/com/external/plugins/PostgresPluginTest.java
hunk.type: replace
file: import React, { useCallback } from "react";
  import styled from "styled-components";
  import { scrollbarDark } from "constants/DefaultTheme";
  import Loading from "./Loading";
  import DBQueryGroup from "./DBQueryGroup";
  import { useSelector } from "react-redux";
  import { AppState } from "reducers";
  import { IPanelProps } from "@blueprintjs/core";
  import { BUILDER_PAGE_URL } from "constants/routes";
  import WidgetSidebar from "pages/Editor/WidgetSidebar";
  import { useParams } from "react-router";
  import { ExplorerURLParams } from "../helpers";
  import history from "utils/history";
  
  const Wrapper = styled.div`
    height: 100%;
    overflow-y: scroll;
    ${scrollbarDark};
  `;
  
  const OnboardingExplorer = (props: IPanelProps) => {
    let node = <Loading />;
    const { applicationId, pageId } = useParams<ExplorerURLParams>();
    const { openPanel } = props;
    const showWidgetsSidebar = useCallback(() => {
      history.push(BUILDER_PAGE_URL(applicationId, pageId));
      openPanel({ component: WidgetSidebar });
    }, [openPanel, applicationId, pageId]);
  
    const createdDBQuery = useSelector(
      (state: AppState) => state.ui.onBoarding.createdDBQuery,
    );
    if (createdDBQuery) {
      node = <DBQueryGroup showWidgetsSidebar={showWidgetsSidebar} />;
    }
  
    return <Wrapper>{node}</Wrapper>;
  };
  
  export default OnboardingExplorer;
  