aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/client/views/collections/CollectionNoteTakingView.tsx2
-rw-r--r--src/client/views/collections/CollectionNoteTakingViewFieldColumn.tsx16
2 files changed, 8 insertions, 10 deletions
diff --git a/src/client/views/collections/CollectionNoteTakingView.tsx b/src/client/views/collections/CollectionNoteTakingView.tsx
index 0d1f55fed..2521e50a0 100644
--- a/src/client/views/collections/CollectionNoteTakingView.tsx
+++ b/src/client/views/collections/CollectionNoteTakingView.tsx
@@ -668,7 +668,7 @@ export class CollectionNoteTakingView extends CollectionSubView<Partial<collecti
GetValue: () => "",
SetValue: this.addGroup,
// I don't recall ever seeing this add a group button
- contents: "+ ADD A GROUP"
+ contents: "+ ADD A COLUMN"
};
const buttonMenu = this.rootDoc.buttonMenu;
const noviceExplainer = this.rootDoc.explainer;
diff --git a/src/client/views/collections/CollectionNoteTakingViewFieldColumn.tsx b/src/client/views/collections/CollectionNoteTakingViewFieldColumn.tsx
index 5a8256e11..44e7e98dc 100644
--- a/src/client/views/collections/CollectionNoteTakingViewFieldColumn.tsx
+++ b/src/client/views/collections/CollectionNoteTakingViewFieldColumn.tsx
@@ -280,9 +280,9 @@ export class CollectionNoteTakingViewFieldColumn extends React.Component<CSVFiel
{/* {this._paletteOn ? this.renderColorPicker() : (null)} */}
</div>
}
- {<button className="collectionStackingView-sectionDelete" onClick={this.deleteColumn}>
+ {/* {<button className="collectionStackingView-sectionDelete" onClick={this.deleteColumn}>
<FontAwesomeIcon icon="trash" size="lg" />
- </button>}
+ </button>} */}
{/* {evContents === `NO ${key.toUpperCase()} VALUE` ? (null) :
<div className="collectionStackingView-sectionOptions">
<Flyout anchorPoint={anchorPoints.TOP_RIGHT} content={this.renderMenu()}>
@@ -315,12 +315,6 @@ export class CollectionNoteTakingViewFieldColumn extends React.Component<CSVFiel
{this.props.renderChildren(this.props.docList)}
</div>
{!this.props.chromeHidden && type !== DocumentType.PRES ?
- // TODO: this is the "new" button: see what you can work with here
- // change cursor to pointer for this, and update dragging cursor
- //TODO: there is a bug that occurs when adding a freeform document and trying to move it around
- //TODO: would be great if there was additional space beyond the frame, so that you can actually see your
- // bottom note
- //TODO: ok, so we are using a single column, and this is it!
<div key={`${heading}-add-document`} className="collectionStackingView-addDocumentButton"
style={{ width: this.props.columnWidth / this.props.numGroupColumns, marginBottom: 10, marginLeft: 25 }}>
<EditableView
@@ -328,11 +322,15 @@ export class CollectionNoteTakingViewFieldColumn extends React.Component<CSVFiel
SetValue={this.addNewTextDoc}
textCallback={this.textCallback}
placeholder={"Type ':' for commands"}
- contents={<FontAwesomeIcon icon={"plus"}/>}
+ // contents={<FontAwesomeIcon icon={"plus"}/>}
+ contents={"+ New Node"}
toggle={this.toggleVisibility}
menuCallback={this.menuCallback}
/>
</div> : null}
+ {<button className="collectionStackingView-sectionDelete" onClick={this.deleteColumn}>
+ <FontAwesomeIcon icon="trash" size="lg" />
+ </button>}
</div>
}
</>;