diff options
| author | Christian Cleberg <[email protected]> | 2026-07-17 11:12:16 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-07-20 13:56:41 -0500 |
| commit | 2b52ee5520cad3c47d30d513946645366f268762 (patch) | |
| tree | 2ae418ab9e2efd5b7ed25d19ce32642d93cc29f2 /DomainDig/WatchlistView.swift | |
| parent | 01c3d342f6980a69feb8df27a3454fd721d6298e (diff) | |
| download | domain-dig-2b52ee5520cad3c47d30d513946645366f268762.tar.gz domain-dig-2b52ee5520cad3c47d30d513946645366f268762.tar.bz2 domain-dig-2b52ee5520cad3c47d30d513946645366f268762.zip | |
v4.8.0: Wire markdown/PDF export buttons into share menus
Adds "Export Markdown"/"Export PDF" (and batch/workflow equivalents) to the
single-result, batch, watchlist, and workflow export menus, gated behind
.advancedExports like the existing CSV/JSON options. Matches the existing
menu structure and Pro-gate wording per file rather than introducing a new
shared component, consistent with how CSV/JSON were already duplicated across
these five menus before this change.
Diffstat (limited to 'DomainDig/WatchlistView.swift')
| -rw-r--r-- | DomainDig/WatchlistView.swift | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/DomainDig/WatchlistView.swift b/DomainDig/WatchlistView.swift index a1af244..5670e5e 100644 --- a/DomainDig/WatchlistView.swift +++ b/DomainDig/WatchlistView.swift @@ -160,11 +160,23 @@ struct WatchlistView: View { Button("Export JSON") { shareTrackedDomains(format: .json) } + + Button("Export Markdown") { + shareTrackedDomains(format: .markdown) + } + + Button("Export PDF") { + shareTrackedDomains(format: .pdf) + } } else { Button("CSV Export • Available in Pro") {} .disabled(true) Button("JSON Export • Available in Pro") {} .disabled(true) + Button("Markdown Export • Available in Pro") {} + .disabled(true) + Button("PDF Export • Available in Pro") {} + .disabled(true) } } label: { Image(systemName: "line.3.horizontal.decrease.circle") |
