Back to Blocks

Claude Terminal

Loading...

Task Details
PXL-863Done
Urgent

šŸ  Simplify home view bottom actions

b2-heraui/ux

The home view currently has multiple buttons at the bottom that clutter the interface. This streamlines the bottom area to show just one clear action - creating a new meal.


Comments (1)
Ahmed Khalaf
Ahmed KhalafJan 11, 2026, 4:06 AM

Implementation Complete

Changes made to DayViewController.swift

Modified ActionButtonsTableViewCell class:

  1. ā—Removed logFoodAction callback - No longer needed
  2. ā—Removed logFoodButton - The "Log Food" text button removed
  3. ā—Changed newMealButton - Now displays a plus icon instead of "New Meal" text, with circular/capsule glass style (52x52 size)
  4. ā—Added dividerView - Subtle horizontal separator line (0.5pt, .separator color at 50% opacity) above the button
  5. ā—Changed stack layout - From horizontal (side-by-side buttons) to vertical (divider on top, centered button below)

Also removed cell.logFoodAction assignments in two places where the cell is configured.

Visual change:

BEFORE:
ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”  ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”
│    Log Food      │  │    New Meal      │
ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜  ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜

AFTER:
──────────────────────────────────────────  ← Divider
                  ā”Œā”€ā”€ā”€ā”
                  │ + │
                  ā””ā”€ā”€ā”€ā”˜
Created Jan 6, 2026, 12:24 PM | Updated Jan 12, 2026, 1:52 PM