Skip to content

Dev#153

Merged
koishi510 merged 27 commits into
mainfrom
dev
Mar 12, 2026
Merged

Dev#153
koishi510 merged 27 commits into
mainfrom
dev

Conversation

@koishi510
Copy link
Copy Markdown
Owner

Related Issue

Summary

Change Type

  • New Feature (feat)
  • Bug Fix (fix)
  • Refactoring (refactor)
  • Documentation (docs)
  • Dependency / Configuration (chore)

Self-Check Checklist

Backend (Go):

  • go build ./... passes
  • go vet ./... passes
  • gofmt produces no diff

Frontend (Vue):

  • npm run lint passes
  • npm run typecheck passes

General:

  • Removed all temporary debug output
  • No sensitive data in the code

Test Steps

  1. Pull branch and install dependencies:
    cd backend && go mod download
    cd ../frontend && npm install
  2. Start the application:
    make dev-backend    # Terminal 1
    make dev-frontend   # Terminal 2
  3. Verification steps:
    • ...

Kanye-Est and others added 27 commits March 13, 2026 01:06
- Replaced solid dark background of `.modal-overlay` with `--overlay-backdrop` and matching blur to match other modals.
- Updated `.detail-modal` to use glassmorphism variables (`--glass-bg-heavy`, `--glass-blur`, `--glass-shadow`, etc.) for consistency with the profile modal.
- Adjusted `modal-zoom` transition to target only `.detail-modal` for scaling instead of the entire overlay wrapper.
- Created a dedicated `.pearl-shell-trigger-zone` matching the exact position and size of the PearlShell component.
- Removed click handler from the entire `.photo-wall` to prevent misclicks.
- Added `position: relative` and higher `z-index` to `.photo-grid` to ensure photos remain clickable over the trigger zone.
- Used `.stop` modifier on photo click events to prevent event bubbling.
Bound mom/dad users now see each other's photos and AI memory facts.
Photos are queried by family IDs (user + partner), with a combined
limit of 50. AI chat memories load both partners' facts with source
labels ([她]/[他]/[家庭]) and new facts record OwnerUserID for
attribution. The frontend shows owner badges when multiple owners
are detected.
The memory_updated flag previously only tracked legacy profile updates.
Now it also fires when structured facts are saved or corrected, so the
frontend "记住了" toast appears reliably.
When bound partners both state the same fact (e.g. "我喜欢吃苹果"),
each should have it recorded independently. Changed dedup check from
family-scoped FactExistsByContentFamily to per-user FactExistsByContent.
@koishi510 koishi510 requested a review from 4rthurCai as a code owner March 12, 2026 17:06
@koishi510 koishi510 merged commit 1b3617f into main Mar 12, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants