-
Notifications
You must be signed in to change notification settings - Fork 24
Switch to commands #783
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch to commands #783
Conversation
Integration tests report: appsharing.space |
Preview PR at appsharing.space |
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.
Thanks!
LGTM, I only have some concerns about that filepath parameter, and we should make all the labels prettier since they are user facing
const { commands, tracker, trans } = options; | ||
|
||
commands.addCommand(ShapeCreationCommandIDs.newBoxWithParams, { | ||
label: trans.__('New Box From Parameters'), |
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.
Since this is user facing, should we make this more like:
label: trans.__('New Box From Parameters'), | |
label: trans.__('Create a box'), |
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.
No, these commands are being used internally; users can't invoke them since there is no way to provide the required parameters
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.
we have user-facing commands to gather input then call these commands to do the job
I updated some parameter descriptions and default values |
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.
Thanks!
No description provided.