From 01fecdc93ee29a4c66e611ad2ece76a42868a64d Mon Sep 17 00:00:00 2001 From: riyadhafraa <49757212-riyadhafraa@users.noreply.replit.com> Date: Tue, 21 Apr 2026 17:38:36 +0000 Subject: [PATCH] Remove home greeting and date block (Task #60) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Per user request, the home page no longer shows the time-of-day greeting ("مساء الخير، {name}") nor the day-name + Gregorian date subtitle. The apps grid (and the admin stats row when applicable) now sits directly under the top bar. Changes (artifacts/teaboy-os/src/pages/home.tsx): - Removed the entire greeting block (the wrapper div, the
) from the Main Content section. - Removed the now-unused `dayName`, `gregorianDate` and `greeting` locals plus the `formatWeekday` and `greetingKey` imports. - Kept `displayName` (still used in the avatar header) and the `home.greeting.*` translation keys (left in place; cheap to keep and avoids touching unrelated locale files). Mid-task fix: - First pass also dropped `displayName` which broke the avatar (`displayName is not defined`). Restored it; `displayName` is needed by the user-card initials and name labels. Validation: - `pnpm --filter @workspace/api-server test` — 18/18 pass - `pnpm --filter @workspace/teaboy-os test:e2e` — 3/3 pass Notes: - Pre-existing TypeScript errors in admin.tsx / clock-style-picker.tsx / clock.tsx are unrelated to this task (codegen drift from earlier tasks).