browsertrix
browsertrix copied to clipboard
QA review Replay embed improvements
Resolves https://github.com/webrecorder/browsertrix/issues/1758
Changes
- Adds button to refresh current QA review Replay
- Shows loading indicator when Replay window is loading
- Prevents clicking links within Replay
- Fixes document scrollbar gutter
- Adds scroll snap to QA review
Manual testing
- Log in as crawler
- Navigate to crawl QA review
- Click "Replay" tab. Verify Replay window loads as expected
- Click link within Replay. Verify click is prevented and message is shown
- Click page in page list. Verify loading indicator and page content shows as expected
- Change QA run ID. Verify loading indicator and page content shows as expected
Screenshots
| Page | Image/video |
|---|---|
| QA Review - Replay | |
| QA Review - Replay (new page loading) | |
| QA Review - Replay (click prevented) |
Tested, only thing I might change is the additional label, looks good!!
Feedback from Ilya: Links could potentially handled by allowing navigation and then checking for 404?
Nice! Looking good! Only issue I noticed is that clicking the refresh button also shows the 'navigation prevention' dialog, and then ends up going back to screenshots. Probably want to ignore the visibilityChange handling, when refreshing
Nice! Looking good! Only issue I noticed is that clicking the refresh button also shows the 'navigation prevention' dialog, and then ends up going back to screenshots. Probably want to ignore the visibilityChange handling, when refreshing
Can you link me to URL where you're seeing this? Right now visibility change checks if the URL after _mp is the same and ignores if so, so it should work for most cases--some cases might be falling through, though I haven't seen it so far with my crawls.
Some weird things going on here: http://localhost:9870/orgs/default-org/items/crawl/manual-20240502135410-e49523be-866/review/resources?qaRunId=qa-20240502135628-e49523be-866&itemPageId=2f31a23a-4dc3-4e2c-abd2-8a068487ec24
Try clicking on the replay tab — for me, it loads and then sends the browser back one entry, in this case to the resources tab, but it also does the same thing if you're viewing another page on the replay tab and then click to this page.
Try clicking on the replay tab — for me, it loads and then sends the browser back one entry, in this case to the resources tab, but it also does the same thing if you're viewing another page on the replay tab and then click to this page.
Hmm, good catch, looks like it's because the page adds /en... Added a fix, maybe we should start on https://github.com/webrecorder/browsertrix/issues/1758 next to add a navigation event in RWP to more reliably know where the navigation occurred @ikreymer?
Hmm, good catch, looks like it's because the page adds
/en... Added a fix, maybe we should start on #1758 next to add a navigation event in RWP to more reliably know where the navigation occurred @ikreymer?
Yes, can do some improvements in RWP (though the linked issue is fixed by this PR also I think?) Edit: I think the issue is #1780