Compare commits

...

6 Commits

Author SHA1 Message Date
ddshi
d0b541473e feat: 集成浏览器通知提醒功能
子模块更新:
- client: feat: 实现浏览器通知提醒功能
- server: fix: 修复跨域凭证配置

项目变更:
- 添加 CLAUDE.md 项目说明文档
- 添加设置页面截图
- 添加应用图标

功能特性:
- Service Worker 后台定时检查提醒(30秒间隔)
- 浏览器通知 API 集成
- 提醒同步机制(创建/更新提醒时自动同步到 SW)
- 10分钟宽限期处理后台运行不稳定情况

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-11 14:46:29 +08:00
ddshi
d6373a2664 chore: 更新子模块(添加网站图标和浏览器标题)
- client: feat 添加网站图标和浏览器标题

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-11 11:22:21 +08:00
ddshi
1de919cba6 chore: 更新子模块(回退主标题样式) 2026-02-11 11:07:02 +08:00
ddshi
e27ec0726e chore: 更新子模块(优化主标题书法风格)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-11 11:05:00 +08:00
ddshi
0939d375c6 chore: 更新子模块(简化 landing page 优化)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-10 17:22:36 +08:00
ddshi
a1ed1a9d17 chore: 更新子模块(优化 landing page)
- client: feat 优化 landing page 字体样式和功能介绍

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-10 17:15:30 +08:00
10 changed files with 57 additions and 3 deletions

View File

@ -97,7 +97,8 @@
"Bash(git -C \"E:/qia\" commit -m \"chore: 更新子模块\")", "Bash(git -C \"E:/qia\" commit -m \"chore: 更新子模块\")",
"Bash(git -C \"E:/qia\" status)", "Bash(git -C \"E:/qia\" status)",
"Bash(git -C E:/qia/client diff --stat)", "Bash(git -C E:/qia/client diff --stat)",
"Bash(git -C E:/qia/server diff --stat)" "Bash(git -C E:/qia/server diff --stat)",
"Bash(set PORT=3001)"
] ]
} }
} }

53
CLAUDE.md Normal file
View File

@ -0,0 +1,53 @@
# CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
## Project Overview
"掐日子" (Qia Rizi) - AI 纪念日·提醒 - A Chinese calendar reminder app with anniversaries, reminders, and notes.
## Project Structure
```
qia/
├── client/ # Frontend (React 19 + TypeScript + Vite)
├── server/ # Backend (Node.js + Express + Prisma)
├── docs/ # Documentation
└── ui/ # Design assets
```
## Commands
### Frontend (client/)
```bash
cd client
pnpm install
pnpm dev # Start dev server (http://localhost:5173)
pnpm build # Production build
pnpm lint # Run ESLint
```
### Backend (server/)
```bash
cd server
npm install
npm run dev # Start dev server (http://localhost:3000)
```
## Backend API Endpoints
| Endpoint | Method | Description |
|----------|--------|-------------|
| `/api/auth/register` | POST | User registration |
| `/api/auth/login` | POST | User login |
| `/api/auth/logout` | POST | Logout |
| `/api/auth/me` | GET | Get current user |
| `/api/auth/refresh` | POST | Refresh token |
| `/api/events` | GET/POST | Events CRUD |
| `/api/events/:id` | PUT/DELETE | Event operations |
| `/api/notes` | GET/PUT | Notes operations |
| `/api/ai/parse` | POST | AI event parsing |
## Frontend Architecture
See `client/CLAUDE.md` for detailed frontend guidance.

2
client

@ -1 +1 @@
Subproject commit 6fd1acc9993ff3a1088d3d80c0127ccdb6bacb44 Subproject commit 2feb02becf6a83bc5b82150747951d9f8a6aa22a

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

2
server

@ -1 +1 @@
Subproject commit e44183e3e01d5cfc3629aa0495dfc6bc5cd052a5 Subproject commit 875f902ac318961469ea2eb286c2b35afa18932b

BIN
settings-page.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

BIN
掐日子@3x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB