Skip to content
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

Run page ui improvements #840

Merged
merged 19 commits into from
Sep 28, 2020

Conversation

VakarisZ
Copy link
Contributor

@VakarisZ VakarisZ commented Sep 18, 2020

What does this PR do?

Fixes #792

Improves run monkey UI with reusable react components, that allow further improvements and incorporation of other monkey run options.

Add any further explanations here.

PR Checklist

  • Have you added an explanation of what your changes do and why you'd like to include them?
  • Is the TravisCI build passing?

Testing Checklist

  • Added relevant unit tests?
  • Have you successfully tested your changes locally? Elaborate:

    Tested by Clicking around run monkey page
    image

…un_page_ui_improvements

# Conflicts:
#	monkey/monkey_island/cc/ui/src/components/pages/RunMonkeyPage/CommandDisplay.js
#	monkey/monkey_island/cc/ui/src/components/pages/RunMonkeyPage/LocalManualRunOptions.js
#	monkey/monkey_island/cc/ui/src/components/pages/RunMonkeyPage/ManualRunOptions.js
#	monkey/monkey_island/cc/ui/src/components/ui-components/inline-selection/BackButton.js
#	monkey/monkey_island/cc/ui/src/components/ui-components/inline-selection/InlineSelection.js
#	monkey/monkey_island/cc/ui/src/components/ui-components/inline-selection/NextSelectionButton.js
#	monkey/monkey_island/cc/ui/src/styles/Main.scss
#	monkey/monkey_island/cc/ui/src/styles/components/inline-selection/InlineSelection.scss
…ovements

# Conflicts:
#	monkey/monkey_island/cc/ui/src/components/pages/RunMonkeyPage.js
#	monkey/monkey_island/cc/ui/src/styles/Main.scss
@codecov
Copy link

codecov bot commented Sep 18, 2020

Codecov Report

Merging #840 into develop will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #840   +/-   ##
========================================
  Coverage    60.52%   60.52%           
========================================
  Files          165      165           
  Lines         4948     4948           
========================================
  Hits          2995     2995           
  Misses        1953     1953           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c5d9802...1559504. Read the comment docs.

.travis.yml Outdated
@@ -89,7 +89,7 @@ script:
- cd monkey_island/cc/ui
- npm ci # See https://docs.npmjs.com/cli/ci.html
- eslint ./src --quiet # Test for errors
- JS_WARNINGS_AMOUNT_UPPER_LIMIT=4
- JS_WARNINGS_AMOUNT_UPPER_LIMIT=8
Copy link
Contributor

Choose a reason for hiding this comment

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

What are the new warnings? We can decide to not handle them now, but we need to be aware of them.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

https://travis-ci.com/github/guardicore/monkey/builds/185225218

New warnings are mainly caused by usage of ` instead of ' for strings.
This is a syntax which allows to display multiple classnames in a readable manner, so I don't want to remove it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve "Run monkey" page UI.
3 participants