Conversation
- 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related Issue
Summary
Change Type
Self-Check Checklist
Backend (Go):
go build ./...passesgo vet ./...passesgofmtproduces no diffFrontend (Vue):
npm run lintpassesnpm run typecheckpassesGeneral:
Test Steps