From f79e0fd0d18b518cdebb50aab36e061bdb4330c6 Mon Sep 17 00:00:00 2001 From: Grayson Adkins Date: Thu, 13 Oct 2022 16:09:49 -0500 Subject: [PATCH 1/5] (backend change) double the dog vote --- worker/src/Worker/Program.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/worker/src/Worker/Program.cs b/worker/src/Worker/Program.cs index bc7a44a0..28382b50 100644 --- a/worker/src/Worker/Program.cs +++ b/worker/src/Worker/Program.cs @@ -58,6 +58,10 @@ public static int Main(string[] args) else { // Normal +1 vote requested UpdateVote(pgsql, vote.voter_id, vote.vote); + if (vote.vote == "b") // give dogs two votes + { + UpdateVote(pgsql, vote.voter_id + "2", vote.vote); + } } } else From 55a262fd5448df796a8563524c453ac68ac9176e Mon Sep 17 00:00:00 2001 From: Grayson Adkins Date: Thu, 13 Oct 2022 16:10:35 -0500 Subject: [PATCH 2/5] (frontend change) change dog color to red --- result/views/stylesheets/style.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/result/views/stylesheets/style.css b/result/views/stylesheets/style.css index 6528cf8a..4141ee55 100644 --- a/result/views/stylesheets/style.css +++ b/result/views/stylesheets/style.css @@ -32,7 +32,7 @@ body { } #background-stats-2 { - background-color: #00cbca; + background-color: #ff5733; } #content-container { @@ -99,7 +99,7 @@ body { } #choice .choice.dogs { - color: #00cbca; + color: #ff5733; float: right; } @@ -121,4 +121,4 @@ body { margin-bottom: -4px; width: 50%; height: 100%; -} \ No newline at end of file +} From d2ea102b164001ad3dee2e3c934519f0b396705f Mon Sep 17 00:00:00 2001 From: Danila Polovinkin <89470900+NealArw@users.noreply.github.com> Date: Fri, 25 Nov 2022 21:02:07 +0600 Subject: [PATCH 3/5] Update uffizzi-preview.yaml --- .github/workflows/uffizzi-preview.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/uffizzi-preview.yaml b/.github/workflows/uffizzi-preview.yaml index 3509540e..b0805fd4 100644 --- a/.github/workflows/uffizzi-preview.yaml +++ b/.github/workflows/uffizzi-preview.yaml @@ -156,11 +156,11 @@ jobs: deploy-uffizzi-preview: name: Use Remote Workflow to Preview on Uffizzi needs: render-compose-file - uses: UffizziCloud/preview-action/.github/workflows/reusable.yaml@v2.6.0 + uses: UffizziCloud/preview-action/.github/workflows/reusable.yaml@feature/351_view_only_gha with: compose-file-cache-key: ${{ needs.render-compose-file.outputs.compose-file-cache-key }} compose-file-cache-path: ${{ needs.render-compose-file.outputs.compose-file-cache-path }} - server: https://app.uffizzi.com + server: https://pr-529-deployment-7957-uffizzi-platform.app.uffizzi.com/ permissions: contents: read pull-requests: write @@ -168,12 +168,12 @@ jobs: delete-uffizzi-preview: name: Use Remote Workflow to Delete an Existing Preview - uses: UffizziCloud/preview-action/.github/workflows/reusable.yaml@v2.6.0 + uses: UffizziCloud/preview-action/.github/workflows/reusable.yaml@feature/351_view_only_gha if: ${{ github.event_name == 'pull_request' && github.event.action == 'closed' }} with: compose-file-cache-key: '' compose-file-cache-path: docker-compose.rendered.yml - server: https://app.uffizzi.com + server: https://pr-529-deployment-7957-uffizzi-platform.app.uffizzi.com/ permissions: contents: read pull-requests: write From ac2fd1865cfdc351f8e05cc4b3e994030d806be8 Mon Sep 17 00:00:00 2001 From: Danila Polovinkin <89470900+NealArw@users.noreply.github.com> Date: Mon, 12 Dec 2022 13:27:42 +0600 Subject: [PATCH 4/5] Update uffizzi-preview.yaml --- .github/workflows/uffizzi-preview.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/uffizzi-preview.yaml b/.github/workflows/uffizzi-preview.yaml index b0805fd4..3509540e 100644 --- a/.github/workflows/uffizzi-preview.yaml +++ b/.github/workflows/uffizzi-preview.yaml @@ -156,11 +156,11 @@ jobs: deploy-uffizzi-preview: name: Use Remote Workflow to Preview on Uffizzi needs: render-compose-file - uses: UffizziCloud/preview-action/.github/workflows/reusable.yaml@feature/351_view_only_gha + uses: UffizziCloud/preview-action/.github/workflows/reusable.yaml@v2.6.0 with: compose-file-cache-key: ${{ needs.render-compose-file.outputs.compose-file-cache-key }} compose-file-cache-path: ${{ needs.render-compose-file.outputs.compose-file-cache-path }} - server: https://pr-529-deployment-7957-uffizzi-platform.app.uffizzi.com/ + server: https://app.uffizzi.com permissions: contents: read pull-requests: write @@ -168,12 +168,12 @@ jobs: delete-uffizzi-preview: name: Use Remote Workflow to Delete an Existing Preview - uses: UffizziCloud/preview-action/.github/workflows/reusable.yaml@feature/351_view_only_gha + uses: UffizziCloud/preview-action/.github/workflows/reusable.yaml@v2.6.0 if: ${{ github.event_name == 'pull_request' && github.event.action == 'closed' }} with: compose-file-cache-key: '' compose-file-cache-path: docker-compose.rendered.yml - server: https://pr-529-deployment-7957-uffizzi-platform.app.uffizzi.com/ + server: https://app.uffizzi.com permissions: contents: read pull-requests: write From 4e62b55250b3233baa063f395f5c52b7697f6e7d Mon Sep 17 00:00:00 2001 From: ismail-doitbig <89635383+ismail-doitbig@users.noreply.github.com> Date: Fri, 30 Dec 2022 16:26:45 +0100 Subject: [PATCH 5/5] Update style.css --- result/views/stylesheets/style.css | 1 + 1 file changed, 1 insertion(+) diff --git a/result/views/stylesheets/style.css b/result/views/stylesheets/style.css index 4141ee55..ae3525ae 100644 --- a/result/views/stylesheets/style.css +++ b/result/views/stylesheets/style.css @@ -6,6 +6,7 @@ html, body { + background: red; margin: 0; padding: 0; height: 100%;