As a complementary update to the previous project feature, please implement an 'In-Chat Search' (Cari di obrolan) tool within the three-dots menu, allowing users to type keywords and press Enter or navigation arrows to instantly snap and jump to specific

AI IN-CHAT SEARCH FEATURE PROPOSAL DOCUMENT1. Feature SummaryThis feature introduces an “In-Chat Search” functionality within the quick actions menu (three-dots menu). It allows users to quickly look up past messages, keywords, or specific conversation logs within a single chat session, utilizing navigation arrows to jump directly to the target message.2. User Interface & User Experience (UI/UX) FlowTrigger Mechanism: The user taps the Three-Dots Icon (…) at the top right of the screen.Menu Option: A dropdown menu appears with a new button labeled for search.Dynamic Language Localization: The text on this search button will dynamically change based on the user’s country and device language settings (e.g., it will display “Cari di obrolan” for Indonesian users, “Search in chat” for English users, etc.).Search Bar Activation: Upon tapping the button, a dedicated Search Bar expands at the top of the chat screen.Navigation & Enter Action: Next to the search query text input, there are Up/Down Navigation Arrows and an Enter/Search action button.3. Functional Architecture (How it Works)The core search mechanism follows an indexed string-matching logic designed for seamless historical navigation:UI ComponentInput TypeDescription / System BehaviorSearch Input FieldText StringUser inputs the target keyword (e.g., searching for the word “y” or a specific phrase).Enter / Search ButtonAction TriggerInitiates the query and instantly scans the active chat database for historical matches.Up / Down ArrowsIndex NavigationAutomatically jumps or snaps the screen directly to the exact message container matching the query.4. Example Use Case ScenarioHistorical Logs:AI: “y” (Message Index 1)User: “b” (Message Index 2)User: "Wait, what did the AI say earlier?"Action: User opens the localized search tool, types “y” in the search input field, and presses Enter.Result: The chat interface automatically scrolls up and highlights “y” (the very first chat match) instantly without requiring manual scrolling.5. Core BenefitsGlobal Accessibility: Dynamic translation ensures a user-friendly experience across different regions and languages.Instant Context Retrieval: Users can verify past facts, parameters, or rules agreed upon earlier in long prompts.Seamless Navigation: Eliminates manual scrolling fatigue in massive chat logs containing technical data or coding scripts.