Improve voice command UX and add desktop home navigation
Voice command improvements: - Auto-start listening when voice dialog opens (removes extra tap/click) - Added Activity option to unknown intent dialog - Users can now speak immediately after clicking the mic button Desktop navigation: - Added Home icon button in top bar/header for quick navigation to main page - Positioned between app title and user avatar 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -121,6 +121,11 @@ export function VoiceFloatingButton() {
|
||||
setProcessingStatus(null);
|
||||
setIdentifiedActivity('');
|
||||
setProcessedClassificationId(null);
|
||||
|
||||
// Auto-start listening after dialog opens
|
||||
setTimeout(() => {
|
||||
startListening();
|
||||
}, 300);
|
||||
};
|
||||
|
||||
const handleClose = () => {
|
||||
@@ -484,6 +489,7 @@ export function VoiceFloatingButton() {
|
||||
<MenuItem value="sleep">Sleep</MenuItem>
|
||||
<MenuItem value="diaper">Diaper Change</MenuItem>
|
||||
<MenuItem value="medicine">Medicine</MenuItem>
|
||||
<MenuItem value="activity">Activity</MenuItem>
|
||||
</Select>
|
||||
</FormControl>
|
||||
</DialogContent>
|
||||
|
||||
Reference in New Issue
Block a user