aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client/views/InkTranscription.tsx12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/client/views/InkTranscription.tsx b/src/client/views/InkTranscription.tsx
index fa753760a..9b8e822d7 100644
--- a/src/client/views/InkTranscription.tsx
+++ b/src/client/views/InkTranscription.tsx
@@ -171,8 +171,7 @@ export class InkTranscription extends React.Component {
return max - min;
}
- subgroupsTranscriptions = async (wordInkDocMap: Map<string, Doc[]>) => {
- // TODO: nda - will probably want to go through ffView unprocessed docs and then see if any of the inksToGroup docs are in it and only use those
+ subgroupsTranscriptions = (wordInkDocMap: Map<string, Doc[]>) => {
// loop through the words in wordInkDocMap
// for each word, get the inkDocs
@@ -231,7 +230,6 @@ export class InkTranscription extends React.Component {
}));
docView.props.removeDocument?.(selected);
- // // TODO: nda - this is the code to actually get a new grouped collection
const newCollection = marqViewRef?.getCollection(selected, undefined, [], true);
if (newCollection) {
newCollection.height = newCollection[HeightSym]();
@@ -292,16 +290,8 @@ export class InkTranscription extends React.Component {
wordInkDocMap.set(word, newEntry);
}
});
- // do the fun marq stuff
- // generate subgroups
-
- console.log(wordInkDocMap);
this.subgroupsTranscriptions(wordInkDocMap);
-
}
- // we can iterate through docs and for each doc index into the map by timestamp
-
- // final mapping should be word to inkDoc
}
const text = exports['text/plain'];
// console.log(text);