# XWUIProjectMyDayPage

A personal "My Day" agenda page (extends `XWUIShellPage`) that loads the tasks due on a given date via `api.listTasksDueOn(dateIso)` and renders them in an `XWUIDataGrid` (Task name, Plan, Due, Priority, Status). The header title auto-formats the active date as `DAY DD MON`, `dateIso` defaults to today when omitted, and a day with nothing scheduled shows an empty-state with an "Add new task" button that calls `api.createTask(...)`.

## Basic Usage

Mounts the My Day agenda against `#app` with a mock `IProjectWorkApi` and a fixed `dateIso`.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Personal My Day agenda for a fixed date, backed by the mock project-work API.
```

## Populated Day

Targets a date that has tasks due, so the page renders the full agenda data grid instead of the empty-state.

```example
file: examples/PopulatedDay.ts
html: examples/PopulatedDay.html
title: Populated Day
description: dateIso "2026-02-17" matches two due tasks, so the Task/Plan/Due/Priority/Status grid renders.
```

## Today by Default

Omits `dateIso` so the page resolves to the current date, auto-formats the header, and (on an empty day) shows the create-first-task call to action.

```example
file: examples/TodayByDefault.ts
html: examples/TodayByDefault.html
title: Today by Default
description: No dateIso provided - the page opens on today with an auto-formatted header and the empty-state CTA.
```

```api
```
