Key Benefit: Provide powerful search and discovery capabilities that help users find relevant communities, content, and connections through intuitive interfaces and smart categorization.

Feature Overview

The Content Discovery & Search UIKit provides comprehensive components for building robust search and exploration experiences. From global search functionality to category-based browsing and notification management, these components enable users to discover and connect with the content and communities that matter to them.

Global Search

Universal Discovery
  • Cross-platform search functionality
  • Real-time search suggestions
  • Multi-content type results
  • Search history and suggestions

Community Discovery

Organized Exploration
  • Category-based browsing
  • Community recommendations
  • Search result filtering
  • My communities management

Advanced Search

Targeted Results
  • Community and user search
  • Search result customization
  • Filter and sort options
  • Result relevance ranking

Notifications

Stay Connected
  • Notification tray management
  • Real-time updates
  • Notification categorization
  • User engagement tracking

Implementation Guide

Comprehensive search across communities and usersThe Global Search Page offers robust and intuitive search functionality, allowing users to search for and discover communities and users that match their interests and needs.

Features

FeatureDescription
Top Search BarType search keyword and it will search across list of all communities and users
Community search resultDisplays filtered communities, and clicks to open Community Profile Page
User search resultDisplays filtered users, and clicks to open User Profile Page

Customization Options

Config IDTypeDescription
social_global_search_page/*/*PageYou can customize page theme

Code Examples

let socialGlobalSearchPage = AmitySocialGlobalSearchPage()
let viewController = AmitySwiftUIHostingController(rootView: socialGlobalSearchPage)
class CustomAmitySocialGlobalSearchPageBehavior: AmitySocialGlobalSearchPageBehavior {
    override init() {
        super.init()
    }
}

// Call this function to setup custom behaviour class in UIKit
func setSocialGlobalSearchPageBehaviour() {
    let customBehavior = CustomAmitySocialGlobalSearchPageBehavior()
    AmityUIKit4Manager.behaviour.socialGlobalSearchPageBehavior = customBehavior
}

Component Management Strategies

Implementation Strategy

Best Practices

Implementation Strategy: Begin with AmityGlobalSearchPage for comprehensive search functionality, then add specialized components like AmityTopSearchBar and category browsing based on your users’ discovery patterns and engagement metrics.