What is Unified Input?
Unified Input is Peanuts’ immersive home screen experience. Instead of separate buttons for logging, asking questions, and creating Helpers, everything happens through a single intelligent input bar that understands your intent.The Unified Input replaces the old “Log Anything button” and “Ask Peanuts navigation item” with a fluid, context-aware interface.
The Immersive Hero
When you open Peanuts, you see the Immersive Hero — a full-viewport home screen with:- Greeting — Personalized message based on time of day
- Helper chips — Quick access to your frequently used Helpers
- Unified Input Bar — The single entry point for everything
- Create button — Sparkles icon (✨) to create new Helpers
How It Works
See the Context Cloud
As you type, a “Context Cloud” appears above the input, showing which Helper matches your entry and which fields will be filled.
Confirm or adjust
If the match is correct, press Enter. If not, tap a different Helper chip or use clarification pills.
Context Cloud
The Context Cloud is a glassmorphic feedback bubble that appears as you type, showing:Matched Helper
The Helper Peanuts thinks you’re logging to
Field Chips
Up to 7 fields that will be populated from your input
Confidence
Visual indication of match certainty
Topic Highlighting
Specific fields highlighted when topic patterns match
Clarification Pills
When your input could match multiple Helpers, Peanuts shows Clarification Pills — tappable options to disambiguate:Scoped Input
Tap any Helper chip in the header to scope the input to that specific Helper:- Input bar shows the Helper name
- Context Cloud focuses on that Helper’s fields
- Entries go directly to that Helper
- More likely to qualify for Instant Logs (0 credits)
Inline Chat Mode
The Unified Input smoothly transitions to chat mode for conversations:- Ask a question — Type something like “how much did I spend this week?”
- Input expands — The input grows into a multi-line textarea
- Chat appears — AI responses render directly below the input
- Stay in context — No page navigation required
Inline Helper Creation
Create new Helpers without leaving the home screen:
The new Helper appears in your chips without refreshing the page.
4-Tier Matching System
The Unified Input uses a sophisticated matching pipeline:| Tier | Name | Credits | How It Works |
|---|---|---|---|
| 1 | Affinity | 0 | Matches based on learned patterns from your history |
| 2 | Local | 0 | Pattern matching against Helper field definitions |
| 3 | AI | 1 | OpenAI analysis for complex/ambiguous inputs |
| 4 | Fallback | 0 | Goes to Shoebox if no match |
Tiers 1 and 2 (Affinity and Local) process instantly with zero credits. Only ambiguous inputs require AI credits.
Affinity Learning
Peanuts learns your patterns over time:- Vocabulary — Associates words with specific Helpers
- Time patterns — “coffee” in the morning → Expenses
- Frequency — Commonly logged items match faster
- Corrections — Your disambiguation choices improve future matching
Visual Design
The Unified Input follows a distinct aesthetic:- Immersive viewport — Full-height design with breathing room
- Glassmorphic elements — Frosted, semi-transparent surfaces
- Smooth transitions — Input morphs fluidly between modes
- Reduced UI noise — Only 4 core actions visible (Helpers, Settings, Reminders, Create)
- Dynamic dimming — Background elements fade to 5% opacity during active input
Input Modes
| Mode | Trigger | Behavior |
|---|---|---|
| Logging | Start typing an entry | Context Cloud appears, field matching shown |
| Chatting | Type a question or select chat | Multi-line textarea, AI responses inline |
| Creating | Tap ✨ or describe new Helper | Creation flow with preview |
| Scoped | Tap a Helper chip | Input locked to that Helper |
Help Detection
Type help-related phrases and Peanuts shows an interactive HelpMenuCard:Keyboard Behavior
The input bar stays visible above the mobile keyboard:- Position — Docked at bottom with keyboard offset calculation
- Context Cloud — Floats above the input, always visible
- Tips rotation — When input is empty, practical examples rotate
- Safe areas — Proper padding for notched devices
Tips When Input is Empty
When you haven’t typed anything,FocusedModeTips shows rotating examples:
- “Try: coffee $4.50”
- “Try: ran 5km this morning”
- “Try: how much did I spend this week?”
