mirror of
https://github.com/carey314/mio-plugin-fund.git
synced 2026-08-10 05:44:31 +00:00
Add operation feedback across the three interactive paths in 看盘侠: - Toast: ObservableObject + view modifier, lime/red/yellow palette matching FundTheme. Auto-dismiss after 2.6s, click to dismiss. - ConfirmDialog: programmatic ask() returning async Bool via a captured CheckedContinuation. Danger flag flips the confirm button to a red palette. - HoldingsView: row remove now asks for confirmation (the trash UI is a hover-only ✕ — easy to misclick); on confirm, row slides out to the leading edge with a spring + a success toast lands. - HoldingsView: position edit Save / Clear surface the right semantic toast (success for save, info for clear). - AddView: adding a fund toasts the name; tapping an already-added row toasts an info reminder rather than silently no-op'ing. Bump version 0.2.0 → 0.3.0 (Info.plist + FundPlugin.version). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| AddView.swift | ||
| ConfirmDialog.swift | ||
| ExpandedView.swift | ||
| GoldPositionCard.swift | ||
| GoldView.swift | ||
| HeaderSlotView.swift | ||
| HoldingsView.swift | ||
| PositionEditor.swift | ||
| SparkLine.swift | ||
| Theme.swift | ||
| Toast.swift | ||