mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-06 18:54:17 +00:00
feat(journey): let quick capture take a note, not just a photo
The ask was "photos or quick notes" while travelling, and the capture sheet only took photos (#1614) — so a moment worth catching without a picture had no way in short of opening the full editor, which is exactly what capture mode exists to avoid. Two rows rather than the full sheet's three: this is a note, not the story. The story is written later, when the entry is finished.
This commit is contained in:
@@ -585,6 +585,20 @@ export default function MJourneyEntrySheet({
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* Quick capture keeps a note field: the ask was "photos *or* quick notes"
|
||||
unterwegs, and a moment without a picture is still worth catching. Two
|
||||
rows rather than three — it is a note, not the story, which is written
|
||||
later in the full sheet. */}
|
||||
{captureOnly && !readOnly && (
|
||||
<textarea
|
||||
rows={2}
|
||||
value={story}
|
||||
onChange={e => setStory(e.target.value)}
|
||||
placeholder={t('journey.editor.writeStory')}
|
||||
className={`mt-[10px] w-full resize-none px-[14px] py-3 font-geist text-[0.8125rem] leading-[1.5] text-m-ink outline-none placeholder:text-m-faint ${fieldShell} rounded-[14px]`}
|
||||
/>
|
||||
)}
|
||||
|
||||
{!captureOnly && <>
|
||||
{readOnly ? (
|
||||
story && (
|
||||
|
||||
Reference in New Issue
Block a user