Skip to content

Redirect: Adding metrics section [MAPS-237]#10673

Open
Franco Banfi (FBanfi) wants to merge 3 commits intoredirect-maps-236from
redirect-maps-237
Open

Redirect: Adding metrics section [MAPS-237]#10673
Franco Banfi (FBanfi) wants to merge 3 commits intoredirect-maps-236from
redirect-maps-237

Conversation

@FBanfi
Copy link
Collaborator

@FBanfi Franco Banfi (FBanfi) commented Mar 5, 2026

Purpose

This update includes the metric section.

Approach

  • Reused the metric component from content insights.
  • Created the metrics in the Page location
  • Moved the redirects from the RedirectsTable component to the Page location to generate the metrics there.

Testing steps

Automated tests added.

Grabacion.de.pantalla.2026-03-05.a.la.s.11.24.03.a.m.mov

Breaking Changes

N/A

Dependencies and/or References

Link to MAPS-237

Deployment

N/A

@FBanfi Franco Banfi (FBanfi) requested a review from a team as a code owner March 5, 2026 14:29
Copy link
Collaborator

@joaquincasal Joaquin (joaquincasal) left a comment

Choose a reason for hiding this comment

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

Looks good! Left one small comment

Comment on lines +51 to +56
{ label: 'Total Redirects', value: allRedirects.length },
{ label: 'Active Redirects', value: active },
{ label: 'Inactive Redirects', value: inactive },
{ label: "Vanity URL's", value: vanityUrls.length ?? '—' },
{ label: '301 Permanent', value: permanent },
{ label: '302 Temporary', value: temporary },
Copy link
Collaborator

Choose a reason for hiding this comment

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

The labels shoud be sentance case

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.

2 participants