refine: ui, prompt, and desc card

* ui improved

* prompt:realisic+noHuman

* prompt:editRefinement

* fix: map DescriptionCard truncation and truncateAt typo

Prevent result/map card overflow with character limits and line-clamp; fix buildMapOrderDescription calling undefined truncateAt.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: 이지은 <ijieun@ijieun-ui-MacBookPro.local>
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Chaewon Lee
2026-06-16 10:27:27 +09:00
committed by GitHub
parent 71da3f2c17
commit 3e0ff5df70
28 changed files with 1321 additions and 312 deletions

View File

@@ -5,6 +5,8 @@
// both the moodboard and the SNS feed.
let {
label = null,
/** 빈 타일 중앙에 표시할 안내 문장 */
prompt = null,
showLabel = true,
class: klass = '',
style = '',
@@ -44,7 +46,7 @@
type="file"
accept="image/*"
class="sr-only"
aria-label={label ? `Add a ${label} image` : 'Add an image'}
aria-label={prompt ?? (label ? `Add a ${label} image` : 'Add an image')}
onchange={pick}
/>
@@ -63,13 +65,15 @@
</span>
{:else}
<div
class="flex flex-col items-center gap-3 text-subtle transition-transform group-hover:scale-105"
class="flex flex-col items-center gap-3 px-4 text-center text-subtle transition-transform group-hover:scale-105"
>
<span
class="flex size-10 items-center justify-center rounded-full border border-current text-xl leading-none"
class="flex size-10 shrink-0 items-center justify-center rounded-full border border-current text-xl leading-none"
aria-hidden="true">+</span
>
{#if label && showLabel}
{#if prompt}
<span class="max-w-[14rem] text-sm leading-snug text-muted">{prompt}</span>
{:else if label && showLabel}
<span class="text-sm tracking-[0.15em] uppercase">{label}</span>
{/if}
</div>