-
Notifications
You must be signed in to change notification settings - Fork 0
[CORRUPTED] Synthetic Benchmark PR #5904 - CRM: enable team search by identifier via team:{UUID}
#84
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
base: base_pr_5904_20251204_2948
Are you sure you want to change the base?
[CORRUPTED] Synthetic Benchmark PR #5904 - CRM: enable team search by identifier via team:{UUID}
#84
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||
User description
Benchmark PR plausible#5904
Type: Corrupted (contains bugs)
Original PR Title: CRM: enable team search by identifier via
team:{UUID}Original PR Description: ### Changes
Tests
Changelog
Documentation
Dark mode
Original PR URL: plausible#5904
PR Type
Enhancement
Description
Enable team search by UUID identifier via
team:{UUID}syntaxAdd UUID detection logic to distinguish identifier vs name searches
Refactor Ecto query syntax with explicit parentheses for clarity
Expand test coverage with separate test cases for each search scenario
Diagram Walkthrough
flowchart LR A["Search Input: team:input"] --> B{"UUID Format?"} B -->|Yes| C["Query by identifier"] B -->|No| D["Query by name/email"] C --> E["Return matching team"] D --> E E --> F["Apply filters: +sub, +sso"]File Walkthrough
team.ex
Add UUID identifier search with conditional query logicextra/lib/plausible/customer_support/resource/team.ex
identifierfield
from()parentheses for consistencyqueries
search.ex
Implement UUID detection for team search inputextra/lib/plausible_web/live/customer_support/components/search.ex
Ecto.UUID.cast()validation to detect UUID format in search inputuuid_provided?: trueoption when valid UUID is detectedString.trim()call on search inputlayout.ex
Update help documentation for team identifier searchextra/lib/plausible_web/live/customer_support/components/layout.ex
name/email
customer_support_test.exs
Expand team search tests with identifier and filter scenariostest/plausible_web/live/customer_support_test.exs
scenarios