Add some TODO's
This commit is contained in:
parent
98c4d31717
commit
37940fb297
|
@ -112,7 +112,6 @@ const DocumentsTabComponent: React.FunctionComponent<{
|
|||
]);
|
||||
const [documentIds, setDocumentIds] = useState<DocumentId[]>([]);
|
||||
const [isExecuting, setIsExecuting] = useState<boolean>(false); // TODO isExecuting is a member of TabsBase. We may need to update this field.
|
||||
const [dataContentsGridScrollHeight, setDataContentsGridScrollHeight] = useState<string>(undefined);
|
||||
|
||||
// Query
|
||||
const [documentsIterator, setDocumentsIterator] = useState<{
|
||||
|
@ -120,11 +119,11 @@ const DocumentsTabComponent: React.FunctionComponent<{
|
|||
applyFilterButtonPressed: boolean;
|
||||
}>(undefined);
|
||||
const [queryAbortController, setQueryAbortController] = useState<AbortController>(undefined);
|
||||
const [resourceTokenPartitionKey, setResourceTokenPartitionKey] = useState<string>(undefined);
|
||||
const [isQueryCopilotSampleContainer, setIsQueryCopilotSampleContainer] = useState<boolean>(false);
|
||||
const [resourceTokenPartitionKey, setResourceTokenPartitionKey] = useState<string>(undefined); // TODO: Make this a constant is setter getting called
|
||||
const [isQueryCopilotSampleContainer, setIsQueryCopilotSampleContainer] = useState<boolean>(false); // TODO: Make this a constant is setter getting called
|
||||
const [cancelQueryTimeoutID, setCancelQueryTimeoutID] = useState<NodeJS.Timeout>(undefined);
|
||||
|
||||
const [isExecutionError, setIsExecutionError] = useState<boolean>(false);
|
||||
const [isExecutionError, setIsExecutionError] = useState<boolean>(false); // TODO: Where is this used?
|
||||
const [onLoadStartKey, setOnLoadStartKey] = useState<number>(props.onLoadStartKey);
|
||||
|
||||
const [initialDocumentContent, setInitialDocumentContent] = useState<string>(undefined);
|
||||
|
@ -271,6 +270,7 @@ const DocumentsTabComponent: React.FunctionComponent<{
|
|||
visible: true,
|
||||
};
|
||||
|
||||
// TODO: Where is this used?
|
||||
const documentContentsContainerId = `documentContentsContainer${props.tabId}`;
|
||||
const documentContentsGridId = `documentContentsGrid${props.tabId}`;
|
||||
|
||||
|
@ -828,6 +828,7 @@ const DocumentsTabComponent: React.FunctionComponent<{
|
|||
return documentsIterator.iterator.fetchNext().then((response) => response.resources);
|
||||
};
|
||||
|
||||
// TODO: use this when generating column headers
|
||||
const showPartitionKey = (() => {
|
||||
if (!props.collection) {
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue