-
-
Notifications
You must be signed in to change notification settings - Fork 52
feat: UX improvements to collections with single URL #2325
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
Conversation
8b91b89
to
e554735
Compare
<btrix-badge | ||
slot="suffix" | ||
variant=${status < 300 ? "success" : "danger"} | ||
>${status}</btrix-badge | ||
> |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They're being filtered out here, do you mean keep them in and highlight as errors?
This comment was marked as resolved.
This comment was marked as resolved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks to be working when there is one URL. If there's one unique URL, I assume this doesn't apply right? Still a nice optimization!
Resolves #2322
Changes
Manual testing