Habit journal: habits inside the game, one pixel design system #20

Merged
alex merged 2 commits from feat/pixel-journal into main 2026-11-01 08:29:50 +01:00
Owner

Stacked on #19.

What changes

  • The island is home. / is the game. Sign in and sign up are their own top-level routes.
  • Habit journal. The habit screens open over the game as a drawer from the hotbar's Journal slot: today's habits, a new habit, a habit's page, vacations and settings. The app nests the habits and account routes under the game's (apiaryRoutes(menus)), since features do not import each other. One menu is open at a time: a game menu closes the journal and the other way round.
  • One pixel design system. hab-button, the text, number and date fields, hab-segment, hab-chip, hab-chip-select, hab-badge, hab-stat, hab-list, hab-list-item and hab-section are drawn in the jade pixel skin and no longer wrap Ionic. Fields are native inputs. Unused hab-meter, hab-message and hab-inline-form are removed.
  • Habit rows show today in their slot: a box to tick, a drop to fill, a shield to hold; ticked, or crossed after a slip.
  • Sign in and sign up are a block-game title screen: dirt ground, the name in honey, one jade panel. Account is a drawer over the game.
  • Drawers slide in when they first render open, so routed ones animate too.

Checked

  • lint, typecheck and tests for web, platform-frontend-ui, web-habits-ui, web-apiary-ui, web-identity-ui and web-identity-infrastructure.
  • In the browser: creating amount, check and avoid habits, +1, Done, Undo, the habit page, settings, account, sign in and sign up, the journal closing when Quests opens, and a phone-width layout.

🤖 Generated with Claude Code

Stacked on #19. ## What changes - **The island is home.** `/` is the game. Sign in and sign up are their own top-level routes. - **Habit journal.** The habit screens open over the game as a drawer from the hotbar's Journal slot: today's habits, a new habit, a habit's page, vacations and settings. The app nests the habits and account routes under the game's (`apiaryRoutes(menus)`), since features do not import each other. One menu is open at a time: a game menu closes the journal and the other way round. - **One pixel design system.** `hab-button`, the text, number and date fields, `hab-segment`, `hab-chip`, `hab-chip-select`, `hab-badge`, `hab-stat`, `hab-list`, `hab-list-item` and `hab-section` are drawn in the jade pixel skin and no longer wrap Ionic. Fields are native inputs. Unused `hab-meter`, `hab-message` and `hab-inline-form` are removed. - **Habit rows** show today in their slot: a box to tick, a drop to fill, a shield to hold; ticked, or crossed after a slip. - **Sign in and sign up** are a block-game title screen: dirt ground, the name in honey, one jade panel. **Account** is a drawer over the game. - Drawers slide in when they first render open, so routed ones animate too. ## Checked - lint, typecheck and tests for web, platform-frontend-ui, web-habits-ui, web-apiary-ui, web-identity-ui and web-identity-infrastructure. - In the browser: creating amount, check and avoid habits, +1, Done, Undo, the habit page, settings, account, sign in and sign up, the journal closing when Quests opens, and a phone-width layout. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The island is home now. The habit screens open over it as the habit journal, a drawer from the
hotbar like the game's own menus: today's habits, a new habit, a habit's page and vacations. The
app nests the habits and account routes under the game's, since features do not import each other,
and the game page keeps one menu open at a time.

The design system's controls are drawn in the pixel skin and no longer wrap Ionic: buttons in
honey, jade and berry, native fields sunk into the panel, segments and chips as blocks, rows as
wells. Sign-in and sign-up are a block-game title screen on the dirt ground. Unused atoms (meter,
message, inline form) are gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Identity's empty-path parent matched the root with no child, so / rendered nothing. Signing in and
up are now top-level routes. The /apiary redirect is gone: nothing links to it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
alex changed target branch from feat/quests to main 2026-11-01 08:29:44 +01:00
alex merged commit 1908772df9 into main 2026-11-01 08:29:50 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Habitea/App!20
No description provided.