QA Details page: - Enables QA tab with ability to start automated analysis QA Run + view a and manual review status - Pages listed with review status + overall crawl review status shown on QA details (relates to #1508) - Initial placeholder for QA run analytics (part of #1589) - Addresses a good deal of #1477 Automated Analysis QA in Review Mode: - Ability to select from multiple analysis QA runs / view QA runs in QA details - Shows analysis screenshot, text and resources compare and replay tabs (fixes #1496) - Sorting by worst screenshot / worst text score for each QA run - Includes pages sidebar with screenshot/text/resource compare results (fixes #1497) Manual Review QA in Review Mode: - Per-page replay available as separate tab (fixes #1499) - Supports thumbs up, thumbs down, notes for each page - Supports entering review status approval (good/acceptable/bad can be entered when finishing review --------- Co-authored-by: Emma Segal-Grossman <hi@emma.cafe> Co-authored-by: Ilya Kreymer <ikreymer@gmail.com> Co-authored-by: Henry Wilkinson <henry@wilkinson.graphics>
		
			
				
	
	
		
			53 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			53 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| name: Frontend Build Check
 | |
| on:
 | |
|   pull_request:
 | |
|     paths:
 | |
|       - 'frontend/src/**'
 | |
|       - 'frontend/*.json'
 | |
|       - 'frontend/*.js'
 | |
|       - 'frontend/*.ts'
 | |
| jobs:
 | |
|   setup-and-build:
 | |
|     runs-on: ubuntu-latest
 | |
|     steps:
 | |
|       - name: Checkout
 | |
|         uses: actions/checkout@v3
 | |
|       - name: Setup Node
 | |
|         uses: actions/setup-node@v3
 | |
|         with:
 | |
|           node-version: '18'
 | |
|           cache: 'yarn'
 | |
|           cache-dependency-path: frontend/yarn.lock
 | |
|       - name: Restore cache
 | |
|         uses: actions/cache@v3
 | |
|         with:
 | |
|           path: frontend/dist
 | |
|           key: ${{ runner.os }}-btrix-frontend-build-${{ hashFiles('frontend/dist') }}
 | |
|           restore-keys: |
 | |
|             ${{ runner.os }}-btrix-frontend-build-            
 | |
|       - name: Install dependencies
 | |
|         working-directory: frontend
 | |
|         env:
 | |
|           HUSKY: 0
 | |
|         run: yarn install --frozen-lockfile
 | |
|       - name: Lint
 | |
|         working-directory: frontend
 | |
|         run: yarn lint:check
 | |
|       - name: Format
 | |
|         working-directory: frontend
 | |
|         # TODO Reenable when https://github.com/webrecorder/browsertrix-cloud/issues/1618 is addressed
 | |
|         # run: yarn format:check
 | |
|         run: echo "yarn format:check disabled"
 | |
|       - name: Unit tests
 | |
|         working-directory: frontend
 | |
|         run: yarn test
 | |
|       - name: Localization build
 | |
|         working-directory: frontend
 | |
|         run: yarn localize:prepare
 | |
|       - name: Remove non-production dependencies
 | |
|         working-directory: frontend
 | |
|         run: yarn install --frozen-lockfile --ignore-optional --production
 | |
|       - name: Webpack build
 | |
|         working-directory: frontend
 | |
|         run: yarn build
 |