diff options
author | ljungster <parkerljung@gmail.com> | 2022-03-22 17:49:10 -0400 |
---|---|---|
committer | ljungster <parkerljung@gmail.com> | 2022-03-22 17:49:10 -0400 |
commit | d4772c8f5d638c7c91aa0a3b7aec5d3e1b16cf5e (patch) | |
tree | 687a310b3ccef5d8ab25ae8377630a97720cd73b /src/client/views/collections/CollectionNoteTakingViewFieldColumn.tsx | |
parent | f15aeed47ede0db52720be27e1418cd802eca7bf (diff) |
adding
Diffstat (limited to 'src/client/views/collections/CollectionNoteTakingViewFieldColumn.tsx')
-rw-r--r-- | src/client/views/collections/CollectionNoteTakingViewFieldColumn.tsx | 16 |
1 files changed, 7 insertions, 9 deletions
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> } </>; |