read.markets/app/static/css
Giorgio Gilestro 736d161990 ui: portfolio actions row + AI analysis regenerate
Two small UX changes to the portfolio panel:

1. "Forget this pie" is destructive enough to belong in edit-mode
   only. The button now hides by default and only surfaces when the
   #portfolio-panel.pf-editing class is on the panel (same surface
   that already shows per-row × and the add-position form). The
   element stays in the DOM so the existing click handler keeps
   working without re-mount.

2. "Generate AI analysis" disappears once an analysis exists. In its
   place a small "Regenerate" button is rendered inside the
   collapsible analysis box — in the summary header, right-aligned
   next to the timestamp. The button stops the summary's default
   toggle action so a click regenerates without collapsing the
   panel. runAnalysis() now tolerates either pf-analyze or pf-regen
   as the trigger, and showAnalysis() takes an optional
   onRegenerate callback so callers can wire the button to the
   current pie/enriched closure context. Re-hydration after the
   60s portfolio refresh passes the same callback so the button
   survives a refresh cycle.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-29 15:04:08 +02:00
..
auth.css mobile: per-view ≤480px rules across the CSS bundle 2026-05-28 18:43:36 +02:00
dashboard.css mobile: wrap tabs, trim portfolio + markets bar columns 2026-05-28 19:10:58 +02:00
layout.css ui: log panel bottom-aligns with portfolio via contain:size 2026-05-29 14:56:11 +02:00
log-chat.css ui: drop log-content's fixed-viewport scroll cap 2026-05-29 12:58:06 +02:00
news.css mobile: per-view ≤480px rules across the CSS bundle 2026-05-28 18:43:36 +02:00
panels.css mobile: clamp grid items + table cells to viewport width 2026-05-28 19:02:30 +02:00
portfolio.css ui: portfolio actions row + AI analysis regenerate 2026-05-29 15:04:08 +02:00
public.css mobile: per-view ≤480px rules across the CSS bundle 2026-05-28 18:43:36 +02:00
settings.css mobile: per-view ≤480px rules across the CSS bundle 2026-05-28 18:43:36 +02:00
tokens.css css: split cassandra.css into per-section files 2026-05-28 12:31:29 +02:00