From bfa9e7517315105fc071594300847b86db5ac7a7 Mon Sep 17 00:00:00 2001 From: Henrique Martins Date: Mon, 18 Oct 2021 22:58:49 -0300 Subject: [PATCH 1/5] fga-eps-mds/2021.1-Oraculo#110 Adding branch --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2228910..83bb036 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,6 +39,7 @@ jobs: with: source_file: fga-eps-mds-2021_1-Oraculo-FrontEnd-${{ steps.date.outputs.date }}.json destination_repo: "fga-eps-mds/2021.1-Oraculo" + destination_branch: "master" destination_folder: "analytics-raw-data" user_email: ${{ secrets.USER_EMAIL }} user_name: ${{ secrets.USER_NAME }} From aaaa3a1f80901dcdd033a3b9177038172638084a Mon Sep 17 00:00:00 2001 From: Henrique Martins Date: Wed, 27 Oct 2021 03:43:25 -0300 Subject: [PATCH 2/5] fga-eps-mds/2021.1-Oraculo#123 Pushing test file --- .github/workflows/release.yml | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 83bb036..c4a6f86 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,14 +13,14 @@ jobs: with: # Disabling shallow clone is recommended for improving relevancy of reporting fetch-depth: 0 - - - name: Run tests - run: sudo docker-compose run frontend bash -c "yarn && yarn test --coverage --watchAll=false" - + - name: Get Date id: date run: echo "::set-output name=date::$(date +'%m-%d-%Y-%H-%M')" + - name: Run tests + run: sudo docker-compose run frontend bash -c "yarn && yarn test --coverage --outputFile=fga-eps-mds-2021_1-Oraculo-FrontEnd-${{ steps.date.outputs.date }}-test.json --json --watchAll=false" + - name: Create JSON run: curl -X POST 'https://sonarcloud.io/api/measures/component_tree?component=fga-eps-mds_2021-1-PC-GO-Frontend&metricKeys=files,functions,complexity,comment_lines_density,duplicated_lines_density,coverage,ncloc,security_rating,tests,test_success_density,test_execution_time,reliability_rating&ps=500' > fga-eps-mds-2021_1-Oraculo-FrontEnd-${{ steps.date.outputs.date }}.json @@ -44,3 +44,16 @@ jobs: user_email: ${{ secrets.USER_EMAIL }} user_name: ${{ secrets.USER_NAME }} commit_message: "Adding SonarCloud file - fga-eps-mds-2021_1-Oraculo-FrontEnd-${{ steps.date.outputs.date }}.json" + + - name: Pushes test file + uses: dmnemec/copy_file_to_another_repo_action@main + env: + API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} + with: + source_file: fga-eps-mds-2021_1-Oraculo-FrontEnd-${{ steps.date.outputs.date }}-test.json + destination_repo: "fga-eps-mds/2021.1-Oraculo" + destination_branch: "master" + destination_folder: "analytics-raw-data" + user_email: ${{ secrets.USER_EMAIL }} + user_name: ${{ secrets.USER_NAME }} + commit_message: "Adding test file - fga-eps-mds-2021_1-Oraculo-FrontEnd-${{ steps.date.outputs.date }}-test.json" From b5f75fd6393781b556b0f201bc7f7bc90f127003 Mon Sep 17 00:00:00 2001 From: Henrique Martins Date: Wed, 27 Oct 2021 09:51:35 -0300 Subject: [PATCH 3/5] fga-eps-mds/2021.1-Oraculo#128 Changing service version --- .github/workflows/release.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c4a6f86..4de0949 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,9 +31,8 @@ jobs: prerelease: false files: | fga-eps-mds-2021_1-Oraculo-FrontEnd-${{ steps.date.outputs.date }}.json - - name: Pushes sonar file - uses: dmnemec/copy_file_to_another_repo_action@main + uses: dmnemec/copy_file_to_another_repo_action@80732d64341473fa7165a3b2b6c7b0ee164193f8 env: API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} with: @@ -46,7 +45,7 @@ jobs: commit_message: "Adding SonarCloud file - fga-eps-mds-2021_1-Oraculo-FrontEnd-${{ steps.date.outputs.date }}.json" - name: Pushes test file - uses: dmnemec/copy_file_to_another_repo_action@main + uses: dmnemec/copy_file_to_another_repo_action@80732d64341473fa7165a3b2b6c7b0ee164193f8 env: API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} with: From 25123c516ff93dd3fb499eaf163048db26b7f300 Mon Sep 17 00:00:00 2001 From: Victor Rodrigues Date: Fri, 12 Nov 2021 16:28:51 -0300 Subject: [PATCH 4/5] Delete devel_oraculo-frontend.yml --- .github/workflows/devel_oraculo-frontend.yml | 56 -------------------- 1 file changed, 56 deletions(-) delete mode 100644 .github/workflows/devel_oraculo-frontend.yml diff --git a/.github/workflows/devel_oraculo-frontend.yml b/.github/workflows/devel_oraculo-frontend.yml deleted file mode 100644 index f56a125..0000000 --- a/.github/workflows/devel_oraculo-frontend.yml +++ /dev/null @@ -1,56 +0,0 @@ -# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy -# More GitHub Actions for Azure: https://github.com/Azure/actions - -name: Build and deploy Node.js app to Azure Web App - oraculo-frontend - -on: - push: - branches: - - devel - workflow_dispatch: - -jobs: - build: - runs-on: windows-latest - - steps: - - uses: actions/checkout@v2 - - - name: Set up Node.js version - uses: actions/setup-node@v1 - with: - node-version: '14.x' - - - name: npm install, build, and test - run: | - npm install - npm run build --if-present - npm run test --if-present - - - name: Upload artifact for deployment job - uses: actions/upload-artifact@v2 - with: - name: node-app - path: . - - deploy: - runs-on: ubuntu-latest - needs: build - environment: - name: 'Production' - url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} - - steps: - - name: Download artifact from build job - uses: actions/download-artifact@v2 - with: - name: node-app - - - name: 'Deploy to Azure Web App' - uses: azure/webapps-deploy@v2 - id: deploy-to-webapp - with: - app-name: 'oraculo-frontend' - slot-name: 'Production' - publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_FC6E916896C640DE8810F07A5D796719 }} - package: . From e95a0d866a652ca20fc8750b819afe799588e865 Mon Sep 17 00:00:00 2001 From: AntonioIgorCarvalho Date: Tue, 16 Nov 2021 14:13:49 -0300 Subject: [PATCH 5/5] Button to setFoward changed fga-eps-mds/2021.1-Oraculo#236 --- src/Pages/ViewRecord/index.js | 10 +++++----- src/Pages/ViewRecord/style.js | 12 ++++++++---- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/src/Pages/ViewRecord/index.js b/src/Pages/ViewRecord/index.js index 525e5aa..ddb2e92 100644 --- a/src/Pages/ViewRecord/index.js +++ b/src/Pages/ViewRecord/index.js @@ -375,15 +375,15 @@ const ViewRecord = () => {

{userName === "" ? "Policia Federal (mock)" : userName}

- Departamento: + setSector(event.target.value)} /> -
-

Encaminhar

- -
+ Tags:
diff --git a/src/Pages/ViewRecord/style.js b/src/Pages/ViewRecord/style.js index 0dfc5d5..ed0e865 100644 --- a/src/Pages/ViewRecord/style.js +++ b/src/Pages/ViewRecord/style.js @@ -42,18 +42,22 @@ const StyledDivInfoProcess = styled.div` } .forwardIcon { + align-items: end; + background: none; + border: none; display: flex; - align-items: center; justify-content: flex-end; - margin-top: 1rem; cursor: pointer; p { text-decoration: none; color: white; - font-size: ${fonts.sizeLg}; + font-size: ${fonts.sizeXlg}; + margin-bottom: 0; } svg { - margin: 0 1rem; + font-size: ${fonts.sizeXlg}; + margin-left: 1rem; + color: white; } }