hunk.code_window:                 echo
                   sed 's/^/- /' 'failed-server-tests.txt'
                 } >> "$GITHUB_STEP_SUMMARY"
               fi
               exit 1
             fi
         # Set status = failedtest
  
hunk.labels: keep keep replace keep keep keep keep keep
hunk.after_edit:               )"
                 echo "$content" >> "$GITHUB_STEP_SUMMARY"
                 # Add a comment to the PR with the list of failed tests.
                 curl --header "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
                   --data "$(jq -n --arg body "$content" '$ARGS.named')" \
                   "https://api.github.com/repos/$GITHUB_REPOSITORY/issues/${{ inputs.pr }}/comments"
  
hunk.file_path: .github/workflows/server-build.yml
hunk.type: replace
file: import React, { useRef } from "react";
  import styled from "styled-components";
  import { useSelector } from "react-redux";
  import { PanelStack, Classes } from "@blueprintjs/core";
  
  import { get } from "lodash";
  import { getSelectedWidgets } from "selectors/ui";
  import PropertyPaneView from "./PropertyPaneView";
  
  const StyledPanelStack = styled(PanelStack)`
    height: 100%;
    width: 100%;
    margin: 0;
    &&& .bp3-panel-stack-view {
      margin: 0;
      border: none;
    }
    overflow: hidden;
    position: static;
    &&& .${Classes.PANEL_STACK_VIEW} {
      position: static;
      overflow: hidden;
      height: 100%;
    }
  `;
  
  function PropertyPane() {
    const selectedWidgets = useSelector(getSelectedWidgets);
    const panelWrapperRef = useRef<HTMLDivElement>(null);
  
    // TODO: add analytics code
    if (
      selectedWidgets.length === 0 ||
      get(selectedWidgets, "0.disablePropertyPane")
    ) {
      return null;
    }
  
    return (
      <div
        className={"t--propertypane overflow-y-auto h-full"}
        data-testid={"t--propertypane"}
        onClick={(e: any) => {
          e.stopPropagation();
        }}
        ref={panelWrapperRef}
      >
        <StyledPanelStack
          initialPanel={{
            component: PropertyPaneView,
          }}
          onOpen={() => {
            const parent = panelWrapperRef.current;
            parent?.scrollTo(0, 0);
          }}
          showPanelHeader={false}
        />
      </div>
    );
  }
  
  export default PropertyPane;
  