hunk.code_window:     }
     }
   };
   /**
    * Comment pins that toggle comment thread popover visibility on click
    * They position themselves using position absolute based on top and left values (in percent)
  
hunk.labels: keep keep keep add keep keep keep
hunk.after_edit: const resetCommentThreadIdInURL = (commentThreadId: string) => {
     if (!window.location.href) return;
     const currentURL = new URL(window.location.href);
     const searchParams = currentURL.searchParams;
     if (searchParams.get("commentThreadId") === commentThreadId) {
       searchParams.delete("commentThreadId");
       history.replace({
         ...window.location,
         search: searchParams.toString(),
       });
     }
   };
  
hunk.file_path: app/client/src/comments/inlineComments/InlineCommentPin.tsx
hunk.type: add
file: # Build phase script for units node in the main build graph.
  
  set -o errexit
  set -o pipefail
  set -o xtrace
  
  {
  
  echo "$BASH_VERSION"
  node --version
  
  cd "$CODEBUILD_SRC_DIR/app/client"
  npm install -g yarn
  yarn install --frozen-lockfile
  
  REACT_APP_ENVIRONMENT=PRODUCTION \
  	npx jest -b --no-cache --coverage --collectCoverage=true --coverageDirectory='../../' --coverageReporters='json-summary'
  
  REACT_APP_SHOW_ONBOARDING_FORM=true \
  	yarn run build
  
  mv -v build client-dist
  tar -caf client-dist.tgz client-dist
  aws s3 cp --no-progress client-dist.tgz "$S3_BUILDS_PREFIX/$BATCH_ID/client-dist.tgz"
  
  } 2>&1 | tee -a "ci/logs/$CODEBUILD_BATCH_BUILD_IDENTIFIER.log"
  