Give finished Rules a print path, folded launch counts, and a two-day follow-up.

Export is PDF, RULE.md, and Print on US Letter, with every shared term, no member names, and a takeaway that points at Ask an organizer. Finished Rules keep type and place so the team can read folded counts without a database, Umami can sit beside the app with no cookies, and the person who holds the pen gets working PDF and RULE.md links 48 hours later.
This commit is contained in:
adilallo committed 2026-11-10 18:32:33 -07:00
1 parent 0efc907633
commit d9c475a967
74 files changed
+2401 -630

No files matched your search

@@ -88,18 +88,18 @@ const CreateFlowTopNavContainer = memo<CreateFlowTopNavProps>(
leadingIcon: "picture_as_pdf",
onClick: () => onSelectExportFormat("pdf"),
},
{
id: "export-csv",
label: tPopover("downloadCsv"),
leadingIcon: "csv",
onClick: () => onSelectExportFormat("csv"),
},
{
id: "export-markdown",
label: tPopover("downloadMarkdown"),
leadingIcon: "markdown_copy",
onClick: () => onSelectExportFormat("markdown"),
},
{
id: "export-print",
label: tPopover("print"),
leadingIcon: "print",
onClick: () => onSelectExportFormat("print"),
},
);
}
@@ -233,8 +233,8 @@ const CreateFlowTopNavContainer = memo<CreateFlowTopNavProps>(
actionMenuItems={actionMenuItems}
exportPopoverMenuAriaLabel={tPopover("menuAriaLabel")}
exportPopoverPdfLabel={tPopover("downloadPdf")}
exportPopoverCsvLabel={tPopover("downloadCsv")}
exportPopoverMarkdownLabel={tPopover("downloadMarkdown")}
exportPopoverPrintLabel={tPopover("print")}
moreOptionsAriaLabel={t("moreOptionsAriaLabel")}
actionsMenuAriaLabel={t("actionsMenuAriaLabel")}
shareLabel={t("share")}
@@ -55,7 +55,7 @@ export interface CreateFlowTopNavProps {
/**
* Callback when user picks an export format from the Export menu.
*/
onSelectExportFormat?: (_format: "pdf" | "csv" | "markdown") => void;
onSelectExportFormat?: (_format: "pdf" | "markdown" | "print") => void;
/**
* Callback when Edit button is clicked
*/
@@ -106,8 +106,8 @@ export type CreateFlowTopNavViewProps = CreateFlowTopNavProps & {
actionMenuItems: CreateFlowTopNavActionMenuItem[];
exportPopoverMenuAriaLabel: string;
exportPopoverPdfLabel: string;
exportPopoverCsvLabel: string;
exportPopoverMarkdownLabel: string;
exportPopoverPrintLabel: string;
moreOptionsAriaLabel: string;
actionsMenuAriaLabel: string;
shareLabel: string;
@@ -61,8 +61,8 @@ export function CreateFlowTopNavView({
actionMenuItems,
exportPopoverMenuAriaLabel,
exportPopoverPdfLabel,
exportPopoverCsvLabel,
exportPopoverMarkdownLabel,
exportPopoverPrintLabel,
moreOptionsAriaLabel,
actionsMenuAriaLabel,
shareLabel,
@@ -145,19 +145,19 @@ export function CreateFlowTopNavView({
/>
<ListItem
showDivider
leadingIcon="csv"
label={exportPopoverCsvLabel}
leadingIcon="markdown_copy"
label={exportPopoverMarkdownLabel}
onClick={() => {
onSelectExportFormat("csv");
onSelectExportFormat("markdown");
setExportMenuOpen(false);
}}
/>
<ListItem
showDivider={false}
leadingIcon="markdown_copy"
label={exportPopoverMarkdownLabel}
leadingIcon="print"
label={exportPopoverPrintLabel}
onClick={() => {
onSelectExportFormat("markdown");
onSelectExportFormat("print");
setExportMenuOpen(false);
}}
/>