Inbox: All channel first and default

The combined stream leads the channel pills (All / Email / Sheet Forms)
and is the channel the inbox opens on.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
pull/54/head
Talha Ahmed 2026-09-02 17:52:03 +05:00
parent ec8a4af52d
commit 2bfdbdee93
1 changed files with 3 additions and 3 deletions

View File

@ -59,11 +59,11 @@ function storeSyncRunId(id) {
}
}
/** Inbox channel: Outlook email queue, imported Google Form rows, or both. */
/** Inbox channel: both sources combined (default), Outlook email, or Google Form rows. */
const CHANNELS = [
{ key: 'all', label: 'All', icon: 'inbox' },
{ key: 'email', label: 'Email', icon: 'mail' },
{ key: 'forms', label: 'Sheet Forms', icon: 'layers' },
{ key: 'all', label: 'All', icon: 'inbox' },
]
const DEFAULT_FORM_SHEET = 'Form Responses - Candidate Database Sheet 2026'
@ -729,7 +729,7 @@ export default function Inbox() {
const { data: recruiters = [] } = useQuery(seedQuery('recruiters'))
const updateInbox = useSeedMutation('inbox')
const [channel, setChannel] = useState('email')
const [channel, setChannel] = useState('all')
const [formSheet, setFormSheet] = useState(DEFAULT_FORM_SHEET)
const [tab, setTab] = useState('All Applications')
const [skip, setSkip] = useState(0)