Repository navigation
Entry Quotes
English · 한국어
The client stores a reference to one earlier entry per entry. Quoting attaches a card in the composer without discarding current text/photos. An entry may contain only a quote. Finish or cancel an existing edit first. Quoting from search clears filters and returns to the journal composer. Removing a quote does not modify its source.
Saving a new entry clears the composer text and quote. Stored draft cleanup finishes before the saved entry appears in the feed; a cleanup failure is reported separately from a failed entry save. A delayed draft restore cannot repopulate text after the composer has been edited or reset. Failed entry saves preserve the text and quote for retry.
Quote and edit buttons remain disabled while an entry save is finishing, including local bookkeeping after the entry appears in the feed. Once saving finishes, the buttons become available together with the composer. Removing the only quote from an otherwise empty edit disables saving until text, a photo, or a quote is added.
Quoting or starting an edit moves directly to the composer without animated scrolling, so its controls stay in place for the next action.
Text-only previews show up to four lines; with a photo they show up to two lines and a photo preview up to 120px high. Multi-photo entries show the first photo and an additional-photo count. This truncates display only, without modifying source text or copying photos.
Open the source for its complete content. Nested quotes do not recursively expand cards; navigate through detail views and back. Closing an enlarged photo keeps the source detail open.
The quote is a live reference, not a frozen copy. Editing the source updates its card. Deleting it preserves the quoting entry and displays a deletion notice. If this device has no deletion history, an absent source is shown as not yet received; after restore the backup may not establish whether it was previously deleted. Search targets the quoting entry's own text and does not duplicate source text.
- Store
JournalEntry.quotedEntryIdinside the encrypted entry. Do not add a plaintext relationship to the API envelope. - Quote-only drafts use existing encrypted on-device draft storage; draft sync/backup exclusions remain unchanged.
- Preserve the relationship through local save/read, each photo sync format, snapshots, conflict copies, and backup restore.
- Reject self-reference and locally detectable cycles. References to not-yet-received sources are allowed.
- The field is optional on older records; no DB, AAD, crypto, backup, or API version change is needed.
- In this client's save API, omitting the field preserves the quote; explicitly passing
undefinedremoves it. - Older clients may omit the relationship on remote edit; update devices together when editing quoted entries.
Frozen source copies, multiple simultaneous quotes, source search in the composer, and reverse-reference lists are outside the implemented scope.
- Client development · 클라이언트 개발
- Self-hosting · 자체 호스팅
- PWA, offline use, and updates · PWA·오프라인·업데이트
- Client performance · 클라이언트 성능
- Architecture · 아키텍처
- Cryptographic format · 암호화 형식
- Image processing · 사진 처리
- Security model · 보안 경계
- Product principles · 제품 원칙
- Dependency licenses · 의존성 라이선스
- Account and sync · 계정과 동기화
- Backup and recovery · 백업과 복구
- Entry quotes · 기록 인용
- Profile document · 프로필 문서