Skip to content

fixed searching for admin page#413

Merged
gpalmer27 merged 3 commits intomainfrom
admin-search
Apr 5, 2026
Merged

fixed searching for admin page#413
gpalmer27 merged 3 commits intomainfrom
admin-search

Conversation

@gpalmer27
Copy link
Copy Markdown
Collaborator

Description

made it so that if you search for a review, it also shows the corresponding role + company in the results and vice versa

Motivation and Context

Closes #[ticket]

How has this been tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Database migration
    • Ran pnpm db:generate and verified generated SQL migration files in packages/db/drizzle

Checklist:

  • My code follows the code style of this project.
  • I have moved the ticket to "In Review"
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 2, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cooper Ready Ready Preview, Comment Apr 5, 2026 0:40am
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
cooper-auth Skipped Skipped Apr 5, 2026 0:40am
cooper-docs Skipped Skipped Apr 5, 2026 0:40am

Request Review

Copy link
Copy Markdown
Collaborator

@songmichael11 songmichael11 left a comment

Choose a reason for hiding this comment

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

Not sure if filtering works when searching now. But otherwise great lgtm besides that

);
})
.slice(0, 50);
const hasSearch = searchQuery.trim().length > 0;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Not sure if this is intended, but seems like this means that if I search for "sandbox" and try and filter for only Roles by clicking on the Roles tab, this doesn't apply this filter.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

oops just fixed

Copy link
Copy Markdown
Collaborator

@songmichael11 songmichael11 left a comment

Choose a reason for hiding this comment

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

lgtmm

@gpalmer27 gpalmer27 merged commit fd99015 into main Apr 5, 2026
10 checks passed
@gpalmer27 gpalmer27 deleted the admin-search branch April 5, 2026 16:01
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