Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Add protocol submission plugin #2461

Merged
merged 25 commits into from
Apr 12, 2019
Merged

Conversation

abuccts
Copy link
Member

@abuccts abuccts commented Mar 29, 2019

Add protocol submission plugin:

  • import protocol yaml file
  • view/edit protocol yaml file with monaco editor

Known issues:

  • monaco editor cannot be bundled by webpack for plugin (fixed)
  • editor worker has the wrong base url (fixed)
  • language highlight and some editor styles do not work in plugin (fixed)

Add protocol submission plugin:
* import protocol yaml file
* view/edit protocol yaml file with monaco editor

Known issues:
* monaco editor cannot be bundled by webpack for plugin
* editor worker has the wrong base url
* language highlight and some editor styles do not work in plugin
@abuccts abuccts requested a review from Gerhut March 29, 2019 14:38
@abuccts
Copy link
Member Author

abuccts commented Mar 29, 2019

image
image
image

Update webpack config file.
Update protocol form.
@abuccts abuccts marked this pull request as ready for review April 1, 2019 02:52
@abuccts abuccts requested a review from sunqinzheng April 1, 2019 02:53
@coveralls
Copy link

Coverage Status

Coverage remained the same at 53.126% when pulling de591d1 on xiongyf/protocol-plugin into 7f9959b on feature/submission-v2.

2 similar comments
@coveralls
Copy link

Coverage Status

Coverage remained the same at 53.126% when pulling de591d1 on xiongyf/protocol-plugin into 7f9959b on feature/submission-v2.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 53.126% when pulling de591d1 on xiongyf/protocol-plugin into 7f9959b on feature/submission-v2.

@coveralls
Copy link

coveralls commented Apr 1, 2019

Coverage Status

Coverage increased (+0.01%) to 53.001% when pulling 69a5137 on xiongyf/protocol-plugin into 7fc7072 on feature/submission-v2.

@abuccts

This comment has been minimized.

Add webpack public path.
Support clone from job list.
contrib/submit-protocol/webpack.config.ts Outdated Show resolved Hide resolved
contrib/submit-protocol/src/App/ProtocolForm.tsx Outdated Show resolved Hide resolved
contrib/submit-protocol/src/App/ProtocolForm.tsx Outdated Show resolved Hide resolved
contrib/submit-protocol/src/App/ProtocolForm.tsx Outdated Show resolved Hide resolved
contrib/submit-protocol/src/App/ProtocolForm.tsx Outdated Show resolved Hide resolved
contrib/submit-protocol/src/index.ts Outdated Show resolved Hide resolved
Gerhut and others added 5 commits April 2, 2019 11:35
Update `componentDidMount`.
Add bootstrap css.
Pick monaco-hack style and fix line number margin.
Use react-bootstrap.
Add loading spinner.
Fix tslint issue.
Use css modules in bootstrap styles.
Remove string literal in styles.
@scarlett2018 scarlett2018 added this to the Marketplace Demo milestone Apr 8, 2019
Add parameters textfield.
Fix tslint errors.
Copy link
Member

@Gerhut Gerhut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still have a concern about making bootstrap css modules directly. Is there a package like react-bootstrap?

contrib/submit-protocol/src/App/ProtocolForm.tsx Outdated Show resolved Hide resolved
contrib/submit-protocol/src/App/ProtocolForm.tsx Outdated Show resolved Hide resolved
contrib/submit-protocol/src/App/ProtocolForm.tsx Outdated Show resolved Hide resolved
contrib/submit-protocol/src/App/ProtocolForm.tsx Outdated Show resolved Hide resolved
contrib/submit-protocol/src/App/ProtocolForm.tsx Outdated Show resolved Hide resolved
Update.
contrib/submit-protocol/src/App/ProtocolForm.tsx Outdated Show resolved Hide resolved
contrib/submit-protocol/src/App/ProtocolForm.tsx Outdated Show resolved Hide resolved
contrib/submit-protocol/package.json Show resolved Hide resolved
contrib/submit-protocol/package.json Outdated Show resolved Hide resolved
Gerhut and others added 2 commits April 11, 2019 10:42
Co-Authored-By: abuccts <xiongyf@yandex.com>
Update.
Add one feature in monaco plugin to reduce bundle size,
due to a bug in
https://github.com/Microsoft/monaco-editor-webpack-plugin/blob/v1.7.0/index.js#L38.
Update.
@abuccts abuccts merged commit 65fa657 into feature/submission-v2 Apr 12, 2019
@abuccts abuccts deleted the xiongyf/protocol-plugin branch April 12, 2019 03:48
abuccts added a commit that referenced this pull request Apr 15, 2019
- [Docs] Finalize protocol spec: merged pai-proto branch.
- [Docs] Add new yaml files that follow new protocol: #2292.
- [Rest Server] Protocol yaml parsing, validation and rendering: #2274.
- [Rest Server] Convert protocol to framework launcher description file: #2291.
- [Rest Server] Refactor and update rest API v2: #2329.
- [Webportal] Add submission protocol plugin: #2461.
sunqinzheng pushed a commit that referenced this pull request Apr 16, 2019
- [Docs] Finalize protocol spec: merged pai-proto branch.
- [Docs] Add new yaml files that follow new protocol: #2292.
- [Rest Server] Protocol yaml parsing, validation and rendering: #2274.
- [Rest Server] Convert protocol to framework launcher description file: #2291.
- [Rest Server] Refactor and update rest API v2: #2329.
- [Webportal] Add submission protocol plugin: #2461.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants