Littlebay Templates Documentation
  • Welcome!
  • Quick Links & Tips
    • Littlebay Forum
    • Support Email
    • Built-In Documentation
    • Navigating the Bubble Editor
    • Navigating this Documentation
    • List of Bubble Guides
  • Messaging Template
    • Release Notes
      • 05/28/21 Guide on How to Update the Template's Select Conversation Workflow
      • 09/05/20 Guide on How to Update the Template's Video Chat Service
      • 06/14/19 Guide on New Conversation Functionality
    • About this Template
    • Setup Guide
    • Development Guides
      • Built-In Workflow Notes
      • Pages Summary
      • Reusable Elements Summary
      • Passwords
      • Translating Your App
      • Mini Guides
        • How to Remove Group Conversation Functionality
        • How to show the Chat window after clicking "Message" on the Profile Page when a Conversation Exists
      • Pages & Reusable Elements (Organized by Folder)
        • 1. Marketing
          • index
          • landing
          • 404
        • 2. Navigation
        • 3. Logged In
          • account
          • admin
          • change_pass
          • confirm
          • messages
            • Pageload Design
              • 1. Responsive
              • 2. Mobile Pageload
              • 3. New User
              • 4. New Conversation (Parameter)
              • 5. New Conversation w/ User (Parameter)
              • 6. View Conversation (Parameter)
              • 7. Viewing/Editing the Colors of the Message 'Bubbles'
            • Built-In Functionality
              • 1. Start a Conversation
              • 2. View/Select a Conversation
              • 3. Search for a Conversation
              • 4. Delete or Leave a Conversation
              • 5. View More Messages in a Conversation
              • 6. View Unread Messages
              • 7. See Who's Typing
              • 8. See Who's Seen Each Message
              • 9. Send Images in a Message
              • 10. Send Files in a Message
              • 11. Send a GIPHY in a Message
              • 12. Send a YouTube Video in a Message
              • 13. Start a Video Chat
          • onboard
          • profile
            • 1. Follow/Unfollow the User
            • 2. Send a Message to the User
            • 3. View the User's Followers
            • 4. View Who the User is Following
            • 5. Edit Profile
          • reset_pw
        • 4. Legal
          • privacy_policy
          • terms
    • Design Resources
      • Design Overview
      • Design Guide
      • UI Components
      • Page Templates
  • Responsive Base Template
    • Release Notes
    • About this Template
    • Setup Guide
    • Development Guides
      • Built-In Workflow Notes
      • Pages Summary
      • Reusable Elements Summary
      • Passwords
      • Translating Your App
      • Pages & Reusable Elements (Organized by Folder)
        • 1. Marketing
          • index
          • landing
          • 404
        • 2. Navigation
        • 3. Logged In
          • account
          • admin
          • change_pass
          • confirm
          • onboard
          • profile
            • 1. Follow/Unfollow the User
            • 2. View the User's Followers
            • 3. View Who the User is Following
            • 4. Edit Profile
          • reset_pw
        • 4. Legal
          • privacy_policy
          • terms
    • Design Resources
      • Design Overview
      • Design Guide
      • UI Components
      • Page Templates
Powered by GitBook
On this page
  1. Messaging Template
  2. Development Guides
  3. Pages & Reusable Elements (Organized by Folder)
  4. 3. Logged In
  5. messages
  6. Built-In Functionality

3. Search for a Conversation

Previous2. View/Select a ConversationNext4. Delete or Leave a Conversation

Last updated 6 years ago

Users can search for a Conversation by entering a friend's first name, last name, or full name into either the Input Search Conversation (Desktop) element or Input Search Conversations (inside Floating Group - View Conversations) element.

When either of those inputs are not empty, the Repeating Group Conversations (Desktop) or Repeating Group Conversations (Mobile) elements will only display the Conversations whose "participating Users" field (type: User, list: yes) contains Users with the searched for name. This is accomplished by using the conditional statements (below) which change the data source of the repeating groups when either of the inputs are not empty:

Desktop

Mobile

Bubble's search functionality is case-sensitive in this scenario, which we don't want here. For example, if a User types "lauren" into either of the search inputs, Bubble would only return Users with the name of "lauren" not "Lauren". The workaround used in the template uses two hidden inputs:

1. Input Lowercase (Input Search Conversation (Desktop)

2. Input Lowercase (Input Search Conversation (Mobile)

These hidden inputs' initial contents are the Input Search (Desktop) and Input Search Conversations (inside Floating Group - View Conversations)elements' values, set to :lowercase. This way, the advanced constraints in the Repeating Group Conversations elements take the lowercase values of the Users' names and compares them with the lowercase value of what the Current User typed into the Search inputs. This returns all Users with the matching names regardless of whether the input value is capitalized or not:

Desktop

Mobile