Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

Commit 7de309a

Browse files
authored
SWI-2779 Update Redoc Version, Fix Landing Page Layout, Disconnect from Cypress Dashboard (#1042)
* SWI-2779 Update Redoc Version and Fix Landing Page Layout * remove unnecessary margin * margin is necessary, update it * increase margin * remove references to cypress project * Spain - S I missed this in the commit * remove `record: true`s * remove dashboard info * clean up last refs to cypress dashboard * update cypress action versions * update bw-redoc to 1.4 * and yarn lock * update group css * remove old import * update voice spec for demo * undo changes to voice spec
1 parent 33ff2a4 commit 7de309a

11 files changed

+22
-42
lines changed

.github/workflows/cypress-prod-nightly.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,14 @@ jobs:
2626
uses: actions/checkout@v3
2727

2828
- name: Cypress run
29-
uses: cypress-io/github-action@v4.2.0
29+
uses: cypress-io/github-action@v5.8.0
3030
timeout-minutes: 40
3131
with:
32-
record: true
3332
browser: ${{ matrix.browser }}
3433
working-directory: ./site
3534
config-file: prod-cypress.config.js
36-
tag: production
3735
env:
38-
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
39-
CYPRESS_PROJECT_ID: ${{ secrets.PROJECT_ID }}
4036
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41-
COMMIT_INFO_MESSAGE: ${{github.event.pull_request.title}}
42-
COMMIT_INFO_SHA: ${{github.event.pull_request.head.sha}}
4337
notify_for_failures:
4438
name: Notify for Failures
4539
needs: [cypress_nightly]

.github/workflows/pr-closed-delete-staging-site.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,20 +68,14 @@ jobs:
6868
EOL
6969
7070
- name: Cypress Staged Cloudfront Deployment Test
71-
uses: cypress-io/github-action@v4.2.0
71+
uses: cypress-io/github-action@v5.8.0
7272
timeout-minutes: 40
7373
with:
74-
record: true
7574
browser: ${{ matrix.browser }}
7675
working-directory: ./site
7776
config-file: staged-cypress.config.js
78-
tag: production
7977
env:
80-
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
81-
CYPRESS_PROJECT_ID: ${{ secrets.PROJECT_ID }}
8278
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
83-
COMMIT_INFO_MESSAGE: ${{github.event.pull_request.title}}
84-
COMMIT_INFO_SHA: ${{github.event.pull_request.head.sha}}
8579

8680
delete_bucket_folder:
8781
name: Delete Bucket Folder

.github/workflows/pr-publish-docsite.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,21 +40,14 @@ jobs:
4040
uses: cypress-io/[email protected]
4141
timeout-minutes: 20
4242
with:
43-
record: true
4443
browser: ${{ matrix.browser }}
4544
start: yarn start
4645
wait-on: http://localhost:3000
4746
wait-on-timeout: 180
4847
working-directory: ./site
4948
config-file: cypress.config.js
5049
env:
51-
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
52-
CYPRESS_PROJECT_ID: ${{ secrets.CYPRESS_PROJECT_ID }}
5350
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
54-
# overwrite commit message sent to Dashboard
55-
COMMIT_INFO_MESSAGE: ${{github.event.pull_request.title}}
56-
# re-enable PR comment bot
57-
COMMIT_INFO_SHA: ${{github.event.pull_request.head.sha}}
5851
GOOGLE_ANALYTICS_TRACKING_ID: "12345"
5952
GTAG_TRACKING_ID: "12345"
6053

.github/workflows/publish-docsite.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,13 @@ jobs:
3333
uses: cypress-io/[email protected]
3434
timeout-minutes: 20
3535
with:
36-
record: true
3736
browser: ${{ matrix.browser }}
3837
start: yarn start
3938
wait-on: http://localhost:3000
4039
wait-on-timeout: 180
4140
working-directory: ./site
4241
config-file: cypress.config.js
4342
env:
44-
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
45-
CYPRESS_PROJECT_ID: ${{ secrets.CYPRESS_PROJECT_ID }}
4643
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4744
GOOGLE_ANALYTICS_TRACKING_ID: "12345"
4845
GTAG_TRACKING_ID: "12345"
@@ -134,14 +131,10 @@ jobs:
134131
uses: cypress-io/[email protected]
135132
timeout-minutes: 20
136133
with:
137-
record: true
138134
browser: ${{ matrix.browser }}
139135
working-directory: ./site
140136
config-file: prod-cypress.config.js
141-
tag: production
142137
env:
143-
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
144-
CYPRESS_PROJECT_ID: ${{ secrets.CYPRESS_PROJECT_ID }}
145138
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
146139
GOOGLE_ANALYTICS_TRACKING_ID: "12345"
147140
GTAG_TRACKING_ID: "12345"

site/cypress.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ module.exports = defineConfig({
77
},
88
baseUrl: 'http://localhost:3000'
99
},
10-
projectId: "oz7rpf",
1110
pageLoadTimeout: 60000,
1211
viewportWidth: 1440,
1312
viewportHeight: 900,

site/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"@docusaurus/plugin-google-gtag": "^2.4.1",
2222
"@docusaurus/preset-classic": "^2.4.1",
2323
"@types/react": "^17.0.0",
24-
"bandwidth-redoc": "^1.2.0",
24+
"bandwidth-redoc": "^1.4.0",
2525
"buffer": "^6.0.3",
2626
"core-js": "^3.1.4",
2727
"docusaurus-plugin-sass": "^0.2.2",

site/prod-cypress.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ module.exports = defineConfig({
77
},
88
baseUrl: 'https://dev.bandwidth.com/'
99
},
10-
projectId: "oz7rpf",
1110
pageLoadTimeout: 60000,
1211
viewportWidth: 1440,
1312
viewportHeight: 900,

site/src/components/FooterColumn.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import React from 'react';
2-
// import footerStyles from '@site/src/css/footer.module.css';
32

43
export default function FooterColumn({menus}) {
54
return (

site/src/css/components/_LandingPage.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
width: 50%;
2020
height: auto;
2121
padding-left: 150px;
22-
margin-bottom: 150px;
22+
margin-bottom: 200px;
2323
display: flex;
2424
flex-direction: column;
2525

site/src/css/components/_RedocStandalone.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,15 @@
3333
.search-no-results {
3434
padding-left: 1.3rem;
3535
}
36+
37+
label[type="group"] {
38+
font-size: .8rem;
39+
font-family: $overpass-bold;
40+
41+
@include dark-mode {
42+
color: $white;
43+
}
44+
}
3645
}
3746

3847
.api-content {

0 commit comments

Comments
 (0)