portfolio-edit: add a quiet how-to hint inside the composer

A small italic muted line beneath the form explaining the controls:
"Type a symbol, then quantity and cost — or use the calendar to fill
cost from a buy date — then [+] to add. [×] next to an existing row
removes it."

Only renders while the composer itself is visible (i.e. in edit mode),
so it doesn't clutter the dashboard at rest.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Giorgio Gilestro 2026-05-27 15:27:44 +02:00
parent 6377c929b8
commit 11662c0ea8
2 changed files with 25 additions and 0 deletions

View file

@ -91,6 +91,11 @@
<span id="pf-add-date-status" class="pf-add-status"></span>
<span id="pf-add-warning" class="pf-add-warning" hidden></span>
</div>
<p class="pf-add__hint">
Type a symbol, then quantity and cost &mdash; or use the calendar
to fill cost from a buy date &mdash; then <kbd>+</kbd> to add.
<kbd>&times;</kbd> next to an existing row removes it.
</p>
</div>
<div id="pf-mount">
<div class="empty">loading…</div>