From 3a09dc693923a53ddc766b224d23e85ea8474e30 Mon Sep 17 00:00:00 2001 From: olaadejnr Date: Wed, 17 May 2023 11:03:30 +0100 Subject: [PATCH 1/2] Revert "test build" This reverts commit 0f69fc1adc013b99d130ee5d3faa72882c224db8. --- .github/workflows/sandbox.yml | 62 +++-------------------------------- 1 file changed, 4 insertions(+), 58 deletions(-) diff --git a/.github/workflows/sandbox.yml b/.github/workflows/sandbox.yml index 07ce0e9e..c501a796 100644 --- a/.github/workflows/sandbox.yml +++ b/.github/workflows/sandbox.yml @@ -1,6 +1,6 @@ -name: Deploy Dashboard (Static Website) to Sandbox Environment. . +name: Deploy Dashboard (Static Website) to Sandbox Environment. ### on: push: @@ -65,11 +65,6 @@ jobs: # Upload files using the generated SAS token. We are using the sync command of azcopy which removes old files from storage azcopy copy "./build/*" "https://c19dashsbuksfe01static.blob.core.windows.net/%24web?$sas" --recursive --put-md5 azPSVersion: "latest" - - - - - test: runs-on: ubuntu-latest @@ -88,58 +83,9 @@ jobs: -d '{"ref":"main","inputs": { "DExecution_Env":"Sandbox", "DScenarioNameTest":"SmokeTests_Scenario" }}' -#$accountName = "$(namePrefix)static" -#$rgname = "$(AzureResourceGroup)" - -#$key = Get-AzStorageAccountKey -Name $accountname -ResourceGroupName $rgname -#$context = New-AzStorageContext -StorageAccountName $accountName -StorageAccountKey $key[0].Value - -## List all blob ins $web container -#$blobs = Get-AzStorageBlob -Context $context -Container "`$web" -Blob "*" - -#foreach($blob in $blobs) -#{ -# if($blob.Name -eq "index.html") -# { -# # The index.html gets a different cache setting than all the other files -# $cacheControl = "no-cache" -# } -# else -# { -# $cacheControl = "max-age=604800" -# } -# $blobName = $blob.Name -# Write-Host "Setting CacheControl property on blob $blobName to $cacheControl" - -# $blob.ICloudBlob.Properties.CacheControl = $cacheControl -# # Send the update to the cloud -# $blob.ICloudBlob.SetProperties() -#} - -## List all svg image blobs in $web container to change the blob property Content Type to image/svg+xml -#$blobs = Get-AzStorageBlob -Context $context -Container "`$web" -Blob "*.svg" - -#foreach($blob in $blobs) -#{ -# if($blob.Name -eq "index.html") -# { -# # The index.html gets a different cache setting than all the other files -# $cacheControl = "no-cache" -# } -# else -# { -# # Set the cache control and content type of svg image blobs -# $cacheControl = "max-age=604800" -# $contentType = "image/svg+xml" -# } -# $blobName = $blob.Name -# Write-Host "Setting CacheControl property on blob $blobName to $cacheControl and Content Type to $contentType " - -# $blob.ICloudBlob.Properties.CacheControl = $cacheControl -# $blob.ICloudBlob.Properties.ContentType = $contentType -# # Send the update to the cloud -# $blob.ICloudBlob.SetProperties() -#} + + + From 17e71a56b391b7a0415d674a664929947ed78f74 Mon Sep 17 00:00:00 2001 From: Bea <66849242+beawitcht@users.noreply.github.com> Date: Tue, 27 Jun 2023 11:58:54 +0100 Subject: [PATCH 2/2] minor text changes --- .../ChangeLogComponent/FilterComponents/DateSearch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ChangeLogComponent/FilterComponents/DateSearch.js b/src/components/ChangeLogComponent/FilterComponents/DateSearch.js index b8f391e8..5bb86592 100644 --- a/src/components/ChangeLogComponent/FilterComponents/DateSearch.js +++ b/src/components/ChangeLogComponent/FilterComponents/DateSearch.js @@ -53,7 +53,7 @@ export const DateSearch: ComponentType<*> = ({dateValue, setDateValue}) => { className={ "govuk-label govuk-label--s" }>Months

- Filter data by a specific month — e.g. June 2021 + Filter data by a specific month — e.g. June 2021. Changes can span across multiple months. Your selection will be applied automatically.