-
Notifications
You must be signed in to change notification settings - Fork 444
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
Implement Chaincode dashboard #573
Implement Chaincode dashboard #573
Conversation
Implement chaincode dashboard. Add the required buttons to the page. Use the dummy data for the dev purposes, will delete after all features are finished. Signed-off-by: xichen1 <xichen.pan@gmail.com>
Signed-off-by: xichen1 <xichen.pan@gmail.com>
onOk={onSubmit} | ||
onCancel={() => handleModalVisible(false)} | ||
> | ||
<Form onFinish={onFinish} form={form} preserve={false}> | ||
<FormItem | ||
{...formItemLayout} | ||
label={intl.formatMessage({ | ||
id: 'app.chainCode.form.create.name', | ||
defaultMessage: 'Name', | ||
id: 'app.operator.chainCode.form.create.file', |
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.
Can't find "app.operator.chainCode.form.create.file" in locales.
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.
it has been updated in b2493fd
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
@@ -335,14 +335,14 @@ class ChainCode extends PureComponent { | |||
<Divider type="vertical" /> | |||
<a> | |||
{intl.formatMessage({ | |||
id: 'app.operator.chainCode.table.operate.approve', | |||
id: 'app.chainCode.table.operate.approve', |
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.
Can't find "app.chainCode.table.operate.approve" in locales
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.
it's added in #572, which may need to be reviewed and merged first.
I created two pr to make the purpose of each task more clear.
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
defaultMessage: 'Approve', | ||
})} | ||
</a> | ||
<Divider type="vertical" /> | ||
<a> | ||
{intl.formatMessage({ | ||
id: 'app.operator.chainCode.table.operate.commit', | ||
id: 'app.chainCode.table.operate.commit', |
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.
Can't find "app.chainCode.table.operate.commit" in locales
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.
Also in #572
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
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
Implement chaincode dashboard. Add the required buttons to the page.
Use the dummy data for the dev purposes, will be deleted after all
features are finished.
Should be merged after #572 is merged.
Signed-off-by: xichen1 xichen.pan@gmail.com