-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into megzehn-claims-special-topics
- Loading branch information
Showing
164 changed files
with
1,976 additions
and
1,242 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
name: "DST - Experimental request - design" | ||
about: INTERNAL DST USE ONLY | ||
title: "[experimental component name] - Design" | ||
labels: platform-design-system-team | ||
assignees: babsdenney, danbrady, lwwright7 | ||
|
||
--- | ||
|
||
## Configuring this issue | ||
- [ ] Add issue to appropriate epic | ||
- [ ] Add Design System component label (such as `va-alert`) | ||
- [ ] Add `component-new` or `component-update` label, if applicable | ||
- [ ] Complete sections below | ||
- [ ] Delete this section once complete | ||
|
||
## Description | ||
Create design and/or update Figma artifacts for [experimental design component name] | ||
|
||
## Details | ||
[add links to experimental design request ticket or notes with details about the design] | ||
[add links to any research documents related to the component] | ||
|
||
## Tasks | ||
- [ ] Create designs for component | ||
- [ ] Review designs with PO and DST designers | ||
- [ ] Review designs with developers and accessibility specialist | ||
- [ ] Address any comments from reviews, if necessary | ||
- [ ] Comment on this ticket with any accessibility considerations engineers may need to know | ||
- [ ] Comment on this ticket with content specifications (e.g. labels and error messages) | ||
- [ ] Comment on this ticket with a link to the designs and post in DST Slack channel | ||
|
||
## Acceptance Criteria | ||
- [ ] Component design is complete and has been reviewed | ||
- [ ] Accessibility and development considerations have been added to this ticket, if necessary | ||
- [ ] Content specifications have been added to this ticket, if necessary | ||
- [ ] Link to design has been added to this ticket and shared in Slack |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
on: | ||
workflow_call: | ||
inputs: | ||
github-sha: | ||
required: true | ||
type: string | ||
github-run-id: | ||
required: true | ||
type: string | ||
github-event-number: | ||
required: false | ||
type: string | ||
matrix-name: | ||
required: true | ||
type: string | ||
matrix-bucket: | ||
required: true | ||
type: string | ||
matrix-config: | ||
required: true | ||
type: string | ||
secrets: | ||
aws-access-key-id: | ||
required: true | ||
aws-secret-access-key: | ||
required: true | ||
jobs: | ||
jekyll-deploy-reusable_workflow_job: | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: ${{ inputs.matrix-name }} | ||
url: "https://${{ inputs.matrix-bucket }}" | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Use Node.js 16.x | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 16.x | ||
cache: 'yarn' | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 2.7.5 # Not needed with a .ruby-version file | ||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | ||
- run: yarn install | ||
- run: yarn run build | ||
- run: bundle exec jekyll build --config _config.yml,jekyll-configs/${{ inputs.matrix-config }} --baseurl /${{ inputs.github-event-number }} | ||
- name: Make BUILD.txt file | ||
# The -e flag enables the interpretation of the \n newline character | ||
run: | | ||
echo -e "REF=${{ inputs.github-sha }}\n\ | ||
BUILD_ID=${{ inputs.github-run-id }}\n\ | ||
BUILDTIME=$(date)" > _site/BUILD.txt | ||
# We are taking these extra steps due to some differences between Jekyll and AWS S3. | ||
# To access a .html file served from S3, the URL needs to have the .html extension. | ||
# We're removing the extension to make the URLs prettier. | ||
# More context: | ||
# https://simpleit.rocks/ruby/jekyll/tutorials/having-pretty-urls-in-a-jekyll-website-hosted-in-amazon-s3/ | ||
- name: Remove .html extension on non-index files | ||
run: | | ||
find _site/ -type f ! -iname 'index.html' -iname '*.html' \ | ||
-print0 | while read -d $'\0' f; do mv "$f" "${f%.html}"; done | ||
- uses: aws-actions/configure-aws-credentials@v4 | ||
with: | ||
aws-access-key-id: ${{ secrets.aws-access-key-id }} | ||
aws-secret-access-key: ${{ secrets.aws-secret-access-key }} | ||
aws-region: "us-gov-west-1" | ||
- name: Sync extensionless html files with correct type | ||
run: | | ||
aws s3 sync _site s3://${{ inputs.matrix-bucket }} \ | ||
--acl public-read \ | ||
--delete \ | ||
--exclude "storybook/*" \ | ||
--exclude "*.*" \ | ||
--content-type "text/html" | ||
- name: Sync remaining files | ||
run: | | ||
aws s3 sync _site s3://${{ inputs.matrix-bucket }} \ | ||
--acl public-read \ | ||
--delete \ | ||
--exclude "*" \ | ||
--include "*.*" \ | ||
--exclude "storybook/*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Preview | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- reopened | ||
- synchronize | ||
|
||
jobs: | ||
dev-deploy-preview: | ||
strategy: | ||
matrix: | ||
environment: [{ name: development, bucket: "dev-design.va.gov/${{ github.event.number }}", config: dev.yml }] | ||
uses: ./.github/workflows/deploy-reusable.yml | ||
with: | ||
github-sha: ${{ github.sha }} | ||
github-run-id: ${{ github.run_id }} | ||
github-event-number: ${{ github.event.number }} | ||
matrix-name: ${{ matrix.environment.name }} | ||
matrix-bucket: ${{ matrix.environment.bucket }} | ||
matrix-config: ${{ matrix.environment.config }} | ||
secrets: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
.jekyll-metadata | ||
.sass-cache | ||
.vscode | ||
*.code-workspace | ||
_site | ||
fonts | ||
node_modules | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ruby 3.0.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
storybook_path: "/storybook" | ||
url: "https://dev-design.va.gov" # Base hostname & protocol for the preview site | ||
storybook_path: "/storybook" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.