Description
# Using the Global Search Feature
## Overview
The Global Search is your command center for navigating the Social Home dashboard. Located in the header of every admin page, this powerful search bar lets you instantly find any entity in your system—from properties and tenants to maintenance requests, messages, emails, compliance items, and more.
**Key Benefits:**
- ⚡ **Instant Results**: Real-time search with results appearing as you type
- 🎯 **Comprehensive Coverage**: Searches across 10 different entity types
- ⌨️ **Keyboard Shortcuts**: Quick access with ⌘K (Mac) or Ctrl+K (Windows/Linux)
- 📱 **Smart Organization**: Results grouped by category for easy scanning
- ♿ **Fully Accessible**: Complete keyboard navigation and screen reader support
## Getting Started
### Accessing the Search Bar
The search bar is always visible in the header of your dashboard (desktop only):
1. **Click the search field** in the top center of your screen
2. **Or use the keyboard shortcut**: Press `⌘K` (Mac) or `Ctrl+K` (Windows/Linux)
3. The search input will focus and you can start typing immediately
### Basic Search
1. **Type your search query** (minimum 2 characters)
2. **Results appear automatically** as you type
3. **Browse grouped results** organized by category
4. **Click any result** to navigate directly to that item
5. **Press Escape** or click outside to close the dropdown
### Search Capabilities
The search bar searches across these entity types:
#### 🏠 **Properties**
- **Search by**: Property name, address, postcode
- **Results show**: Property name, address, status
- **Navigates to**: Property detail page
#### 👥 **Tenants**
- **Search by**: Tenant name, email address, phone number
- **Results show**: Tenant name, contact info, rent status
- **Navigates to**: Tenant profile page
#### 🔧 **Maintenance Requests**
- **Search by**: Work order title, description
- **Results show**: Title, priority, status, category
- **Navigates to**: Maintenance request details
#### 💬 **Messages/Conversations**
- **Search by**: Conversation title, message content
- **Results show**: Conversation title, last message preview
- **Navigates to**: Conversation thread
#### 📧 **Emails**
- **Search by**: Email subject, sender, recipient
- **Results show**: Subject line, sender/recipient info
- **Navigates to**: Email details
#### 📞 **Calls**
- **Search by**: Caller name, recipient, call notes
- **Results show**: Call direction, participants, date
- **Navigates to**: Call log details
#### 🛡️ **Compliance Items**
- **Search by**: Certificate type, notes
- **Results show**: Compliance type, status, due date
- **Navigates to**: Compliance certificate page
#### 📄 **Documents**
- **Search by**: Filename, document description
- **Results show**: Filename, document type
- **Navigates to**: Document viewer
#### 📊 **Financial Reports**
- **Search by**: Report type
- **Results show**: Report type, date range
- **Navigates to**: Report viewer
#### ✅ **Tasks**
- **Search by**: Task title, description
- **Results show**: Task title, priority, status
- **Navigates to**: Task details
## Keyboard Navigation
### Quick Access Shortcuts
| Shortcut | Action |
|----------|--------|
| `⌘K` or `Ctrl+K` | Focus search bar from anywhere |
| `↑` Arrow Up | Navigate to previous result |
| `↓` Arrow Down | Navigate to next result |
| `Enter` | Open the selected result |
| `Escape` | Close the dropdown |
### Navigation Flow
1. **Press** `⌘K` **to focus** the search field
2. **Type your query** (e.g., "John Smith" or "123 High Street")
3. **Use arrow keys** to highlight different results
4. **Press Enter** to open the highlighted result
5. **Or press Escape** to close and continue working
### Power User Tips
- **Start typing immediately** after pressing ⌘K—no need to click
- **Use arrow keys** instead of mouse for faster navigation
- **Results are grouped**—use Down arrow to skip between categories
- **First result is auto-selected**—just press Enter if it's correct
- **Clear search with X button** or start typing a new query
## Understanding Search Results
### Result Display Format
Each search result shows:
1. **Icon & Color**: Visual indicator of entity type
- 🏠 Blue: Properties
- 👥 Purple: Tenants
- 🔧 Orange: Maintenance
- 💬 Green: Messages
- 📧 Indigo: Emails
- 📞 Teal: Calls
- 🛡️ Red: Compliance
- 📄 Gray: Documents
- 📊 Cyan: Reports
- ✅ Pink: Tasks
2. **Title**: Primary identifier (property name, tenant name, etc.)
3. **Subtitle**: Additional context (address, email, description)
4. **Status Badges**: Quick status indicators
- Rent status (current/arrears)
- Priority (low/medium/high/urgent)
- Completion status
- Compliance status
5. **Category Header**: Shows how many results in each category
- Example: "Properties (3)" or "Tenants (5)"
### Results Limit
- **Maximum 5 results per category** displayed
- **50 total results maximum** across all categories
- Most relevant results shown first
- Exact matches prioritized over partial matches
### No Results Found
If no results are found:
- Check your spelling
- Try broader search terms
- Search with fewer words
- Try searching by ID, name, or address instead of full details
## Advanced Search Techniques
### Search Best Practices
#### **Be Specific**
- ❌ Don't: "property"
- ✅ Do: "123 High Street" or "Flat A"
#### **Use Identifying Information**
- Properties: Address or postcode
- Tenants: Name, email, or phone number
- Maintenance: Work order title or property address
- Documents: Filename or description keywords
#### **Partial Matching**
- Search works with partial text
- "High Street" finds "123 High Street, London"
- "john@" finds "john@example.com"
- "plumb" finds "Plumbing Emergency" and "Plumber Visit"
### Common Search Scenarios
#### **Finding a Tenant**
```
Search: "john" or "john@email.com" or "+44 7700"
Results: All tenants matching name, email, or phone
```
#### **Finding a Property**
```
Search: "SW1A" or "123 High" or "Oak House"
Results: Properties matching postcode, address, or name
```
#### **Finding Maintenance Issues**
```
Search: "boiler" or "leak" or "urgent repair"
Results: Maintenance requests with matching titles/descriptions
```
#### **Finding a Conversation**
```
Search: tenant name or message content
Results: Conversations containing that information
```
#### **Finding Documents**
```
Search: "lease" or "certificate" or filename
Results: Documents matching filename or description
```
## Accessibility Features
### Screen Reader Support
The global search is fully accessible to screen readers with:
- **ARIA Labels**: All interactive elements properly labeled
- **Role Attributes**: Combobox and listbox roles for proper semantics
- **Live Regions**: Result updates announced to screen readers
- **Keyboard Focus**: Clear focus indicators and tab order
### Keyboard-Only Navigation
Complete functionality without a mouse:
1. **Tab** to reach search bar (or use ⌘K shortcut)
2. **Type** your query
3. **Arrow keys** to navigate results
4. **Enter** to select
5. **Escape** to close
### High Contrast Mode
All visual elements support high contrast mode:
- Clear focus indicators
- Sufficient color contrast (WCAG AA compliant)
- Pattern-based status indicators (not color-only)
## Performance & Speed
### Real-Time Results
- **300ms debounce**: Search waits 300ms after you stop typing before querying
- **Cancels previous requests**: Only the latest query runs
- **Parallel execution**: All searches run simultaneously for speed
- **Cached results**: Recent searches load faster (60-second cache)
### Loading States
While searching, you'll see:
- **Loading spinner** in the dropdown
- **"Searching..." message**
- Results appear within 1-2 seconds typically
## Troubleshooting
### Search Not Working
**Problem**: "I type but no results appear"
- **Check**: Are you typing at least 2 characters?
- **Solution**: Queries shorter than 2 characters don't trigger search
- **Verify**: Check your internet connection
**Problem**: "Search bar is not visible"
- **Check**: Are you on mobile or tablet?
- **Solution**: Global search is desktop-only currently
- **Alternative**: Use individual page filters on mobile
### No Results Found
**Problem**: "Search shows 'No results found'"
- **Check**: Spelling and search terms
- **Try**: Broader search queries
- **Example**: Search "John" instead of "John Smith"
- **Verify**: The item exists in your company's data
**Problem**: "I can see the item in a list but search doesn't find it"
- **Possible causes**:
- Item belongs to a different company
- Item was archived or deleted
- Database indexing delay (rare)
- **Solution**: Wait a few seconds and try again
### Dropdown Issues
**Problem**: "Dropdown won't close"
- **Solution**: Click outside the dropdown area
- **Or**: Press the Escape key
- **Or**: Click the X button to clear search
**Problem**: "Can't navigate with keyboard"
- **Check**: Is the dropdown open and visible?
- **Solution**: Ensure search input has focus
- **Try**: Click search field first, then use arrow keys
### Performance Issues
**Problem**: "Search is slow or unresponsive"
- **Check**: Number of entities in your system
- **Solution**:
- Use more specific search terms
- Check internet connection speed
- Try clearing browser cache
- **Report**: Contact support if persistent
## Privacy & Security
### Data Protection
- **Company-scoped**: You only see data from your company
- **Role-based access**: Search respects your permissions
- **Secure connection**: All searches use encrypted HTTPS
- **No logging**: Search queries are not permanently stored
### What You Can/Cannot Search
**✅ You Can Search:**
- Any data your role has permission to view
- All entities within your company
- Archived and active items
**❌ You Cannot Search:**
- Data from other companies
- Items you don't have permission to view
- Deleted or permanently removed items
## Tips for Maximum Efficiency
### Daily Usage Patterns
**Morning Check-In:**
- Press ⌘K, search "arrears" to check rent issues
- Search specific tenant names for follow-ups
- Check "urgent" maintenance requests
**Quick Navigation:**
- Use search instead of clicking through menus
- Faster than navigating sidebar → section → item
- Bookmark frequently accessed items by searching them
**Task Management:**
- Search "overdue" or "urgent" for priorities
- Find specific work orders by property address
- Locate tenant communications quickly
### Integration with Workflow
**Property Management:**
1. Search property address
2. View property details
3. Check related tenants and maintenance
4. Access compliance certificates
**Tenant Support:**
1. Search tenant name
2. View tenant profile
3. Check case file entries
4. Review communication history
**Maintenance Coordination:**
1. Search work order keywords
2. View maintenance details
3. Check property and tenant info
4. Update work order status
## Mobile App Alternative
While global search is currently desktop-only, mobile users can:
- **Use page-specific search**: Each page has its own search/filter
- **Navigate via menus**: Sidebar and bottom navigation
- **Use recent items**: Quick access to recently viewed entities
- **Filter lists**: Use filter buttons on each listing page
## Future Enhancements
### Coming Soon
- 📱 **Mobile Support**: Global search on mobile devices
- 🎯 **Saved Searches**: Save frequently used queries
- 📋 **Search History**: Access your recent searches
- 🔮 **Smart Suggestions**: Auto-complete based on your usage
- 🏷️ **Advanced Filters**: Filter results by date, status, priority
- 💡 **Search Tips**: Contextual help and examples
- 📊 **Search Analytics**: See what you search most often
### Planned Features
- **Fuzzy Matching**: Find results even with typos
- **Quick Actions**: Edit or delete directly from search results
- **Bulk Selection**: Select multiple results for batch actions
- **Export Results**: Export search results to CSV
- **Search Operators**: Use "AND", "OR" for complex queries
## Getting Help
### Support Resources
If you need assistance with global search:
**📚 Documentation**
- This guide covers all features and troubleshooting
- Check related guides for entity-specific help
**💬 In-App Support**
- Click the help icon in the header
- Use the chat widget for live support
**📧 Email Support**
- Email: support@socialhome.co.uk
- Include screenshots if reporting issues
**📞 Phone Support**
- Phone: +44 (0) 20 1234 5678
- Available Monday-Friday, 9am-5pm GMT
### Feedback & Suggestions
We're continuously improving the search feature. Please share:
- **Feature Requests**: What else should be searchable?
- **Usability Feedback**: How can we make it easier?
- **Bug Reports**: Anything not working as expected?
- **Performance Notes**: Is it fast enough for your needs?
Contact us at product@socialhome.co.uk with your feedback.
## Conclusion
The Global Search feature is designed to save you time and improve your daily workflow. By mastering the keyboard shortcuts and search techniques in this guide, you can navigate your property management dashboard with unprecedented speed and efficiency.
**Remember:** Press ⌘K anytime to start searching—it's your fastest path to any information in the system.