-
Notifications
You must be signed in to change notification settings - Fork 69
Conversation
This is ready for review now! @Kriesse can you look over the hex icons and make sure everything is as you intended? |
@@ -22,6 +22,7 @@ module.exports = createModel | |||
|
|||
function createModel () { | |||
let manager = null | |||
let dbPaused = null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems easier to use a separate db for this, than integrating into multidrive and multidat
function createManager (multidat, onupdate) { | ||
assert.ok(multidat, 'models/repos: multidat should exist') | ||
assert.ok(onupdate, 'models/repos: onupdate should exist') | ||
function togglePause (state, data, send, done) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needed to change indentation, so this looks messy. however i didn't change anything besides adding the togglePause method and reading from dbPaused
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - tested and noticed that uploading doesn't always stop - issue here #293, don't think it should block this merge tho
@Kriesse can you take over with some styling? I needed to turn the status hex icons into buttons, but this is how it looks with my changes: