@burdenoff/microfe-notification 2026.1129.3 → 2026.1130.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/v2/InboxPage.js +130 -134
- package/dist/v2/InboxPage.js.map +1 -1
- package/dist/v2/PreferencesPage.js +80 -84
- package/dist/v2/PreferencesPage.js.map +1 -1
- package/dist/v2/admin/DeliveryLogPage.js +66 -67
- package/dist/v2/admin/DeliveryLogPage.js.map +1 -1
- package/dist/v2/admin/TemplateEditor.js +28 -33
- package/dist/v2/admin/TemplateEditor.js.map +1 -1
- package/dist/v2/admin/TemplatePage.js +19 -19
- package/dist/v2/admin/TemplatePage.js.map +1 -1
- package/dist/v2/admin/TemplatesPage.js +123 -127
- package/dist/v2/admin/TemplatesPage.js.map +1 -1
- package/dist/v2/admin/TopicsPage.js +101 -105
- package/dist/v2/admin/TopicsPage.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TopicsPage.js","names":["COUNT","TopicsPage","AdminPageV2","TopicsList","tr","useTr","paths","useNotificationPaths","confirm","useConfirm","notify","useNotify","topics","useNotificationTopics","editing","setEditing","useState","toggle","result","topic","remove","done","PageHeader","Button","Plus","LoadError","EmptyState","DataRows","IconTile","Tag","kindWord","StatusChip","ActionMenu","TopicDialog"],"sources":["../../../src/v2/admin/TopicsPage.tsx"],"sourcesContent":["/**\n * Topics (BOFF-16785, C2; the mockup's `ntopics`), under fe-libs' `accountPagesV2`: the groups of\n * notifications people can turn on or off. A row each (who follows it, what it's about, on or off),\n * New topic and Edit in a short dialog, and ⋯ (turn off or on, delete). Admins only\n * (`AdminPageV2`). Today's hook and storage.\n */\nimport { useState } from 'react';\nimport { Plus, Tag } from 'lucide-react';\nimport { PageHeader } from '@burdenoff/fe-libs/chrome';\nimport {\n ActionMenu,\n Button,\n DataRows,\n EmptyState,\n IconTile,\n LoadError,\n StatusChip,\n useConfirm,\n useNotify,\n} from '@burdenoff/fe-libs/ui';\nimport { useNotificationTopics } from '../../hooks';\nimport type { NotificationTopic } from '../../types';\nimport { useTr } from '../../shared/hooks/useTr';\nimport { useNotificationPaths } from '../../navigation-v2/paths';\nimport { AdminPageV2 } from '../../navigation-v2/AdminPageV2';\nimport { kindWord } from './words';\nimport { TopicDialog } from './TopicDialog';\n\nconst COUNT = new Intl.NumberFormat();\n\nexport function TopicsPage() {\n return (\n <AdminPageV2 tool=\"topics\" back={false}>\n <TopicsList />\n </AdminPageV2>\n );\n}\n\nfunction TopicsList() {\n const tr = useTr();\n const paths = useNotificationPaths();\n const confirm = useConfirm();\n const notify = useNotify();\n const topics = useNotificationTopics();\n const [editing, setEditing] = useState<NotificationTopic | 'new' | null>(null);\n\n const toggle = async (topic: NotificationTopic) => {\n const result = await topics.updateTopic(topic.id, { isActive: !topic.isActive });\n notify(\n result\n ? {\n title: topic.isActive\n ? tr('notifications.v3.topics.turnedOff', '{{name}} is off', { name: topic.name })\n : tr('notifications.v3.topics.turnedOn', '{{name}} is on', { name: topic.name }),\n tone: 'success',\n }\n : {\n title: tr('notifications.v3.templates.saveFailed', 'Couldn’t save. Try again.'),\n tone: 'error',\n }\n );\n };\n\n const remove = async (topic: NotificationTopic) => {\n const yes = await confirm({\n title: tr('notifications.v3.topics.deleteTitle', 'Delete {{name}}?', { name: topic.name }),\n description: tr(\n 'notifications.v3.topics.deleteBody',\n 'People stop being able to choose it in their settings.'\n ),\n confirmLabel: tr('notifications.v3.templates.delete', 'Delete'),\n tone: 'danger',\n typeToConfirm: topic.name,\n });\n if (!yes) return;\n const done = await topics.deleteTopic(topic.id);\n notify(\n done\n ? {\n title: tr('notifications.v3.templates.deleted', 'Deleted {{name}}', {\n name: topic.name,\n }),\n tone: 'success',\n }\n : {\n title: tr('notifications.v3.templates.deleteFailed', 'Couldn’t delete it. Try again.'),\n tone: 'error',\n }\n );\n };\n\n return (\n <div data-account-pages-v2=\"notification-topics\" className=\"flex w-full min-w-0 flex-col\">\n <PageHeader\n variant=\"compact\"\n title={tr('notifications.v3.topics.title', 'Topics')}\n description={tr(\n 'notifications.v3.topics.purpose',\n 'Groups of notifications people can turn on or off.'\n )}\n back={{ label: tr('notifications.v3.title', 'Notifications'), to: paths.inbox }}\n primary={\n <Button onClick={() => setEditing('new')} data-testid=\"topics-new\">\n <Plus aria-hidden=\"true\" />\n {tr('notifications.v3.topics.new', 'New topic')}\n </Button>\n }\n />\n {topics.error && topics.topics.length === 0 ? (\n <LoadError\n what={tr('notifications.v3.topics.title', 'Topics')}\n error={topics.error}\n onRetry={() => void topics.refetch()}\n />\n ) : !topics.isLoading && topics.topics.length === 0 ? (\n <EmptyState\n kind=\"first-use\"\n title={tr('notifications.v3.topics.emptyTitle', 'No topics yet')}\n description={tr(\n 'notifications.v3.topics.emptyBody',\n 'Topics let people choose what they hear about, like “Billing” or “Product news”.'\n )}\n action={\n <Button onClick={() => setEditing('new')}>\n {tr('notifications.v3.topics.new', 'New topic')}\n </Button>\n }\n />\n ) : (\n <DataRows\n items={topics.topics}\n loading={topics.isLoading && topics.topics.length === 0}\n skeletonRows={4}\n getId={(topic) => topic.id}\n label={tr('notifications.v3.topics.title', 'Topics')}\n lead={{\n header: tr('notifications.v3.topics.topic', 'Topic'),\n media: () => (\n <IconTile size=\"sm\">\n <Tag aria-hidden=\"true\" />\n </IconTile>\n ),\n title: (topic) => topic.name,\n subtitle: (topic) => topic.description || undefined,\n onOpen: (topic) => setEditing(topic),\n }}\n columns={[\n {\n id: 'people',\n header: tr('notifications.v3.topics.people', 'Following'),\n cell: (topic) => COUNT.format(topic.subscriberCount ?? 0),\n },\n {\n id: 'kind',\n header: tr('notifications.v3.templates.kind', 'About'),\n cell: (topic) => kindWord(topic.type, tr),\n },\n {\n id: 'status',\n header: tr('notifications.v3.templates.status', 'Status'),\n cell: (topic) =>\n topic.isActive ? (\n <StatusChip status=\"ok\">{tr('notifications.v3.on', 'On')}</StatusChip>\n ) : (\n <StatusChip status=\"paused\">{tr('notifications.v3.off', 'Off')}</StatusChip>\n ),\n },\n ]}\n actions={(topic) => (\n <ActionMenu\n placement=\"row\"\n label={tr('notifications.v3.templates.actionsFor', 'Actions for {{name}}', {\n name: topic.name,\n })}\n items={[\n {\n id: 'edit',\n label: tr('notifications.v3.topics.edit', 'Edit'),\n onSelect: () => setEditing(topic),\n },\n {\n id: 'toggle',\n label: topic.isActive\n ? tr('notifications.v3.templates.turnOff', 'Turn off')\n : tr('notifications.v3.templates.turnOn', 'Turn on'),\n onSelect: () => void toggle(topic),\n },\n {\n id: 'delete',\n label: tr('notifications.v3.templates.delete', 'Delete'),\n danger: true,\n onSelect: () => void remove(topic),\n },\n ]}\n />\n )}\n />\n )}\n <TopicDialog\n open={editing !== null}\n topic={editing === 'new' ? null : editing}\n onClose={() => setEditing(null)}\n onCreate={topics.createTopic}\n onUpdate={topics.updateTopic}\n />\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;AA4BA,IAAMA,IAAQ,IAAI,KAAK,aAAa;AAEpC,SAAgBC,IAAa;CAC3B,OACE,kBAACC,GAAD;EAAa,MAAK;EAAS,MAAM;EAC/B,UAAA,kBAACC,GAAD,CAAa,CAAA;CACF,CAAA;AAEjB;AAEA,SAASA,IAAa;CACpB,IAAMC,IAAKC,EAAM,GACXC,IAAQC,EAAqB,GAC7BC,IAAUC,EAAW,GACrBC,IAASC,EAAU,GACnBC,IAASC,EAAsB,GAC/B,CAACC,GAASC,KAAcC,EAA2C,IAAI,GAEvEC,IAAS,OAAO,MAA6B;EACjD,IAAMC,IAAS,MAAMN,EAAO,YAAYO,EAAM,IAAI,EAAE,UAAU,CAACA,EAAM,SAAS,CAAC;EAC/E,EACED,IACI;GACE,OAAOC,EAAM,WACTf,EAAG,qCAAqC,mBAAmB,EAAE,MAAMe,EAAM,KAAK,CAAC,IAC/Ef,EAAG,oCAAoC,kBAAkB,EAAE,MAAMe,EAAM,KAAK,CAAC;GACjF,MAAM;EACR,IACA;GACE,OAAOf,EAAG,yCA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OACrD,gBAAgB,KAAKa,EAAOE,CAAK;MACnC;MACA;OACE,IAAI;OACJ,OAAOf,EAAG,qCAAqC,QAAQ;OACvD,QAAQ;OACR,gBAAgB,KAAKgB,EAAOD,CAAK;MACnC;KACF;IACD,CAAA;GAEJ,CAAA;GAEH,kBAACc,GAAD;IACE,MAAMnB,MAAY;IAClB,OAAOA,MAAY,QAAQ,OAAOA;IAClC,eAAeC,EAAW,IAAI;IAC9B,UAAUH,EAAO;IACjB,UAAUA,EAAO;GAClB,CAAA;EACE;;AAET"}
|
|
1
|
+
{"version":3,"file":"TopicsPage.js","names":["COUNT","TopicsPage","AdminPageV2","TopicsList","tr","useTr","paths","useNotificationPaths","confirm","useConfirm","notify","useNotify","topics","useNotificationTopics","editing","setEditing","useState","toggle","result","topic","remove","done","WorkspacePage","PageHeader","Button","Plus","LoadError","EmptyState","DataRows","IconTile","Tag","kindWord","StatusChip","ActionMenu","TopicDialog"],"sources":["../../../src/v2/admin/TopicsPage.tsx"],"sourcesContent":["/**\n * Topics (BOFF-16785, C2; the mockup's `ntopics`), under fe-libs' `accountPagesV2`: the groups of\n * notifications people can turn on or off. A row each (who follows it, what it's about, on or off),\n * New topic and Edit in a short dialog, and ⋯ (turn off or on, delete). Admins only\n * (`AdminPageV2`). Today's hook and storage.\n */\nimport { useState } from 'react';\nimport { Plus, Tag } from 'lucide-react';\nimport { PageHeader } from '@burdenoff/fe-libs/chrome';\nimport {\n ActionMenu,\n Button,\n DataRows,\n EmptyState,\n IconTile,\n LoadError,\n StatusChip,\n WorkspacePage,\n useConfirm,\n useNotify,\n} from '@burdenoff/fe-libs/ui';\nimport { useNotificationTopics } from '../../hooks';\nimport type { NotificationTopic } from '../../types';\nimport { useTr } from '../../shared/hooks/useTr';\nimport { useNotificationPaths } from '../../navigation-v2/paths';\nimport { AdminPageV2 } from '../../navigation-v2/AdminPageV2';\nimport { kindWord } from './words';\nimport { TopicDialog } from './TopicDialog';\n\nconst COUNT = new Intl.NumberFormat();\n\nexport function TopicsPage() {\n return (\n <AdminPageV2 tool=\"topics\" back={false}>\n <TopicsList />\n </AdminPageV2>\n );\n}\n\nfunction TopicsList() {\n const tr = useTr();\n const paths = useNotificationPaths();\n const confirm = useConfirm();\n const notify = useNotify();\n const topics = useNotificationTopics();\n const [editing, setEditing] = useState<NotificationTopic | 'new' | null>(null);\n\n const toggle = async (topic: NotificationTopic) => {\n const result = await topics.updateTopic(topic.id, { isActive: !topic.isActive });\n notify(\n result\n ? {\n title: topic.isActive\n ? tr('notifications.v3.topics.turnedOff', '{{name}} is off', { name: topic.name })\n : tr('notifications.v3.topics.turnedOn', '{{name}} is on', { name: topic.name }),\n tone: 'success',\n }\n : {\n title: tr('notifications.v3.templates.saveFailed', 'Couldn’t save. Try again.'),\n tone: 'error',\n }\n );\n };\n\n const remove = async (topic: NotificationTopic) => {\n const yes = await confirm({\n title: tr('notifications.v3.topics.deleteTitle', 'Delete {{name}}?', { name: topic.name }),\n description: tr(\n 'notifications.v3.topics.deleteBody',\n 'People stop being able to choose it in their settings.'\n ),\n confirmLabel: tr('notifications.v3.templates.delete', 'Delete'),\n tone: 'danger',\n typeToConfirm: topic.name,\n });\n if (!yes) return;\n const done = await topics.deleteTopic(topic.id);\n notify(\n done\n ? {\n title: tr('notifications.v3.templates.deleted', 'Deleted {{name}}', {\n name: topic.name,\n }),\n tone: 'success',\n }\n : {\n title: tr('notifications.v3.templates.deleteFailed', 'Couldn’t delete it. Try again.'),\n tone: 'error',\n }\n );\n };\n\n return (\n <WorkspacePage>\n <PageHeader\n variant=\"compact\"\n title={tr('notifications.v3.topics.title', 'Topics')}\n description={tr(\n 'notifications.v3.topics.purpose',\n 'Groups of notifications people can turn on or off.'\n )}\n back={{ label: tr('notifications.v3.title', 'Notifications'), to: paths.inbox }}\n primary={\n <Button onClick={() => setEditing('new')} data-testid=\"topics-new\">\n <Plus aria-hidden=\"true\" />\n {tr('notifications.v3.topics.new', 'New topic')}\n </Button>\n }\n />\n {topics.error && topics.topics.length === 0 ? (\n <LoadError\n what={tr('notifications.v3.topics.title', 'Topics')}\n error={topics.error}\n onRetry={() => void topics.refetch()}\n />\n ) : !topics.isLoading && topics.topics.length === 0 ? (\n <EmptyState\n kind=\"first-use\"\n title={tr('notifications.v3.topics.emptyTitle', 'No topics yet')}\n description={tr(\n 'notifications.v3.topics.emptyBody',\n 'Topics let people choose what they hear about, like “Billing” or “Product news”.'\n )}\n action={\n <Button onClick={() => setEditing('new')}>\n {tr('notifications.v3.topics.new', 'New topic')}\n </Button>\n }\n />\n ) : (\n <DataRows\n items={topics.topics}\n loading={topics.isLoading && topics.topics.length === 0}\n skeletonRows={4}\n getId={(topic) => topic.id}\n label={tr('notifications.v3.topics.title', 'Topics')}\n lead={{\n header: tr('notifications.v3.topics.topic', 'Topic'),\n media: () => (\n <IconTile size=\"sm\">\n <Tag aria-hidden=\"true\" />\n </IconTile>\n ),\n title: (topic) => topic.name,\n subtitle: (topic) => topic.description || undefined,\n onOpen: (topic) => setEditing(topic),\n }}\n columns={[\n {\n id: 'people',\n header: tr('notifications.v3.topics.people', 'Following'),\n cell: (topic) => COUNT.format(topic.subscriberCount ?? 0),\n },\n {\n id: 'kind',\n header: tr('notifications.v3.templates.kind', 'About'),\n cell: (topic) => kindWord(topic.type, tr),\n },\n {\n id: 'status',\n header: tr('notifications.v3.templates.status', 'Status'),\n cell: (topic) =>\n topic.isActive ? (\n <StatusChip status=\"ok\">{tr('notifications.v3.on', 'On')}</StatusChip>\n ) : (\n <StatusChip status=\"paused\">{tr('notifications.v3.off', 'Off')}</StatusChip>\n ),\n },\n ]}\n actions={(topic) => (\n <ActionMenu\n placement=\"row\"\n label={tr('notifications.v3.templates.actionsFor', 'Actions for {{name}}', {\n name: topic.name,\n })}\n items={[\n {\n id: 'edit',\n label: tr('notifications.v3.topics.edit', 'Edit'),\n onSelect: () => setEditing(topic),\n },\n {\n id: 'toggle',\n label: topic.isActive\n ? tr('notifications.v3.templates.turnOff', 'Turn off')\n : tr('notifications.v3.templates.turnOn', 'Turn on'),\n onSelect: () => void toggle(topic),\n },\n {\n id: 'delete',\n label: tr('notifications.v3.templates.delete', 'Delete'),\n danger: true,\n onSelect: () => void remove(topic),\n },\n ]}\n />\n )}\n />\n )}\n <TopicDialog\n open={editing !== null}\n topic={editing === 'new' ? null : editing}\n onClose={() => setEditing(null)}\n onCreate={topics.createTopic}\n onUpdate={topics.updateTopic}\n />\n </WorkspacePage>\n );\n}\n"],"mappings":";;;;;;;;;;;;AA6BA,IAAMA,IAAQ,IAAI,KAAK,aAAa;AAEpC,SAAgBC,IAAa;CAC3B,OACE,kBAACC,GAAD;EAAa,MAAK;EAAS,MAAM;EAC/B,UAAA,kBAACC,GAAD,CAAa,CAAA;CACF,CAAA;AAEjB;AAEA,SAASA,IAAa;CACpB,IAAMC,IAAKC,EAAM,GACXC,IAAQC,EAAqB,GAC7BC,IAAUC,EAAW,GACrBC,IAASC,EAAU,GACnBC,IAASC,EAAsB,GAC/B,CAACC,GAASC,KAAcC,EAA2C,IAAI,GAEvEC,IAAS,OAAO,MAA6B;EACjD,IAAMC,IAAS,MAAMN,EAAO,YAAYO,EAAM,IAAI,EAAE,UAAU,CAACA,EAAM,SAAS,CAAC;EAC/E,EACED,IACI;GACE,OAAOC,EAAM,WACTf,EAAG,qCAAqC,mBAAmB,EAAE,MAAMe,EAAM,KAAK,CAAC,IAC/Ef,EAAG,oCAAoC,kBAAkB,EAAE,MAAMe,EAAM,KAAK,CAAC;GACjF,MAAM;EACR,IACA;GACE,OAAOf,EAAG,yCAAyC,2BAA2B;GAC9E,MAAM;EACR,CACN;CACF,GAEMgB,IAAS,OAAO,MAA6B;EAWjD,IAAI,CAAC,MAVaZ,EAAQ;GACxB,OAAOJ,EAAG,uCAAuC,oBAAoB,EAAE,MAAMe,EAAM,KAAK,CAAC;GACzF,aAAaf,EACX,sCACA,wDACF;GACA,cAAcA,EAAG,qCAAqC,QAAQ;GAC9D,MAAM;GACN,eAAee,EAAM;EACvB,CAAC,GACS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