Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit

Permalink
refactor(*): changes in line with pr review
Browse files Browse the repository at this point in the history
        also, added most recent version of qri to the resources folder
  • Loading branch information
ramfox committed Jan 31, 2019
1 parent 79b10f5 commit 9119fcb
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 479 deletions.
502 changes: 26 additions & 476 deletions app/dist/renderer.prod.js

Large diffs are not rendered by default.

34 changes: 34 additions & 0 deletions app/dist/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions lib/components/editor/EditBody.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,12 @@ export default class EditBody extends Base {
handleDragOver (e) {
e.stopPropagation()
e.preventDefault()
console.log('dragover')
this.setState({ dropZoneState: 'dragOver' })
}

handleDragLeave (e) {
e.stopPropagation()
e.preventDefault()
console.log(e)
this.setState({ dropZoneState: '' })
}

Expand All @@ -127,7 +125,6 @@ export default class EditBody extends Base {
}

handleDragEnd (e) {
console.log('drag end')
e.preventDefault()
let dt = e.dataTransfer
if (dt.items) {
Expand Down
1 change: 1 addition & 0 deletions lib/components/editor/Editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ export default class Editor extends Base {
if (response.result && response.result.data) {
// TODO - update local refs in dataset list
const ref = response.entities.datasets[response.result.data]
this.props.initDataset()
this.props.history.push(`/${ref.peername}/${ref.name}/at${ref.path}`)
}
})
Expand Down

0 comments on commit 9119fcb

Please sign in to comment.