Skip to content

fix(seer): Sort autofix project table by slug instead of name#115642

Merged
ryan953 merged 1 commit into
masterfrom
mrduncan/fix/seer-autofix-sort-by-slug
May 20, 2026
Merged

fix(seer): Sort autofix project table by slug instead of name#115642
ryan953 merged 1 commit into
masterfrom
mrduncan/fix/seer-autofix-sort-by-slug

Conversation

@mrduncan
Copy link
Copy Markdown
Member

The Seer Autofix settings table displays each project's slug via ProjectBadge but sorted rows by project.name, which can diverge from the slug when a project has been renamed. This made the visible order appear non-alphabetical (e.g. a project with slug "sentry" and name "Backend" sorted between "apple-macos" and "engineering-blog").

Sort by slug so the order matches what's rendered, and stays consistent with the search filter which already matches against slug.

See the "sentry" project here as a live example: https://sentry.sentry.io/settings/seer/projects/

The Seer Autofix settings table displays each project's slug via
ProjectBadge but sorted rows by project.name, which can diverge from
the slug when a project has been renamed. This made the visible order
appear non-alphabetical (e.g. a project with slug "sentry" and name
"Backend" sorted between "apple-macos" and "engineering-blog").

Sort by slug so the order matches what's rendered, and stays consistent
with the search filter which already matches against slug.
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label May 15, 2026
@github-actions
Copy link
Copy Markdown
Contributor

📊 Type Coverage Diff

✅ No new type safety issues introduced. Coverage: 93.52%

@mrduncan mrduncan marked this pull request as ready for review May 15, 2026 16:35
@mrduncan mrduncan requested a review from a team as a code owner May 15, 2026 16:35
@ryan953 ryan953 merged commit 1fc7a0e into master May 20, 2026
75 checks passed
@ryan953 ryan953 deleted the mrduncan/fix/seer-autofix-sort-by-slug branch May 20, 2026 16:16
JonasBa pushed a commit that referenced this pull request May 21, 2026
The Seer Autofix settings table displays each project's slug via
ProjectBadge but sorted rows by project.name, which can diverge from the
slug when a project has been renamed. This made the visible order appear
non-alphabetical (e.g. a project with slug "sentry" and name "Backend"
sorted between "apple-macos" and "engineering-blog").

Sort by slug so the order matches what's rendered, and stays consistent
with the search filter which already matches against slug.

See the "sentry" project here as a live example:
https://sentry.sentry.io/settings/seer/projects/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants