-
Notifications
You must be signed in to change notification settings - Fork 69
Conversation
btw, travis fails because |
elements/empty.js
Outdated
</main> | ||
` | ||
} | ||
|
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.
I think standard might complain about extra newlines
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.
do you mean in the future? currently it doesn't
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.
oh really? oops might be wrong then 😅 - nevermind ✨
show: false | ||
}, state.welcome) | ||
|
||
bus.on('repos loaded', function () { |
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.
ohhh, we should probably decide on how to name events; in choo we usually delimit using :
and camelcase for words. In the dat
API we use whitespace to space words, and don't think we have namespaces. I feel we should like agree on something and then stick to it. Perhaps :
to namespace and whitespace to split words?
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.
This is not a blocker btw, perhaps something to discuss either over text or face? feel we can figure it out in 5mins when talking haha
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.
+1 on having a convention
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.
ok, created an issue here: #318
package.json
Outdated
"choo-persist": "^2.0.0", | ||
"choo": "github:yoshuawuyts/choo#v5", | ||
"choo-log": "github:yoshuawuyts/choo-log#v5", | ||
"choo-persist": "github:yoshuawuyts/choo-persist#v5", |
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.
all versions are published now; install latest should work ✨
@@ -0,0 +1,8 @@ | |||
if (process.env.RUNNING_IN_SPECTRON) { |
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.
I'm not completely sure what this file does; could you maybs add a tiny comment for future reference? Thanks 🙏
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.
This is for mocking the dialog
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.
Neato! - few minor comments but looking good. Think we should def test it a lil more, but so far so good ✨ - digging it just removed 100 lines haha
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.
yup, looking neat!
eb5c864
to
9239739
Compare
A bunch happened here! I hope this isn't too much a pain to review:
main-view
model towelcome
, as it's only responsible for the welcome screen and thus the name is more obviouswindow
model todrag-drop
, for the same reasonslib/param-router
as it wasn't used any moreerror:quit
->quit
and making them more human likerepos:delete
->delete dat
. I would see reasons to undo this though as well.pages/main
by splitting out elements intoelements/empty
andelements/welcome
. There's now no more css in this file :)In total this is -90 lines of code, and a huge speed up (thanks to choo 5)! :)
Once the reviews are done,
choo-*
dependencies from npm.