-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Conversation
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.
Looks good. Just a few comments.
<Tooltip title="Pause Recording"> | ||
<Button icon="pause" onClick={pauseRecording}/> | ||
</Tooltip> | ||
} |
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.
Is there a way to reset the recording?
return async (dispatch) => { | ||
return async (dispatch, getState) => { | ||
let isRecording = params.methodName !== 'quit' && | ||
params.methodName !== 'source' && |
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.
The methodName is never set to source
. The source method is called every time.
If we were to add source
as a client method call, though, I think we'd want to record it.
@@ -0,0 +1,93 @@ | |||
export default class Framework { | |||
|
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.
Could we put client-frameworks and highlighting directories into a utils or helpers directory?
<Button icon="delete" onClick={clearRecording} size="small" /> | ||
</Tooltip> | ||
} | ||
{!isRecording && |
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.
These three instances of !!recorderActions.length &&
can be replaced with one and you can either wrap the three components in a div or make them an array. Not a big deal if left as is though.
…ipboard copy feature
ok @dpgraham all comments addressed and ruby/python frameworks added |
Added action recorder and code generator