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

QA Review UI #1624

Merged
merged 32 commits into from Apr 4, 2024
Merged

QA Review UI #1624

merged 32 commits into from Apr 4, 2024

Conversation

SuaYoo and others added 3 commits March 25, 2024 16:30
Adds initial screenshot comparison tool for testing RWP embeds.
emma-sg and others added 4 commits March 25, 2024 16:41
- Adds a Grouped List helper function:
[`frontend/src/components/utils/grouped-list.ts`](https://github.com/webrecorder/browsertrix-cloud/pull/1546/files#diff-7cdd94b36ceca715ce50d68524a31386741561bccdbe1760e1dfae8157f5495e)
- Adds a `WeakRef`-based function cache for memoizing function calls,
along with tests for it:
[`frontend/src/utils/weakCache.ts`](https://github.com/webrecorder/browsertrix-cloud/pull/1546/files#diff-a3164accbef418eedb596ccbb96cf0dee4d4c594fef28a80f02124352875109a)
- Adds a page list, along with a bunch of functional helpers:
[`frontend/src/features/qa/page-list/page-list.ts`](https://github.com/webrecorder/browsertrix-cloud/pull/1546/files#diff-59fb183decceed95276697a1c274d210b4d4d689e4b5d6eed713b331dfb5b804)
- Adds `clsx` for combining classes
- Adds a [`TailwindComponent` template for
VSCode](https://github.com/webrecorder/browsertrix-cloud/pull/1546/files#diff-64ebc963103ab4a0b8781ad0173ea0de10c4112303531db7c592c6773e25d626)
- Reverts changes to the `<btrix-badge>` component
- Improves [ItemListControl
types](https://github.com/webrecorder/browsertrix-cloud/pull/1546/files#diff-e2e161f4ce6410ed4a5605469aa2260fabdd384e4fcfd4e2978e85d043912579)
- Adds an animation helper from Shoelace:
[`frontend/src/features/qa/page-list/ui/animate.ts`](https://github.com/webrecorder/browsertrix-cloud/pull/1546/files#diff-5e74f8833205ed5700da8ba2ea81d8aff110a93add8bd19c35ff5cd579f71a4d)
- Adds and enables `@tailwindcss/container-queries` for future use
- Updates `prettier-plugin-tailwindcss` and ensures that the VSCode
Prettier extension uses the correct prettier config & plugins
Adds initial screenshot comparison tool for testing RWP embeds.
SuaYoo and others added 12 commits March 26, 2024 09:11
Optimize loading: create a proxy iframe for loading from service worker,
to be able to fetch() directly from serviceworker:
- fetch to blob and use blob URL for `<img>`
- fetch to text for text tab
- fetch json for resources

Text Tab: Show text content in each pane, use diff library for text diff

Resources: Aggregate resources JSON by 'type', also group into good
(status < 400) /bad (status >= 400)

Minor styling tweaks: split nav bar into two rows, add height to replay.
Only load url in RWP when actually showing replay to avoid unnecessary
background loading.

Update data when QA Item is toggled

---------
Co-authored-by: sua yoo <sua@suayoo.com>
@Shrinks99
Copy link
Member

Shrinks99 commented Apr 3, 2024

Will take a deeper look tomorrow, initial thought: This is starting to really come together!!

I liked the filled next page button? There's a whole lot of buttons to press on this page, and I think giving the "next" one more hierarchy importance probably isn't a bad move? I've given Finish Review the primary flag in #1645, generally like how this looks but open to opinions?

EDIT: Lets save button colours for later, don't wanna get hung up on them here!

ikreymer and others added 3 commits April 3, 2024 13:14
… crawl item endpoint

is registered in RWP SW, even if there is no data.
if not registered, triggers injecting RWP and awaiting message
### Changes
- Changes second level status icon to slash-square (app wide)
- Updates finish review button
- Changes to success state, hopefully better exemplifies that this is
the final action compared to "primary" which is used for things we want
to highlight?
- Adds icon
- Adds microscope icon for review button
disable devServer compression for firefox
@ikreymer ikreymer marked this pull request as ready for review April 3, 2024 23:35
@ikreymer
Copy link
Member

ikreymer commented Apr 3, 2024

Added some additional fixes, and I think this may be ready to merge!

ikreymer and others added 2 commits April 3, 2024 22:50
@ikreymer ikreymer merged commit 83c9203 into main Apr 4, 2024
4 checks passed
@ikreymer ikreymer deleted the frontend-qa-analysis branch April 4, 2024 22:09
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.

None yet

4 participants