-
Notifications
You must be signed in to change notification settings - Fork 0
[CLEAN] Synthetic Benchmark PR #5904 - CRM: enable team search by identifier via team:{UUID}
#83
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?
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: Clean (correct implementation)
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 search input parsing
Refactor query building with proper parentheses formatting
Expand test coverage with dedicated test cases
Diagram Walkthrough
flowchart LR A["Search Input"] --> B["UUID Detection"] B --> C{UUID Valid?} C -->|Yes| D["Search by Identifier"] C -->|No| E["Search by Name/Email"] D --> F["Team Results"] E --> FFile Walkthrough
team.ex
Add UUID search and fix query syntaxextra/lib/plausible/customer_support/resource/team.ex
t.identifierfieldfromexpressionssearch.ex
Detect and flag UUID in search inputextra/lib/plausible_web/live/customer_support/components/search.ex
Ecto.UUID.cast()on search inputuuid_provided?flag in options when valid UUID is detectedlayout.ex
Update team search help documentationextra/lib/plausible_web/live/customer_support/components/layout.ex
capability
customer_support_test.exs
Expand and reorganize team search teststest/plausible_web/live/customer_support_test.exs