webview/src/experiments/components/table/body/RowContextMenu.tsx
File RowContextMenu.tsx
has 398 lines of code (exceeds 300 allowed). Consider refactoring. Open
Open
import React, { useMemo } from 'react'
import { useDispatch, useSelector } from 'react-redux'
import {
MessageFromWebview,
MessageFromWebviewType
Function getSingleSelectMenuOptions
has 104 lines of code (exceeds 40 allowed). Consider refactoring. Open
Open
const getSingleSelectMenuOptions = (
id: string,
sha: string | undefined,
isWorkspace: boolean,
hasRunningWorkspaceExperiment: boolean,
Function getMultiSelectMenuOptions
has 61 lines of code (exceeds 40 allowed). Consider refactoring. Open
Open
const getMultiSelectMenuOptions = (
selectedRowsList: SelectedRow[],
hasRunningWorkspaceExperiment: boolean
) => {
const {