Skip to content

Commit 159803b

Browse files
author
AvatarOS Developer
committed
feat(calendarai-sidebar): day tooltip (create/see); remove inline calendar; z-index+bg; close behavior
1 parent 5ad2327 commit 159803b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+8936
-1085
lines changed

.storybook/main.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/** @type { import('@storybook/react-vite').StorybookConfig } */
2+
export default {
3+
stories: [
4+
'../src/**/*.stories.@(js|jsx|ts|tsx)'
5+
],
6+
addons: [
7+
'@storybook/addon-essentials',
8+
'@storybook/addon-interactions',
9+
'@storybook/addon-a11y'
10+
],
11+
framework: {
12+
name: '@storybook/react-vite',
13+
options: {}
14+
},
15+
docs: {
16+
autodocs: 'tag'
17+
}
18+
};

.storybook/preview.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import '../src/index.css';
2+
3+
export const parameters = {
4+
actions: { argTypesRegex: '^on[A-Z].*' },
5+
controls: {
6+
matchers: {
7+
color: /(background|color)$/i,
8+
date: /Date$/,
9+
},
10+
},
11+
layout: 'centered'
12+
};
13+

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646

4747
## Recent Changes & Rationale
4848
- For a concise summary of the latest implementation updates (Markdown rendering, mock persistence, drawer UI, centered layouts, headers), see `docs/IMPLEMENTATION_NOTES.md`.
49+
- UI primitives and usage are documented in `docs/ui/components.md`; tokens are described in `docs/ui/tokens.md`.
4950

5051
## Changelog Process (All Agents)
5152
- Before committing and pushing changes:

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,29 @@
2525
2025-10-02: Fixed ArchivAI workflow validation errors by adding proper workflow structure, enabled assistant web search with OLLAMA_API_KEY fallback, fixed screen awareness content-based app detection, and implemented AI-generated template-specific mock data using Gemini with example template references.
2626

2727
2025-10-02: Implemented sanitized Markdown rendering across ArchivAI, added filesystem-backed mock persistence, centered and standardized headers, and introduced a collapsible bottom drawer for Archiva and Image Booth.
28+
2829
2025-10-02: Added reusable UI primitives (Button, FormField, Panel), standardized square icon ActionBar, refactored GlassDock with a large toolbar and modular VoiceChatPanel; integrated DockItemsRow and MinimizedDock; added Storybook stories for new components.
30+
2931
2025-10-03: UI a11y + stories/tests; Panel adoption in Archiva/VizGen; ActionBar size/roving focus; added UI docs.
32+
3033
2025-10-03: CalendarAI now uses shared BoothHeader with stacked actions, selected event summary, and status based on Google Calendar connection.
34+
3135
2025-10-03: CalendarAI UI: more rounded event cards; countdown styled to match user-actions bar with dividers and tokens.
36+
3237
2025-10-03: CalendarAI countdown now uses shared ActionBar for reusability; CSS positions container only.
38+
3339
2025-10-03: Added CalendarAI stories: Countdown as ActionBar and basic EventCard.
40+
3441
2025-10-03: CalendarAI grid gutter increased (gap = 1.5x spacing-md) for clearer separation between cards.
42+
3543
2025-10-03: Added interactive CalendarGrid with day popover (Create/See events), date filter banner, default date for new event; responsive gutters (2x on >=1200px).
44+
3645
2025-10-03: Removed in-page Calendar grid (moved to sidebar design); kept events list and header intact.
46+
47+
2025-10-03: Sidebar calendar: added day click tooltip with 'Create event' and 'See events' actions; integrates with CalendarAI via localStorage + setActiveApp.
48+
49+
2025-10-03: Sidebar day-actions tooltip: raised z-index and increased semi-solid backgrounds (dark/light) with hover; added backdrop blur.
50+
51+
2025-10-03: Sidebar tooltip now closes on outside click and Escape; added dialog role and ref containment.
52+
53+
2025-10-03: Sidebar tooltip positioned to the right of day; vertical stack; added caret arrow matching theme.

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,14 @@ npm run dev
197197
- `npm run preview` — Preview production build
198198
- `npm run generate-thumbnails` — Generate AI-powered thumbnails
199199

200+
### UI Development (Storybook)
201+
- Start Storybook: `npm run storybook` (http://localhost:6006)
202+
- UI tests: `npm run test:ui` (Vitest + `@storybook/test`, jsdom)
203+
- Stories live under `src/**/*.stories.jsx` (examples: `src/components/BoothHeader.stories.jsx`, `src/components/ui/*.stories.jsx`, `src/stories/Tokens.stories.jsx`).
204+
- Use the “Accessibility” panel to scan for WCAG issues; the “Interactions” panel can step through play functions.
205+
- Tokens: inspect color/typography via `Tokens/Overview` story.
206+
- Docs: UI tokens (`docs/ui/tokens.md`) and components (`docs/ui/components.md`).
207+
200208
## Deployment
201209

202210
### Vercel (Recommended)

0 commit comments

Comments
 (0)