v0.5.0
-
@lowdefy/modules-mongodb-layout: ### Patch Changes
-
#55
eb4971aThanks @Gervwyk! - Fetch the notifications unread-count request on mount so the bell badge actually renders.The
pagecomponent already wirednotifications/unread-count-requestinto itsrequestsarray (whenhide_notificationsis false), andnotification-config.yamlreads the count via_request: notifications_unread_count.0.total. But the_requestoperator only reads previously-fetched data — it does not auto-trigger a fetch — and the layout never invoked the request, so the count stayednull, fell through_if_noneto0, and the badge never appeared regardless of how many unread notifications a user had.onMountAsyncruns the fetch in parallel with the consumer's mount sequence, so it neither blocks render nor delays consumer-supplied mount actions. -
@lowdefy/modules-mongodb-notifications: ### Minor Changes
-
#52
246c413Thanks @Gervwyk! - Export thefile-downloadpage andnotifications-files-bucket-publicconnection from the notifications module. Previously shipped as scaffolding in0.4.2but not consumable; the manifest now wires the page, the public S3 connection, and the supporting secrets so notification templates can link to/{entryId}/file-download?_id={notification._id}&index={file_index}to redirect recipients to a presigned S3 URL for an attachment without requiring them to be logged in.Secrets to add:
FILES_S3_ACCESS_KEY_ID,FILES_S3_SECRET_ACCESS_KEY,FILES_S3_REGION,FILES_S3_BUCKET_PUB— share with thefilesmodule by convention when both are installed.No new vars are required on the module entry.