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

feat: UX improvements to collections with single URL #2325

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

SuaYoo
Copy link
Member

@SuaYoo SuaYoo commented Jan 21, 2025

Resolves #2322

Changes

  • Sets default start page if collection only contains one page
  • Removes status code from snapshot options

Manual testing

  1. Log in as crawler
  2. Go to collection with single page (or create one)
  3. Click "Configure View" in "Replay Tab"
  4. Choose "Start Page" for "Select Initial View". Verify single page URL is selected by default and "X" button to clear it is not visible

@SuaYoo SuaYoo force-pushed the frontend-single-url-collection branch from 8b91b89 to e554735 Compare January 22, 2025 02:33
@SuaYoo SuaYoo marked this pull request as ready for review January 22, 2025 03:05
Comment on lines -178 to -182
<btrix-badge
slot="suffix"
variant=${status < 300 ? "success" : "danger"}
>${status}</btrix-badge
>
Copy link
Member

Choose a reason for hiding this comment

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

Could we display the badge (or maybe just an icon with a tooltip) for non-2xx status codes? While I like that we're getting rid of it, I do think it could still be useful to highlight pages that didn't load successfully

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.

Select page view by default for collection with single URL
2 participants