Skip to content

change display of redirects in dashboard #562

Description

@pabs3

Currently when a redirect happens it looks like this in the dashboards:

302 OK https://bugzilla.redhat.com/attachment.cgi?id=461634
200 OK https://bugzilla.redhat.com/attachment.cgi?id=461634

Note that the second URL displayed there is not the URL redirected to, but the original URL.

I propose to display the URL being redirected instead, changing the display to one of these:

302 OK https://bugzilla.redhat.com/attachment.cgi?id=461634 → https://bugzilla-attachments.redhat.com/attachment.cgi?id=461634
200 OK https://bugzilla-attachments.redhat.com/attachment.cgi?id=461634
302 OK https://bugzilla.redhat.com/attachment.cgi?id=461634
 ↳     https://bugzilla-attachments.redhat.com/attachment.cgi?id=461634
200 OK https://bugzilla-attachments.redhat.com/attachment.cgi?id=461634
302 OK https://bugzilla.redhat.com/attachment.cgi?id=461634 ⬎
200 OK https://bugzilla-attachments.redhat.com/attachment.cgi?id=461634
302   OK https://bugzilla.redhat.com/attachment.cgi?id=461634
↳ 200 OK https://bugzilla-attachments.redhat.com/attachment.cgi?id=461634
302 OK https://bugzilla.redhat.com/attachment.cgi?id=461634
↳ 200 OK https://bugzilla-attachments.redhat.com/attachment.cgi?id=461634
302 OK https://bugzilla.redhat.com/attachment.cgi?id=461634
200 OK https://bugzilla-attachments.redhat.com/attachment.cgi?id=461634

They all show the URL redirected to in different ways. The options are to show the new URL twice/once, how/whether to use an arrow to indicate it and how to deal with the extra implied space usage.

As I understand it, the right URLs are recorded in the WARCs, but the backend isn't passing the right information to the dashboard, so that will have to be fixed first.

CC @ShadowJonathan since they expressed interest in helping.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    backenddashboardClient-side dashboard only; dashboard server things should use the backend label instead.enhancementpipeline

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions