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

Release v0.3.0 #573

Merged
merged 77 commits into from
Apr 6, 2022
Merged

Release v0.3.0 #573

merged 77 commits into from
Apr 6, 2022

Conversation

LuanEdCosta
Copy link
Contributor

  • Please check if the PR fulfills these requirements
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
    Features, fixes

Fabio Beranizo and others added 30 commits July 23, 2021 17:28
* Create update operator parameter service

* Create update operator parameter action type

* Create update operator parameter action

* Update to use new update operator parameter action

* Rectify sonar code smells

* Refactor action to use async await

* Rectify rerender bug
* Add zero validation on parameter config

* Rectify sonar bug
* Fix console errors found in the DetailsCardButton component

* Fix console errors found in the ColumnsTable component

* Fix console errors found in the ColumnsTableTypeSelect component

* Fix console errors found in the CommonTable component

* Fix console errors found in the CompareResultItem component

* Fix console errors found in the CompareResultItemResults component

* Fix console errors found in the CompareResultItemTitle component

* Fix console errors found in the ContentHeader component

* Fix console errors found in the ContentHeaderContainer component

* Fix console errors found in the DatasetColumnsTable component

* Fix console errors found in the UploadInputBlock component

* Fix console errors found in the LogsDrawer component

* Fix console errors found in the UsingDeploymentsModal component

* Fix console errors found in the ExperimentsTable component

* Fix console errors found in the NewDeploymentModal component

* Fix console errors found in the TaskTemplateItem component

* Fix console errors found in the TasksFlowTable component

* Fix console errors found in the CompareResultsModalContainer component

* Fix console errors found in the DataViewModalContainer component

* Fix console errors found in the TableResult component inside the experiment results drawer

* Fix console errors found in the experiment ResultsDrawer component

* Fix console errors found in the ExperimentFlow component

* Fix console errors found in the ExperimentHeader component

* Fix console errors found in the experiment DraggableTabs component

* Fix console errors found in the NewExperimentModal component

* Fix console errors found in the NewTaskList component

* Fix console errors found in the NewProjectModal component

* Fix console errors found in the TaskDetailsDocker component

* Fix console errors found in the TaskDetailsForm component

* Fix console errors found in the TaskDetailsHeader component

* Fix console errors found in the TasksTable component

* Fix console errors found in the TaskDetailsHeaderTitle component

* Fix console errors found in the PageHeaderDropdown component

* Fix console errors found in the CopyToClipboard component

* Fix console errors found in the DeploymentFlowBox component

* Fix console errors found in the DeploymentFlowBox/Tooltip component

* Fix console errors found in the ExternalDatasetDrawer component

* Fix console errors found in the SelectInputBlock component

* Fix console errors found in the UploadInputBlock component

* Fix console errors found in the ExternalDatasetHelperModal component

* Fix console errors found in the PromoteDeploymentModal component

* Fix console errors found in the NewDeploymentModal component

* Fix console errors found in the TemplatesTable component

* Fix console errors found in the NewMonitoringModalTaskList component

* Fix console errors found in the deployment DraggableTabs component

* Fix console errors found in the deployment TabsBar component

* Fix console errors found in the DeploymentTestResultModalContainer

* Fix console errors found in the MonitoringDrawerContainer

* Fix console errors found in the NumberInputBlock component

* Fix console errors found in the SelectInputBlock component

* Fix console errors found in the TextInputBlock component

* Fix console errors found in the ParameterGroup component
* Remove enzyme from devDependencies

* Setup test libraries and create the first test

* Add tests for the useToggleState and useBooleanState hooks

* Add tests for the deploymentLogs store

* Improve deployment logs store tests

* Use const instead of var

* Split deployment logs tests by the file that is being tested

* Add guide to create automated tests

* Update sonar properties to make the coverage report works

* Revert sonar properties to default
* Delete operator by keyboard

* Fix variable name smell
Bumps [tar](https://github.com/npm/node-tar) from 6.1.0 to 6.1.6.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
- [Commits](isaacs/node-tar@v6.1.0...v6.1.6)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add test-report.xml to .gitignore

* Improve sonar-project.properties comments

* Update package.json test:ci script to fix jest bug

* Add test:coverage script in package.json

* Add coverage report paths in sonar-project.properties

* Update sonar.test.inclusions and remove sonar.coverageReportPaths

* Add sonar.tests to sonar-project.properties

* Disabling shallow clone to improve sonar reports

Adds 'fetch-depth: 0' (full clone).

* Exclude test files from sonar scan

* Add sonar.sourceEncoding to sonar-project.properties

Fix warnings due to sonar using encoding US-ASCII

* Adds debug message to ci.yaml

Prints the contents of test-report.xml

* Removes sonar.tests=src from sonar-project.properties

Attempt to fix ignored results.

* Adds args to sonarcloud-github-action and remove sonar-project.properties

Attempy to fix test coverage issues.

* Undo changes

Co-authored-by: Fabio Beranizo <[email protected]>
* Add tests for the loading store

* Add tests for the message store

* Add tests for the experiment logs store

* Add tests for the tasks store action types, selectors, and reducer

* Create tests for the tasks store

* Add more tests for the tasks store

* Add test for the createTaskFail action
* Show operator name in the compare results item

* Update operator data in the projects store when edit operator name

* Add default texts for the operator select in the compare results item

Co-authored-by: Fabio Beranizo <[email protected]>
* Format tensor values with the correct shape

* Put tensor values formatting logic in an utils function

* Format tensor values with shape in the generic utils toRawText function
* Create auth expired interceptor

* Change export method to fix eslint errors

* Attach auth expired interceptor in all api instances

* Test if all axios instances have the auth expired interceptor

* Redirect to location that came in the error response data

* Create response fulfilled interceptor

* Create axios instance factory and adjust auth expired interceptor logic

* Make auth expired interceptor always redirect to /

* Use axios in JSDoc instead of AxiosIntance interface

* Reject promise when redirect to login
dependabot bot and others added 28 commits October 6, 2021 08:32
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.1 to 1.5.3.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](unshiftio/url-parse@1.5.1...1.5.3)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Updates .env with latest dev env info

* Filters tasks using 'category' instead of 'tags'

Category is more suitable since it has a restricted list of values.

* Updates unittests to filter by category
* Adds a new Service "PredictionApi"

Performs prediction tasks (fetch, create, and interrupt).
Also removes prediction actions that were at DeploymentsApi.js

* Adds a new store 'prediction' to handle prediction actions

These actions are similar to actions at 'testDeployment' store, but
predictions are now async.

* Removes unused store 'testDeployment'

This store was replaced by the new store 'prediction', which performs
similar actions, but asynchronously.

* Updates containers to use actions of new store 'prediction'

- Removes occurrences of 'testDeployment' store
- Adds a polling that checks for prediction results.

* Renames remaining occurrences of 'testDeployment' to 'createPrediction'

Ensures same descriptions are used across the project.

* Renames prediction.Reducer.js to lowercase 'prediction.reducer.js'

* Implements part of "Interrupt prediction"

It's not the final solution tough. Modal still blocks the access to
the 'Interrupt' button.
Results should be displayed in a different interface, maybe the logs/message section.

* Removes unused actions and payload arguments

Removes action 'createPredictionWithFile' (it was replaced by 'createPredictionWithDataset').
Removes 'dataset' from payload of 'CREATE_PREDICTION_WITH_DATASET_REQUEST' actionType.
Remover selector 'getFile'

* Creates unittests for Prediction store

Tests, actions, actionTypes, reducer and selectors.

* Adds unittests for actionType FETCH_PREDICTION_FAIL and action fetchPredictionRequest

FETCH_PREDICTION_FAIL: don't set values in the state
fetchPredictionRequest: when prediction is still in progress, don't set status/predictionResult.

* Shows test result modal when prediction results are ready (and modal is closed)

We have to do this because the user may have closed the modal, and there's no other way to reopen it.
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.1 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](follow-redirects/follow-redirects@v1.14.1...v1.14.7)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.23 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](ai/nanoid@3.1.23...3.2.0)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.23.0 to 1.26.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](PrismJS/prism@v1.23.0...v1.26.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This reverts commit 12bf73f.
* Update react flow position after fetch all operators

* Set the prop onlyRenderVisibleElements to false

* Show fit view button on deployment toolbar

* Add delay to fit react flow view

* Make the react flow component be always rendered

* Remove setTimeout because it is not necessary

* Fit view when operators array changes
* Bump axios from 0.21.1 to 0.21.2 (#546)

Bumps [axios](https://github.com/axios/axios) from 0.21.1 to 0.21.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](axios/axios@v0.21.1...v0.21.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix services tests

* Bump axios to 0.25.0

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Refactor predictions store and components

* Fix problems and makes the try again button works

* Delete prediction result when create prediction

* Hide modal when try again

* Maintain previous results when adds a new result
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](follow-redirects/follow-redirects@v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Show task data on the experiments page

* Show task data on the deployments page

* Create an example for the TaskDataPopover

* Show experiment operator original name in a tooltip

* Fetch all tasks to find the original operator task

* Show deployment operator original name in a tooltip
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.3 to 1.5.7.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](unshiftio/url-parse@1.5.3...1.5.7)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix operator parameters update

* Use new parameters object to update store
* Add an issue template

* Add a pull request template
CI - Change Variables for Develop Branch
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.7 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](unshiftio/url-parse@1.5.7...1.5.10)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Change endpoint to get a list of tasks

* Remove page_size from the getAllTasks request
@sonarqubecloud
Copy link

sonarqubecloud bot commented Apr 6, 2022

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 6 Code Smells

17.4% 17.4% Coverage
0.0% 0.0% Duplication

@LuanEdCosta LuanEdCosta merged commit ab4fe28 into master Apr 6, 2022
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.

6 participants