Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new WIP QA Review page #1500

Merged
merged 13 commits into from
Feb 20, 2024
Merged

Add new WIP QA Review page #1500

merged 13 commits into from
Feb 20, 2024

Conversation

SuaYoo
Copy link
Member

@SuaYoo SuaYoo commented Jan 29, 2024

Resolves #1493

Changes

Adds WIP QA page with basic grid layout sections and navigation.

Manual testing

Page can be access by adding /review/screenshots or /review/replay to a crawl detail page URL. For example:

/orgs/suas-dev-sandbox-2/items/crawl/manual-20240124023524-422e41d6-97d/review/screenshots

Screenshots

Page Image/video
QA Review (large screen) Screenshot 2024-01-30 at 8 43 35 PM
QA Review (small screen) Screenshot 2024-01-30 at 8 43 44 PM

@SuaYoo SuaYoo changed the title WIP Add new QA Review page Add new WIP QA Review page Jan 31, 2024
@SuaYoo SuaYoo marked this pull request as ready for review January 31, 2024 04:46
@emma-sg
Copy link
Member

emma-sg commented Jan 31, 2024

Oh shoot that formatted everything, hold on

emma-sg added a commit that referenced this pull request Jan 31, 2024
Makes sure code quality stays high by checking that code is linted &
formatted in CI.

### Reason

Frustration — so that [things like
this](#1500 (comment))
don't happen in the future. I tried to merge `main` into a branch to get
it up to date with main, and main isn't totally formatted or linted
properly, and then formatting the codebase introduced a whole bunch of
unrelated changes. Running a formatter or linter shouldn't cause
unrelated code changes, and `main` should always be in a correct state
in terms of linting and formatting.

### Testing

- [x] Test run with failing lint checks errors:
https://github.com/webrecorder/browsertrix-cloud/actions/runs/7733354321/job/21085236200
- [x] Test run with failing formatting check errors:
https://github.com/webrecorder/browsertrix-cloud/actions/runs/7733501666/job/21085717519
- [x] Test run with both passing lint & formatting checks passes:
https://github.com/webrecorder/browsertrix-cloud/actions/runs/7733529142/job/21085796727
emma-sg and others added 5 commits January 31, 2024 20:58
Partially addresses #1503
<!-- Fixes #issue_number -->

### Changes

- Adds a navigation button component, intended for use with tab-like
interfaces
- Converts the button and badge components to Tailwind
  - Also adds a `high-contrast` style variant to badges
- Adds `prettier-plugin-tailwindcss` and updates `prettier` and
`tailwindcss`, and adds a `tw` no-op function, which allows
`prettier-plugin-tailwindcss` to sort Tailwind classes
- I'll follow this up with a PR that applies the updated prettier
defaults to everything

### Manual testing

1. Tested by hand with a scrap testing page

### Screenshots

<img width="631" alt="Screenshot 2024-01-31 at 4 41 15 PM"
src="https://github.com/webrecorder/browsertrix-cloud/assets/5727389/a7a3898c-4298-443c-b1c5-5062e634d226">


<!-- ### Follow-ups -->
Copy link
Member

@ikreymer ikreymer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good initial start for QA!

@ikreymer ikreymer merged commit 91ff95c into main Feb 20, 2024
2 checks passed
@ikreymer ikreymer deleted the frontend-qa-page branch February 20, 2024 08:26
tw4l pushed a commit that referenced this pull request Feb 22, 2024
Resolves #1493

<!-- Fixes #issue_number -->

### Changes

Adds WIP QA page with basic grid layout sections and navigation.

### Manual testing

Page can be access by adding `/review/screenshots` or `/review/replay`
to a crawl detail page URL. For example:
```
/orgs/suas-dev-sandbox-2/items/crawl/manual-20240124023524-422e41d6-97d/review/screenshots
```

---------
Co-authored-by: emma <hi@emma.cafe>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

QA UI: New page
3 participants