@cosmicdrift/kumiko-samples 0.405.0 → 0.409.0

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.
Files changed (242) hide show
  1. package/package.json +1 -1
  2. package/packages/bundled-features/package.json +26 -4
  3. package/packages/bundled-features/src/account-security/feature.ts +9 -1
  4. package/packages/bundled-features/src/admin-shell/changes.json +6 -0
  5. package/packages/bundled-features/src/admin-shell/feature.ts +4 -1
  6. package/packages/bundled-features/src/agent-tools/agent-manifest.ts +1 -0
  7. package/packages/bundled-features/src/agent-tools/changes.json +6 -0
  8. package/packages/bundled-features/src/agent-tools/tool-catalog.ts +1 -0
  9. package/packages/bundled-features/src/agent-tools/types.ts +4 -0
  10. package/packages/bundled-features/src/audit/event-classification.ts +1 -0
  11. package/packages/bundled-features/src/auth-email-password/bootstrap.ts +1 -0
  12. package/packages/bundled-features/src/auth-email-password/errors.ts +18 -66
  13. package/packages/bundled-features/src/auth-email-password/web/auth-client.ts +30 -64
  14. package/packages/bundled-features/src/auth-email-password/web/auth-redirect.ts +2 -2
  15. package/packages/bundled-features/src/auth-email-password/web/confirm-account-unlock-screen.tsx +20 -66
  16. package/packages/bundled-features/src/auth-email-password/web/index.ts +1 -0
  17. package/packages/bundled-features/src/auth-email-password/web/read-path-param.ts +8 -0
  18. package/packages/bundled-features/src/auth-email-password/web/return-path.ts +3 -2
  19. package/packages/bundled-features/src/auth-email-password/web/token-confirm-screen.tsx +97 -0
  20. package/packages/bundled-features/src/auth-email-password/web/verify-email-screen.tsx +20 -68
  21. package/packages/bundled-features/src/auth-foundation/boot-checks.ts +22 -15
  22. package/packages/bundled-features/src/auth-foundation/boot-rules.ts +33 -0
  23. package/packages/bundled-features/src/auth-mfa/errors.ts +12 -42
  24. package/packages/bundled-features/src/auth-mfa/feature-exports.ts +6 -45
  25. package/packages/bundled-features/src/auth-mfa/feature.ts +8 -19
  26. package/packages/bundled-features/src/auth-mfa/web/mfa-client.ts +19 -33
  27. package/packages/bundled-features/src/billing-foundation/consumer-protection/termination-notify.ts +1 -0
  28. package/packages/bundled-features/src/billing-foundation/web/plan-price.ts +20 -7
  29. package/packages/bundled-features/src/cap-counter/stock-cap-guard.ts +1 -0
  30. package/packages/bundled-features/src/channel-in-app/changes.json +7 -0
  31. package/packages/bundled-features/src/channel-in-app/feature.ts +2 -0
  32. package/packages/bundled-features/src/channel-in-app/handlers/read-state-by-keys.query.ts +35 -0
  33. package/packages/bundled-features/src/channel-in-app/in-app-channel.ts +1 -0
  34. package/packages/bundled-features/src/channel-in-app/tables.ts +5 -1
  35. package/packages/bundled-features/src/contact/challenge.ts +41 -0
  36. package/packages/bundled-features/src/contact/changes.json +27 -0
  37. package/packages/bundled-features/src/contact/client/contact-client-source.ts +203 -0
  38. package/packages/bundled-features/src/contact/entity.ts +168 -0
  39. package/packages/bundled-features/src/contact/feature.ts +171 -0
  40. package/packages/bundled-features/src/contact/handlers/access.ts +17 -0
  41. package/packages/bundled-features/src/contact/handlers/attempts.ts +76 -0
  42. package/packages/bundled-features/src/contact/handlers/challenge.query.ts +44 -0
  43. package/packages/bundled-features/src/contact/handlers/forward-request.write.ts +98 -0
  44. package/packages/bundled-features/src/contact/handlers/mark-done.write.ts +40 -0
  45. package/packages/bundled-features/src/contact/handlers/notify-reporter-in-app.write.ts +48 -0
  46. package/packages/bundled-features/src/contact/handlers/open-count.query.ts +15 -0
  47. package/packages/bundled-features/src/contact/handlers/open-count.ts +17 -0
  48. package/packages/bundled-features/src/contact/handlers/replies.query.ts +29 -0
  49. package/packages/bundled-features/src/contact/handlers/reply.write.ts +197 -0
  50. package/packages/bundled-features/src/contact/handlers/report.write.ts +126 -0
  51. package/packages/bundled-features/src/contact/handlers/request-delivery.query.ts +143 -0
  52. package/packages/bundled-features/src/contact/handlers/request-detail.query.ts +50 -0
  53. package/packages/bundled-features/src/contact/handlers/request-list.query.ts +14 -0
  54. package/packages/bundled-features/src/contact/handlers/send-reply-mail.write.ts +124 -0
  55. package/packages/bundled-features/src/contact/handlers/send-test.write.ts +45 -0
  56. package/packages/bundled-features/src/contact/handlers/submit.write.ts +194 -0
  57. package/packages/bundled-features/src/contact/handlers/take-over-uploads.ts +47 -0
  58. package/packages/bundled-features/src/contact/i18n.ts +189 -0
  59. package/packages/bundled-features/src/contact/index.ts +29 -0
  60. package/packages/bundled-features/src/contact/lib.ts +176 -0
  61. package/packages/bundled-features/src/contact/mail.ts +401 -0
  62. package/packages/bundled-features/src/contact/options.ts +95 -0
  63. package/packages/bundled-features/src/contact/panels.ts +28 -0
  64. package/packages/bundled-features/src/contact/payloads.ts +106 -0
  65. package/packages/bundled-features/src/contact/pow.ts +22 -0
  66. package/packages/bundled-features/src/contact/screens.ts +506 -0
  67. package/packages/bundled-features/src/contact/subject.ts +13 -0
  68. package/packages/bundled-features/src/contact/user-agent.ts +39 -0
  69. package/packages/bundled-features/src/contact/user-data-hooks.ts +180 -0
  70. package/packages/bundled-features/src/contact/web/constants.ts +160 -0
  71. package/packages/bundled-features/src/contact/web/index.ts +29 -0
  72. package/packages/bundled-features/src/crypto-shredding/handlers/forget-subject.write.ts +5 -16
  73. package/packages/bundled-features/src/data-retention/changes.json +6 -0
  74. package/packages/bundled-features/src/data-retention/feature.ts +16 -2
  75. package/packages/bundled-features/src/data-retention/index.ts +5 -0
  76. package/packages/bundled-features/src/data-retention/run-retention-cleanup.ts +138 -41
  77. package/packages/bundled-features/src/data-retention/tenant-destruction-hold.ts +196 -0
  78. package/packages/bundled-features/src/delivery/address-opt-out.ts +1 -0
  79. package/packages/bundled-features/src/delivery/changes.json +7 -0
  80. package/packages/bundled-features/src/delivery/channel-context.ts +2 -0
  81. package/packages/bundled-features/src/delivery/delivery-service.ts +29 -5
  82. package/packages/bundled-features/src/delivery/events.ts +2 -0
  83. package/packages/bundled-features/src/delivery/feature.ts +3 -2
  84. package/packages/bundled-features/src/delivery/handlers/attempts-by-keys.query.ts +55 -0
  85. package/packages/bundled-features/src/delivery/handlers/log.query.ts +1 -1
  86. package/packages/bundled-features/src/delivery/jobs.ts +5 -0
  87. package/packages/bundled-features/src/delivery/tables.ts +13 -2
  88. package/packages/bundled-features/src/delivery/types.ts +3 -0
  89. package/packages/bundled-features/src/delivery/unsubscribe-page.ts +2 -0
  90. package/packages/bundled-features/src/delivery/web/delivery-channel-cell.tsx +1 -1
  91. package/packages/bundled-features/src/delivery/web/delivery-error-cell.tsx +1 -1
  92. package/packages/bundled-features/src/delivery/web/delivery-status-cell.tsx +1 -1
  93. package/packages/bundled-features/src/delivery/web/delivery-time-cell.tsx +3 -2
  94. package/packages/bundled-features/src/delivery/web/delivery-type-cell.tsx +1 -1
  95. package/packages/bundled-features/src/delivery/web/public-names.ts +1 -0
  96. package/packages/bundled-features/src/document-ingest-foundation/boot-checks.ts +14 -9
  97. package/packages/bundled-features/src/document-ingest-foundation/boot-rules.ts +22 -0
  98. package/packages/bundled-features/src/document-ingest-foundation/changes.json +6 -0
  99. package/packages/bundled-features/src/document-ingest-foundation/events.ts +17 -0
  100. package/packages/bundled-features/src/document-ingest-foundation/feature.ts +39 -1
  101. package/packages/bundled-features/src/document-ingest-foundation/index.ts +10 -0
  102. package/packages/bundled-features/src/document-ingest-foundation/report-ingest-progress.ts +43 -0
  103. package/packages/bundled-features/src/document-ingest-foundation/tables.ts +43 -0
  104. package/packages/bundled-features/src/files-tenant-data/changes.json +6 -0
  105. package/packages/bundled-features/src/files-tenant-data/hooks.ts +4 -1
  106. package/packages/bundled-features/src/folders/web/folder-manager.tsx +8 -9
  107. package/packages/bundled-features/src/folders/web/folder-section.tsx +1 -1
  108. package/packages/bundled-features/src/form-draft-user-data/index.ts +2 -0
  109. package/packages/bundled-features/src/inbound-mail-foundation/changes.json +13 -0
  110. package/packages/bundled-features/src/inbound-mail-foundation/entities.ts +2 -0
  111. package/packages/bundled-features/src/inbound-mail-foundation/events.ts +2 -0
  112. package/packages/bundled-features/src/inbound-mail-foundation/feature.ts +6 -6
  113. package/packages/bundled-features/src/inbound-mail-foundation/handlers/attach-message-content.write.ts +7 -0
  114. package/packages/bundled-features/src/inbound-mail-foundation/handlers/ingest-message.write.ts +6 -0
  115. package/packages/bundled-features/src/inbound-mail-foundation/handlers/list-messages.query.ts +6 -2
  116. package/packages/bundled-features/src/inbound-mail-foundation/handlers/message-content.query.ts +3 -0
  117. package/packages/bundled-features/src/inbound-mail-foundation/handlers/message-content.ts +19 -0
  118. package/packages/bundled-features/src/inbound-mail-foundation/projection.ts +2 -0
  119. package/packages/bundled-features/src/inbound-mail-foundation/sanitize-inbound-html.ts +150 -0
  120. package/packages/bundled-features/src/inbound-mail-foundation/types.ts +1 -0
  121. package/packages/bundled-features/src/jobs/job-run-logger.ts +24 -25
  122. package/packages/bundled-features/src/ledger/handlers/reports.query.ts +46 -31
  123. package/packages/bundled-features/src/ledger/recurring.ts +1 -0
  124. package/packages/bundled-features/src/notes-history/web/notes-section.tsx +3 -1
  125. package/packages/bundled-features/src/personal-access-tokens/feature.ts +9 -17
  126. package/packages/bundled-features/src/personal-access-tokens/handlers/create.write.ts +2 -7
  127. package/packages/bundled-features/src/secrets/changes.json +6 -0
  128. package/packages/bundled-features/src/secrets/handlers/delete.write.ts +8 -4
  129. package/packages/bundled-features/src/secrets/handlers/list.query.ts +6 -3
  130. package/packages/bundled-features/src/secrets/handlers/set.write.ts +9 -4
  131. package/packages/bundled-features/src/secrets/secret-scope.ts +33 -0
  132. package/packages/bundled-features/src/sessions/changes.json +6 -0
  133. package/packages/bundled-features/src/sessions/feature.ts +21 -18
  134. package/packages/bundled-features/src/sessions/handlers/last-activity-probe.query.ts +53 -0
  135. package/packages/bundled-features/src/sessions/handlers/last-activity-probe.route.ts +39 -0
  136. package/packages/bundled-features/src/sessions/screens.ts +1 -0
  137. package/packages/bundled-features/src/sessions/session-callbacks.ts +13 -12
  138. package/packages/bundled-features/src/sessions/web/i18n.ts +4 -1
  139. package/packages/bundled-features/src/shared/assert-billing-live.ts +14 -0
  140. package/packages/bundled-features/src/shared/collect-extension-options.ts +12 -0
  141. package/packages/bundled-features/src/shared/index.ts +16 -0
  142. package/packages/bundled-features/src/shared/late-bound-slot.ts +19 -0
  143. package/packages/bundled-features/src/shared/mail-locale-templates.ts +7 -1
  144. package/packages/bundled-features/src/shared/price-env-shape.ts +44 -0
  145. package/packages/bundled-features/src/shared/purge-row-file-refs.ts +1 -1
  146. package/packages/bundled-features/src/shared/read-feature-export-fn.ts +16 -0
  147. package/packages/bundled-features/src/shared/signup-handover.ts +3 -4
  148. package/packages/bundled-features/src/shared/tenant-destruction-hold.ts +49 -0
  149. package/packages/bundled-features/src/shared/unprocessable.ts +19 -0
  150. package/packages/bundled-features/src/shared/web/index.ts +3 -0
  151. package/packages/bundled-features/src/subscription-paddle/feature.ts +7 -15
  152. package/packages/bundled-features/src/subscription-paddle/runtime.ts +4 -7
  153. package/packages/bundled-features/src/subscription-stripe/feature.ts +7 -15
  154. package/packages/bundled-features/src/subscription-stripe/runtime.ts +4 -7
  155. package/packages/bundled-features/src/tags/entity.ts +1 -0
  156. package/packages/bundled-features/src/tags/web/tag-chip.tsx +14 -0
  157. package/packages/bundled-features/src/tags/web/tag-filter.tsx +4 -5
  158. package/packages/bundled-features/src/tags/web/tag-manager.tsx +1 -1
  159. package/packages/bundled-features/src/tags/web/tag-section.tsx +3 -6
  160. package/packages/bundled-features/src/tags/web/tags-cell.tsx +4 -5
  161. package/packages/bundled-features/src/template-resolver/compile-document-body.ts +27 -15
  162. package/packages/bundled-features/src/template-resolver/handlers/by-tenant.query.ts +11 -8
  163. package/packages/bundled-features/src/template-resolver/handlers/discard-draft.write.ts +1 -0
  164. package/packages/bundled-features/src/template-resolver/handlers/overview.query.ts +1 -0
  165. package/packages/bundled-features/src/template-resolver/handlers/send-test.write.ts +5 -5
  166. package/packages/bundled-features/src/template-resolver/handlers/toggle-status.write.ts +3 -0
  167. package/packages/bundled-features/src/template-resolver/linked-resources.ts +11 -6
  168. package/packages/bundled-features/src/template-resolver/store-template-resource.ts +15 -12
  169. package/packages/bundled-features/src/template-resolver/web/document-images.ts +6 -6
  170. package/packages/bundled-features/src/template-resolver/web/document-insert-fields.tsx +41 -36
  171. package/packages/bundled-features/src/template-resolver/web/document-schema.ts +11 -12
  172. package/packages/bundled-features/src/template-resolver/web/tiptap-attribute-parse-rule.ts +19 -0
  173. package/packages/bundled-features/src/tenant/i18n.ts +3 -0
  174. package/packages/bundled-features/src/tenant/schema/tenant.ts +1 -0
  175. package/packages/bundled-features/src/tenant/web/member-roles-cell.tsx +1 -1
  176. package/packages/bundled-features/src/tenant/web/member-status-cell.tsx +1 -1
  177. package/packages/bundled-features/src/tenant-inactivity/changes.json +8 -0
  178. package/packages/bundled-features/src/tenant-inactivity/check-inactive-tenants.ts +260 -0
  179. package/packages/bundled-features/src/tenant-inactivity/constants.ts +12 -0
  180. package/packages/bundled-features/src/tenant-inactivity/email-templates.ts +24 -0
  181. package/packages/bundled-features/src/tenant-inactivity/feature.ts +66 -0
  182. package/packages/bundled-features/src/tenant-inactivity/handlers/inactivity-state.query.ts +49 -0
  183. package/packages/bundled-features/src/tenant-inactivity/handlers/keep-account.write.ts +56 -0
  184. package/packages/bundled-features/src/tenant-inactivity/inactivity-plan.ts +187 -0
  185. package/packages/bundled-features/src/tenant-inactivity/index.ts +5 -0
  186. package/packages/bundled-features/src/tenant-inactivity/keep-token.ts +44 -0
  187. package/packages/bundled-features/src/tenant-inactivity/mail-notifications.ts +62 -0
  188. package/packages/bundled-features/src/tenant-inactivity/options.ts +38 -0
  189. package/packages/bundled-features/src/tenant-inactivity/remote-activity.ts +32 -0
  190. package/packages/bundled-features/src/tenant-inactivity/state-store.ts +71 -0
  191. package/packages/bundled-features/src/tenant-inactivity/state-table.ts +50 -0
  192. package/packages/bundled-features/src/tenant-lifecycle/boot-checks.ts +8 -6
  193. package/packages/bundled-features/src/tenant-lifecycle/boot-rules.ts +16 -0
  194. package/packages/bundled-features/src/tenant-lifecycle/changes.json +30 -0
  195. package/packages/bundled-features/src/tenant-lifecycle/constants.ts +6 -0
  196. package/packages/bundled-features/src/tenant-lifecycle/events.ts +2 -0
  197. package/packages/bundled-features/src/tenant-lifecycle/feature.ts +25 -2
  198. package/packages/bundled-features/src/tenant-lifecycle/handlers/request-destruction.write.ts +12 -87
  199. package/packages/bundled-features/src/tenant-lifecycle/index.ts +6 -0
  200. package/packages/bundled-features/src/tenant-lifecycle/request-tenant-destruction.ts +108 -0
  201. package/packages/bundled-features/src/tenant-lifecycle/retention-config-destroy-hooks.ts +62 -0
  202. package/packages/bundled-features/src/tenant-lifecycle/run-tenant-destroy.ts +131 -11
  203. package/packages/bundled-features/src/tenant-lifecycle/stages.ts +39 -4
  204. package/packages/bundled-features/src/tenant-lifecycle/testing.ts +1 -1
  205. package/packages/bundled-features/src/tier-engine/caps-for-tier-from-map.ts +16 -0
  206. package/packages/bundled-features/src/tier-engine/changes.json +6 -0
  207. package/packages/bundled-features/src/tier-engine/compose-app.ts +21 -20
  208. package/packages/bundled-features/src/tier-engine/index.ts +1 -0
  209. package/packages/bundled-features/src/user-data-rights/feature.ts +2 -0
  210. package/packages/bundled-features/src/user-data-rights/run-forget-cleanup.ts +2 -0
  211. package/packages/bundled-features/src/user-data-rights/web/privacy-center-screen.tsx +1 -1
  212. package/packages/bundled-features/src/user-data-rights/zip-path.ts +1 -0
  213. package/packages/bundled-features/src/user-data-rights-defaults/hooks/config-value.userdata-hook.ts +8 -27
  214. package/packages/bundled-features/src/user-data-rights-defaults/hooks/delivery-attempt.userdata-hook.ts +11 -8
  215. package/packages/bundled-features/src/user-data-rights-defaults/hooks/forget-own-rows-delete-hook.ts +42 -0
  216. package/packages/bundled-features/src/user-data-rights-defaults/hooks/notification-preference.userdata-hook.ts +8 -27
  217. package/packages/bundled-features/src/user-profile/handlers/change-email.write.ts +2 -6
  218. package/packages/bundled-features/src/user-profile/web/profile-screen.tsx +2 -3
  219. package/samples/apps/styleguide/src/features/widgets/i18n.ts +6 -0
  220. package/samples/apps/styleguide/src/features/widgets/web/InboxReaderExamples.tsx +158 -0
  221. package/samples/apps/styleguide/src/features/widgets/web/Widgets.tsx +2 -0
  222. package/samples/apps/styleguide/src/features/widgets/web/sample-pdf.ts +28 -0
  223. package/samples/apps/use-all-bundled/feature-manifest.json +134 -2
  224. package/samples/apps/use-all-bundled/kumiko/migrations/0063_contact.rebuild.json +4 -0
  225. package/samples/apps/use-all-bundled/package.json +1 -0
  226. package/samples/apps/use-all-bundled/playwright.config.ts +2 -0
  227. package/samples/apps/use-all-bundled/src/app/client.tsx +3 -0
  228. package/samples/apps/use-all-bundled/src/app/screens-feature.ts +46 -2
  229. package/samples/apps/use-all-bundled/src/run-config.ts +38 -4
  230. package/samples/recipes/contact/README.md +46 -0
  231. package/samples/recipes/contact/package.json +12 -0
  232. package/samples/recipes/contact/src/feature.ts +27 -0
  233. package/samples/recipes/delivery-notifications/src/feature.ts +3 -0
  234. package/samples/recipes/lane-routing/README.md +1 -0
  235. package/samples/recipes/lane-routing/src/feature.ts +8 -0
  236. package/samples/recipes/record-detail-layout/src/feature.ts +9 -1
  237. package/samples/recipes/search/README.md +2 -0
  238. package/samples/recipes/search/src/feature.ts +27 -2
  239. package/samples/recipes/secrets-demo/README.md +1 -0
  240. package/samples/recipes/secrets-demo/src/feature.ts +56 -0
  241. package/samples/recipes/tenant-inactivity/README.md +21 -0
  242. package/samples/recipes/tenant-inactivity/package.json +12 -0
@@ -1,15 +1,11 @@
1
1
  import { createEventStoreExecutor } from "@cosmicdrift/kumiko-framework/db";
2
- import {
3
- createSystemUser,
4
- type UserDataDeleteHook,
5
- type UserDataExportHook,
6
- } from "@cosmicdrift/kumiko-framework/engine";
2
+ import type { UserDataDeleteHook, UserDataExportHook } from "@cosmicdrift/kumiko-framework/engine";
7
3
  import {
8
4
  notificationPreferenceEntity,
9
5
  notificationPreferencesTable,
10
6
  } from "../../delivery/index.ts";
11
- import { collectErasureFailure, throwIfErasureFailed } from "../../shared/index.ts";
12
7
  import { featureMounted } from "./feature-mounted.ts";
8
+ import { forgetOwnRowsDeleteHook } from "./forget-own-rows-delete-hook.ts";
13
9
 
14
10
  // userData-Hooks for delivery's notification-preference rows. Event-sourced
15
11
  // entity → forget goes through the executor so a rebuild replays the erasure.
@@ -40,24 +36,9 @@ export const notificationPreferenceExportHook: UserDataExportHook = async (ctx)
40
36
  };
41
37
  };
42
38
 
43
- export const notificationPreferenceDeleteHook: UserDataDeleteHook = async (ctx) => {
44
- // skip: delivery not mounted — its table doesn't exist, nothing to erase.
45
- if (!featureMounted(ctx, "delivery")) return;
46
- const systemUser = createSystemUser(ctx.tenantId);
47
- const rows = await ctx.db.selectMany<Record<string, unknown>>(notificationPreferencesTable, {
48
- tenantId: ctx.tenantId,
49
- userId: ctx.userId,
50
- });
51
- const failures: string[] = [];
52
- for (const row of rows) {
53
- const id = row["id"]; // @cast-boundary db-row
54
- if (typeof id !== "string") continue;
55
- collectErasureFailure(
56
- await crud.forget({ id }, systemUser, ctx.db),
57
- "notification-preference",
58
- id,
59
- failures,
60
- );
61
- }
62
- throwIfErasureFailed(failures);
63
- };
39
+ export const notificationPreferenceDeleteHook: UserDataDeleteHook = forgetOwnRowsDeleteHook({
40
+ featureName: "delivery",
41
+ entityName: "notification-preference",
42
+ table: notificationPreferencesTable,
43
+ executor: crud,
44
+ });
@@ -6,7 +6,7 @@ import {
6
6
  import { UnprocessableError, writeFailure } from "@cosmicdrift/kumiko-framework/errors";
7
7
  import * as z from "zod";
8
8
  import { AuthErrors } from "../../auth-email-password/index.ts";
9
- import { decryptStoredPii, verifyPassword } from "../../shared/index.ts";
9
+ import { decryptStoredPii, unprocessable, verifyPassword } from "../../shared/index.ts";
10
10
  import { UserErrors, UserHandlers, UserQueries } from "../../user/index.ts";
11
11
  import { UserProfileErrors } from "../web/constants.ts";
12
12
 
@@ -15,11 +15,7 @@ import { UserProfileErrors } from "../web/constants.ts";
15
15
  // and i18nKey are stable public API.
16
16
  // @wrapper-known error-helper
17
17
  function invalidCredentials() {
18
- return writeFailure(
19
- new UnprocessableError(AuthErrors.invalidCredentials, {
20
- i18nKey: "auth.errors.invalidCredentials",
21
- }),
22
- );
18
+ return unprocessable(AuthErrors.invalidCredentials, "auth.errors.invalidCredentials");
23
19
  }
24
20
 
25
21
  // Change-email — authenticated, self-only. The user confirms with their
@@ -14,9 +14,8 @@ import {
14
14
  } from "@cosmicdrift/kumiko-renderer";
15
15
  import { propertyOf } from "@cosmicdrift/kumiko-types/type-guards";
16
16
  import { type ReactNode, useState } from "react";
17
- import { AuthHandlers } from "../../auth-email-password/web/constants.ts";
18
- import { requestEmailVerification } from "../../auth-email-password/web/index.ts";
19
- import { type SectionStatus, StatusBanner } from "../../shared/web/status-banner.tsx";
17
+ import { AuthHandlers, requestEmailVerification } from "../../auth-email-password/web/index.ts";
18
+ import { type SectionStatus, StatusBanner } from "../../shared/web/index.ts";
20
19
  import { UserProfileHandlers } from "./constants.ts";
21
20
 
22
21
  // Dispatcher failures carry an i18nKey only when the handler sets one —
@@ -191,6 +191,12 @@ export const WIDGETS_I18N = {
191
191
  de: "Zeile links anklicken.",
192
192
  en: "Click a row on the left.",
193
193
  },
194
+ "widgets:catalog:inbox-reader": { de: "Posteingang: Leser", en: "Inbox: reader" },
195
+ "widgets:catalog:inbox-reader-subtitle": {
196
+ de: "Mail-Verlauf mit Anhängen, Original-Betrachter und Plan der KI",
197
+ en: "Mail thread with attachments, original viewer and the AI plan",
198
+ },
199
+ "widgets:catalog:inbox-plan-title": { de: "Vorschlag der KI", en: "AI proposal" },
194
200
  "widgets:catalog:ai-text": { de: "AI-Text", en: "AI text" },
195
201
  "widgets:catalog:ai-text-subtitle": {
196
202
  de: "Ghost-Text-Completion, Correct, Translate, Rewrite",
@@ -0,0 +1,158 @@
1
+ // Inbox reader building blocks with a rent-management case: tenant reports a cold
2
+ // heating system, the property manager answers, the AI proposes follow-up steps.
3
+
4
+ import { useTranslation } from "@cosmicdrift/kumiko-renderer";
5
+ import {
6
+ AiSurface,
7
+ MessageReader,
8
+ PdfPreview,
9
+ SectionCard,
10
+ StepList,
11
+ type StepListItem,
12
+ type ThreadMessage,
13
+ } from "@cosmicdrift/kumiko-renderer/web";
14
+ import { type ReactNode, useMemo, useState } from "react";
15
+ import { buildSamplePdfBase64 } from "./sample-pdf";
16
+
17
+ const HEATING_THREAD: readonly ThreadMessage[] = [
18
+ {
19
+ id: "tenant-first",
20
+ author: "Anna Schneider",
21
+ address: "a.schneider@mieter.test",
22
+ direction: "incoming",
23
+ timeLabel: "Mo 08:14",
24
+ body: {
25
+ kind: "text",
26
+ text: "Guten Morgen,\nseit gestern Abend ist meine Heizung komplett kalt. Können Sie jemanden schicken?",
27
+ },
28
+ },
29
+ {
30
+ id: "manager-reply",
31
+ author: "Du",
32
+ direction: "outgoing",
33
+ timeLabel: "Mo 09:02",
34
+ body: {
35
+ kind: "text",
36
+ text: "Der Monteur kommt am Dienstag zwischen 8 und 10 Uhr. Bitte sorgen Sie für Zugang zur Wohnung.",
37
+ },
38
+ },
39
+ {
40
+ id: "tenant-second",
41
+ author: "Anna Schneider",
42
+ address: "a.schneider@mieter.test",
43
+ direction: "incoming",
44
+ timeLabel: "Heute 09:41",
45
+ body: {
46
+ kind: "text",
47
+ text: [
48
+ "Guten Tag,",
49
+ "der Monteur ist am Dienstag nicht gekommen, ich habe den ganzen Vormittag gewartet. Die Heizung ist weiter kalt, im Kinderzimmer sind es 15 Grad.",
50
+ "Ich erwarte heute einen neuen Termin. Ab sofort mindere ich die Miete um 20 Prozent, bis die Heizung wieder läuft.",
51
+ "",
52
+ "Am Mo., 9:02 schrieb Du <verwaltung@hausverwaltung.test>:",
53
+ "> Der Monteur kommt am Dienstag zwischen 8 und 10 Uhr.",
54
+ "> Bitte sorgen Sie für Zugang zur Wohnung.",
55
+ ].join("\n"),
56
+ },
57
+ attachments: [
58
+ {
59
+ id: "thermometer",
60
+ name: "thermometer-kinderzimmer.jpg",
61
+ meta: "Foto, 1,2 MB",
62
+ kind: "image",
63
+ onOpen: () => {},
64
+ },
65
+ {
66
+ id: "contract",
67
+ name: "Mietvertrag-Goethestr-12.pdf",
68
+ meta: "PDF, 2 Seiten",
69
+ kind: "pdf",
70
+ onOpen: () => {},
71
+ },
72
+ ],
73
+ },
74
+ ];
75
+
76
+ const HEATING_PLAN: readonly StepListItem[] = [
77
+ {
78
+ id: "case",
79
+ title: "Vorgang „Heizungsausfall Whg. 3“",
80
+ status: "done",
81
+ meta: "Angelegt von dir, Mo 09:05",
82
+ link: { label: "Öffnen", href: "#vorgang" },
83
+ },
84
+ {
85
+ id: "order",
86
+ title: "Neuer Auftrag an Heizung Schulz GmbH",
87
+ description: "Notdienst heute, Zugang über Hausmeister. Der alte Auftrag wird storniert.",
88
+ status: "open",
89
+ tags: [{ label: "Sendet eine Mail", tone: "accent" }],
90
+ actions: [
91
+ { id: "review", label: "Prüfen", variant: "primary", onClick: () => {} },
92
+ { id: "reject", label: "Ablehnen", variant: "ghost", onClick: () => {} },
93
+ ],
94
+ },
95
+ {
96
+ id: "reply",
97
+ title: "Antwort an Anna Schneider",
98
+ description: "Neuer Termin, Minderung erst nach Prüfung des Mangels.",
99
+ status: "locked",
100
+ lockedReason: "Auftrag",
101
+ tags: [{ label: "Sendet eine Mail", tone: "accent" }],
102
+ },
103
+ ];
104
+
105
+ export function InboxReaderExamples(): ReactNode {
106
+ const t = useTranslation();
107
+ const [activeTabId, setActiveTabId] = useState("mail");
108
+ const contractPdf = useMemo(
109
+ () => buildSamplePdfBase64(["Mietvertrag Goethestrasse 12, Whg. 3", "Heizung und Nebenkosten"]),
110
+ [],
111
+ );
112
+ return (
113
+ <SectionCard
114
+ title={t("widgets:catalog:inbox-reader")}
115
+ subtitle={t("widgets:catalog:inbox-reader-subtitle")}
116
+ >
117
+ <div className="grid gap-4 lg:grid-cols-[1fr_340px]" data-testid="inbox-reader-demo">
118
+ <MessageReader
119
+ thread={{ messages: HEATING_THREAD }}
120
+ activeTabId={activeTabId}
121
+ onTabChange={setActiveTabId}
122
+ attachmentTabs={[
123
+ {
124
+ id: "contract",
125
+ label: "Anhang 1: Mietvertrag-Goethestr-12.pdf",
126
+ render: () => (
127
+ <div className="h-[560px]">
128
+ <PdfPreview
129
+ variant="viewer"
130
+ source={{ base64: contractPdf }}
131
+ searchTerm="Heizung"
132
+ testId="inbox-reader-pdf"
133
+ />
134
+ </div>
135
+ ),
136
+ },
137
+ ]}
138
+ />
139
+ <div className="flex flex-col gap-4">
140
+ <AiSurface title="Einordnung der KI" label="Einordnung der KI">
141
+ <p className="m-0 text-sm leading-normal">
142
+ Die Heizung ist seit Montag kalt. Der vereinbarte Monteur ist nicht gekommen. Frau
143
+ Schneider kündigt eine Mietminderung an und will heute einen neuen Termin.
144
+ </p>
145
+ </AiSurface>
146
+ <StepList
147
+ title={t("widgets:catalog:inbox-plan-title")}
148
+ steps={HEATING_PLAN}
149
+ footerActions={[
150
+ { id: "reject-all", label: "Alle ablehnen", variant: "ghost", onClick: () => {} },
151
+ { id: "next", label: "Nächsten prüfen", variant: "primary", onClick: () => {} },
152
+ ]}
153
+ />
154
+ </div>
155
+ </div>
156
+ </SectionCard>
157
+ );
158
+ }
@@ -41,6 +41,7 @@ import {
41
41
  import { Wallet } from "lucide-react";
42
42
  import { type ReactNode, useEffect, useMemo, useState } from "react";
43
43
  import { euro, percent } from "../lib/format";
44
+ import { InboxReaderExamples } from "./InboxReaderExamples";
44
45
 
45
46
  const RESPONSE_TIMES = Array.from({ length: 48 }, (_, i) => ({
46
47
  atMs: i * 30 * 60 * 1000,
@@ -322,6 +323,7 @@ export function Widgets(): ReactNode {
322
323
  )}
323
324
 
324
325
  <InboxDemo />
326
+ <InboxReaderExamples />
325
327
  <FinancingCalculatorDemo />
326
328
  <FormFieldsDemo />
327
329
  <ComparisonDemo />
@@ -0,0 +1,28 @@
1
+ // Minimal text-only PDF so the viewer example needs no binary asset; xref offsets are computed.
2
+ function pageObjects(text: string, firstObjectNumber: number): readonly string[] {
3
+ const stream = `BT /F1 14 Tf 56 760 Td (${text}) Tj ET`;
4
+ return [
5
+ `<< /Type /Page /Parent 2 0 R /MediaBox [0 0 595 842] /Resources << /Font << /F1 << /Type /Font /Subtype /Type1 /BaseFont /Helvetica >> >> >> /Contents ${firstObjectNumber + 1} 0 R >>`,
6
+ `<< /Length ${stream.length} >>\nstream\n${stream}\nendstream`,
7
+ ];
8
+ }
9
+
10
+ export function buildSamplePdfBase64(pageTexts: readonly string[]): string {
11
+ const pageObjectNumbers = pageTexts.map((_, index) => 3 + index * 2);
12
+ const objects = [
13
+ "<< /Type /Catalog /Pages 2 0 R >>",
14
+ `<< /Type /Pages /Kids [${pageObjectNumbers.map((n) => `${n} 0 R`).join(" ")}] /Count ${pageTexts.length} >>`,
15
+ ...pageTexts.flatMap((text, index) => pageObjects(text, pageObjectNumbers[index] ?? 3)),
16
+ ];
17
+ let body = "%PDF-1.4\n";
18
+ const offsets: number[] = [];
19
+ objects.forEach((object, index) => {
20
+ offsets.push(body.length);
21
+ body += `${index + 1} 0 obj\n${object}\nendobj\n`;
22
+ });
23
+ const xrefOffset = body.length;
24
+ const entries = offsets.map((offset) => `${String(offset).padStart(10, "0")} 00000 n \n`);
25
+ body += `xref\n0 ${objects.length + 1}\n0000000000 65535 f \n${entries.join("")}`;
26
+ body += `trailer\n<< /Size ${objects.length + 1} /Root 1 0 R >>\nstartxref\n${xrefOffset}\n%%EOF`;
27
+ return btoa(body);
28
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "source": "samples/apps/use-all-bundled APP_FEATURES (composeFeatures includeBundled + signup)",
3
- "featureCount": 90,
3
+ "featureCount": 92,
4
4
  "features": [
5
5
  {
6
6
  "name": "account-security",
@@ -694,6 +694,94 @@
694
694
  "recommended": true
695
695
  }
696
696
  },
697
+ {
698
+ "name": "contact",
699
+ "description": "Contact inbox: an anonymous browser client (GET /contact/client.js) submits questions, contact requests, bug reports and wishes behind a honeypot, a minimum submit time and a single-use proof-of-work challenge; signed-in users file reports from the admin. Every request is stored platform-wide and every SystemAdmin is notified by mail, optionally also in a Telegram chat (option `telegram`, off by default); the notification names only the kind, the app and a link, never name, address, phone, subject or message, because mail and Telegram cannot be shredded. SystemAdmins reply by mail (Reply-To set, attachments, quoting the original) and mark requests done; a website sender gets a fixed acknowledgement, a signed-in reporter a copy and an in-app note. Personal data is crypto-shredding-ready and the EXT_USER_DATA hooks export and erase a user's requests.",
700
+ "toggleableDefault": null,
701
+ "adoptsBundledLists": true,
702
+ "requires": [
703
+ "config",
704
+ "delivery",
705
+ "user-data-rights",
706
+ "files",
707
+ "notes-history",
708
+ "channel-telegram"
709
+ ],
710
+ "optionalRequires": [],
711
+ "configReads": [],
712
+ "exposesApis": [],
713
+ "usesApis": [],
714
+ "extensionsUsed": [
715
+ {
716
+ "extensionName": "userData",
717
+ "entityName": "contact-request"
718
+ },
719
+ {
720
+ "extensionName": "userData",
721
+ "entityName": "contact-reply"
722
+ }
723
+ ],
724
+ "configKeys": [
725
+ {
726
+ "key": "reply-to",
727
+ "qualifiedName": "contact:config:reply-to",
728
+ "type": "text",
729
+ "scope": "system",
730
+ "default": "",
731
+ "encrypted": false,
732
+ "computed": false,
733
+ "validated": false,
734
+ "options": null,
735
+ "bounds": null,
736
+ "pattern": {
737
+ "regex": "^$|^[^\\s@<>]{1,64}@[^\\s@<>]{1,200}\\.[^\\s@<>]{2,24}$"
738
+ },
739
+ "writeRoles": [
740
+ "SystemAdmin"
741
+ ],
742
+ "readRoles": [
743
+ "SystemAdmin"
744
+ ]
745
+ },
746
+ {
747
+ "key": "telegram-chat",
748
+ "qualifiedName": "contact:config:telegram-chat",
749
+ "type": "text",
750
+ "scope": "system",
751
+ "default": "",
752
+ "encrypted": false,
753
+ "computed": false,
754
+ "validated": false,
755
+ "options": null,
756
+ "bounds": null,
757
+ "pattern": {
758
+ "regex": "^$|^(-?[0-9]{1,20}|@[A-Za-z0-9_]{5,32})$"
759
+ },
760
+ "writeRoles": [
761
+ "SystemAdmin"
762
+ ],
763
+ "readRoles": [
764
+ "SystemAdmin"
765
+ ]
766
+ }
767
+ ],
768
+ "secrets": [],
769
+ "writeHandlers": [
770
+ "contact:write:forward-request",
771
+ "contact:write:mark-done",
772
+ "contact:write:notify-reporter-in-app",
773
+ "contact:write:reply",
774
+ "contact:write:report",
775
+ "contact:write:send-reply-mail",
776
+ "contact:write:send-test",
777
+ "contact:write:submit"
778
+ ],
779
+ "uiHints": {
780
+ "displayLabel": "Contact",
781
+ "category": "communication",
782
+ "recommended": false
783
+ }
784
+ },
697
785
  {
698
786
  "name": "crypto-shredding",
699
787
  "description": "Operator-level crypto-shredding trigger. `forget-subject` erases a user or tenant subject key in the configured KMS adapter, making every PII field encrypted under it permanently unreadable (reads render the `[[erased]]` sentinel), and appends a `subject-forgotten` audit event. Requires a KMS adapter (`runProdApp({ kms })`). The automated Art.-17 deletion pipeline in `user-data-rights` erases keys itself; this command covers manual forgets (authority requests, operator recovery, tenant destroy).",
@@ -3164,6 +3252,37 @@
3164
3252
  "recommended": false
3165
3253
  }
3166
3254
  },
3255
+ {
3256
+ "name": "tenant-inactivity",
3257
+ "description": "Deletes abandoned free accounts: warns the tenant owners before the deadline, then files the regular tenant-lifecycle deletion request. Activity or the keep-account link restarts the period; tiers without a rule are exempt.",
3258
+ "toggleableDefault": null,
3259
+ "requires": [
3260
+ "sessions",
3261
+ "tenant",
3262
+ "tenant-lifecycle",
3263
+ "delivery"
3264
+ ],
3265
+ "optionalRequires": [],
3266
+ "configReads": [],
3267
+ "exposesApis": [],
3268
+ "usesApis": [],
3269
+ "extensionsUsed": [
3270
+ {
3271
+ "extensionName": "tenantData",
3272
+ "entityName": "tenant-inactivity-state"
3273
+ }
3274
+ ],
3275
+ "configKeys": [],
3276
+ "secrets": [],
3277
+ "writeHandlers": [
3278
+ "tenant-inactivity:write:keep-account"
3279
+ ],
3280
+ "uiHints": {
3281
+ "displayLabel": "Tenant Inactivity · Deletion",
3282
+ "category": "compliance",
3283
+ "recommended": false
3284
+ }
3285
+ },
3167
3286
  {
3168
3287
  "name": "tenant-lifecycle",
3169
3288
  "description": "Tenant-destroy lifecycle: request/cancel destruction with compliance-profile grace, auth 410 gate for teardown states, cron trigger after grace, and staged destroy runner (extension fan-out, subject-key erase, tenant tombstone).",
@@ -3173,7 +3292,8 @@
3173
3292
  "compliance-profiles"
3174
3293
  ],
3175
3294
  "optionalRequires": [
3176
- "sessions"
3295
+ "sessions",
3296
+ "data-retention"
3177
3297
  ],
3178
3298
  "configReads": [],
3179
3299
  "exposesApis": [
@@ -3183,6 +3303,18 @@
3183
3303
  "compliance.forTenant"
3184
3304
  ],
3185
3305
  "extensionsUsed": [
3306
+ {
3307
+ "extensionName": "tenantDestructionHold",
3308
+ "entityName": "tenant-lifecycle"
3309
+ },
3310
+ {
3311
+ "extensionName": "tenantData",
3312
+ "entityName": "tenant-compliance-profile"
3313
+ },
3314
+ {
3315
+ "extensionName": "tenantData",
3316
+ "entityName": "tenant-retention-override"
3317
+ },
3186
3318
  {
3187
3319
  "extensionName": "tenantLifecycleStatus",
3188
3320
  "entityName": "tenant-lifecycle"
@@ -0,0 +1,4 @@
1
+ {
2
+ "version": 1,
3
+ "tables": ["read_contact_replies", "read_contact_requests"]
4
+ }
@@ -11,6 +11,7 @@
11
11
  "screenshots": "bun x playwright test e2e/screenshots.spec.ts --config=playwright.config.ts",
12
12
  "billing-gallery": "bun x playwright test --config=playwright.billing-gallery.config.ts",
13
13
  "docs-guides": "bun x playwright test e2e/docs-guides.screenshots.spec.ts --config=playwright.config.ts && bun x playwright test --config=playwright.billing-docs.config.ts",
14
+ "contact-shots": "bun x playwright test e2e/contact.screenshots.spec.ts --config=playwright.config.ts",
14
15
  "e2e": "bun x playwright test e2e/mfa-login.spec.ts --config=playwright.config.ts",
15
16
  "gen:manifest": "bun run scripts/gen-feature-manifest.ts",
16
17
  "gen:sample-index": "bun run scripts/gen-sample-index.ts"
@@ -8,6 +8,7 @@ import { chromium } from "@playwright/test";
8
8
  import { E2E_PORTS } from "../../e2e/e2e-ports";
9
9
 
10
10
  const PORT = E2E_PORTS["framework/use-all-bundled"];
11
+ const FAKE_TELEGRAM_PORT = E2E_PORTS["framework/use-all-bundled-fake-telegram"];
11
12
  const PRINT_SERVICE_PORT = E2E_PORTS["framework/use-all-bundled-puppeteer-service"];
12
13
  // Both sides of the print service handshake; any value of 16+ characters will do for a local run.
13
14
  const PRINT_SERVICE_TOKEN = "use-all-bundled-e2e-print-service";
@@ -18,6 +19,7 @@ const appConfig = defineAppE2eConfig({
18
19
  ...PLAYWRIGHT_DEMO_ENV,
19
20
  PUPPETEER_SERVICE_URL: `http://127.0.0.1:${PRINT_SERVICE_PORT}`,
20
21
  PUPPETEER_AUTH_TOKEN: PRINT_SERVICE_TOKEN,
22
+ SAMPLE_TELEGRAM_API_URL: `http://127.0.0.1:${FAKE_TELEGRAM_PORT}`,
21
23
  },
22
24
  });
23
25
 
@@ -29,6 +29,7 @@ import { foldersClient } from "@cosmicdrift/kumiko-bundled-features/folders/web"
29
29
  import { inboundMailFoundationClient } from "@cosmicdrift/kumiko-bundled-features/inbound-mail-foundation/web";
30
30
  import { jobsClient } from "@cosmicdrift/kumiko-bundled-features/jobs/web";
31
31
  import { managedPagesClient } from "@cosmicdrift/kumiko-bundled-features/managed-pages/web";
32
+ import { notesHistoryClient } from "@cosmicdrift/kumiko-bundled-features/notes-history/web";
32
33
  import { sessionsClient } from "@cosmicdrift/kumiko-bundled-features/sessions/web";
33
34
  import { tagsClient } from "@cosmicdrift/kumiko-bundled-features/tags/web";
34
35
  import { textBlocksClient } from "@cosmicdrift/kumiko-bundled-features/template-resolver/web";
@@ -119,6 +120,8 @@ createKumikoApp({
119
120
  userProfileClient(),
120
121
  customFieldsClient(),
121
122
  foldersClient(),
123
+ // The contact request detail frames its internal notes with the NotesSection extension.
124
+ notesHistoryClient(),
122
125
  inboundMailFoundationClient(),
123
126
  complianceProfilesClient(),
124
127
  featureTogglesClient(),
@@ -5,13 +5,20 @@
5
5
  // (#1258): an open screen not reachable via nav is no longer an eligible
6
6
  // fallback candidate.
7
7
 
8
+ import { ContactScreens } from "@cosmicdrift/kumiko-bundled-features/contact";
8
9
  import { MAIL_ACCOUNT_LIST_SCREEN_QN } from "@cosmicdrift/kumiko-bundled-features/inbound-mail-foundation";
9
- import { defineFeature, type FeatureDefinition } from "@cosmicdrift/kumiko-framework/engine";
10
+ import {
11
+ access,
12
+ defineFeature,
13
+ type FeatureDefinition,
14
+ } from "@cosmicdrift/kumiko-framework/engine";
10
15
  import { ADMIN_NAV_QN, ADMIN_NAV_WORKSPACES } from "./admin-nav-feature";
11
16
 
17
+ const PLATFORM_WORKSPACES = ["admin-shell:workspace:platform"] as const;
18
+
12
19
  export const appScreensFeature: FeatureDefinition = defineFeature("app-screens", (r) => {
13
20
  r.describe("App-side nav placement for the user-profile self-service page and the mailbox list.");
14
- r.requires({ features: ["user-profile", "inbound-mail-foundation"] });
21
+ r.requires({ features: ["user-profile", "inbound-mail-foundation", "contact"] });
15
22
  r.nav({
16
23
  id: "profile",
17
24
  label: "screen:profile.title",
@@ -40,8 +47,45 @@ export const appScreensFeature: FeatureDefinition = defineFeature("app-screens",
40
47
  workspaces: ADMIN_NAV_WORKSPACES,
41
48
  order: 20,
42
49
  });
50
+ r.nav({
51
+ id: "contact-requests",
52
+ label: "screen:request-list.title",
53
+ icon: "mail",
54
+ screen: ContactScreens.requestList,
55
+ order: 25,
56
+ access: { roles: access.systemAdmin },
57
+ workspaces: PLATFORM_WORKSPACES,
58
+ });
59
+ r.nav({
60
+ id: "contact-forwarding",
61
+ label: "nav:contact-forwarding.title",
62
+ icon: "settings",
63
+ screen: ContactScreens.forwarding,
64
+ parent: ADMIN_NAV_QN,
65
+ order: 30,
66
+ access: { roles: access.systemAdmin },
67
+ workspaces: ADMIN_NAV_WORKSPACES,
68
+ });
69
+ r.nav({
70
+ id: "help",
71
+ label: "nav:help.title",
72
+ icon: "info",
73
+ order: 90,
74
+ workspaces: ADMIN_NAV_WORKSPACES,
75
+ });
76
+ r.nav({
77
+ id: "contact-report",
78
+ label: "screen:report.title",
79
+ icon: "mail",
80
+ screen: ContactScreens.report,
81
+ parent: "app-screens:nav:help",
82
+ order: 10,
83
+ workspaces: ADMIN_NAV_WORKSPACES,
84
+ });
43
85
  r.translations({
44
86
  keys: {
87
+ "nav:contact-forwarding.title": { de: "Weiterleitung", en: "Forwarding" },
88
+ "nav:help.title": { de: "Hilfe", en: "Help" },
45
89
  "nav:mail-accounts.title": { de: "Postfächer", en: "Mailboxes" },
46
90
  "screen:profile.title": { de: "Profil", en: "Profile" },
47
91
  "nav:content.title": { de: "Inhalte", en: "Content" },