Repository navigation
v1.1.0
-
@lowdefy/modules-mongodb-plugins: ### Minor Changes
-
#306
6006ed7Thanks @puffin-mrm! - A viewer can pick their notification sound. TheNotificationSoundblock takessounds, a list of{ id, title, description?, src? }: the first is the default, a sound withoutsrcis the chirp, and a pick that is no longer offered falls back to the first. Sound files play through the same Web Audio context as the chirp, so the viewer's first click or key press unlocks them for live notifications too. Withpicker: truethe block draws a dropdown of the sounds, each with a button to hear it; picking one stores it in the browser beside the on/off setting, turns the sound on and plays it. While the sound is off the dropdown readsoffLabel("Off"), and the Sound switch turns it off.Pass the list through the notifications module's new
soundsvar, which reaches the page-wide player and the inbox's Sound switch:- id: notifications vars: sounds: _ref: sounds.yaml # [{ id: chirp, title: Chirp }, { id: bell, title: Bell, src: /sounds/bell.mp3 }]
To let the viewer pick, draw the block on a page with the same list:
- id: notification_sound_picker type: NotificationSound properties: app: _build.app: slug picker: true sounds: _ref: sounds.yaml
Without
soundsnothing changes: the switch and the chirp, as before. -
@lowdefy/modules-mongodb-activities: ### Patch Changes
-
#305
0931d8eThanks @puffin-mrm! - Apps on Lowdefy 7 no longer get build warnings from the deal page's pagers, the task modal's person picker or the file list. Each of these, and the deals list's loading placeholders, set a block property Lowdefy 7 doesn't have; nothing changes on screen. -
@lowdefy/modules-mongodb-deals: ### Patch Changes
-
#305
0931d8eThanks @puffin-mrm! - Apps on Lowdefy 7 no longer get build warnings from the deal page's pagers, the task modal's person picker or the file list. Each of these, and the deals list's loading placeholders, set a block property Lowdefy 7 doesn't have; nothing changes on screen. -
@lowdefy/modules-mongodb-files: ### Patch Changes
-
#305
0931d8eThanks @puffin-mrm! - Apps on Lowdefy 7 no longer get build warnings from the deal page's pagers, the task modal's person picker or the file list. Each of these, and the deals list's loading placeholders, set a block property Lowdefy 7 doesn't have; nothing changes on screen. -
@lowdefy/modules-mongodb-notifications: ### Minor Changes
-
#306
6006ed7Thanks @puffin-mrm! - A viewer can pick their notification sound. TheNotificationSoundblock takessounds, a list of{ id, title, description?, src? }: the first is the default, a sound withoutsrcis the chirp, and a pick that is no longer offered falls back to the first. Sound files play through the same Web Audio context as the chirp, so the viewer's first click or key press unlocks them for live notifications too. Withpicker: truethe block draws a dropdown of the sounds, each with a button to hear it; picking one stores it in the browser beside the on/off setting, turns the sound on and plays it. While the sound is off the dropdown readsoffLabel("Off"), and the Sound switch turns it off.Pass the list through the notifications module's new
soundsvar, which reaches the page-wide player and the inbox's Sound switch:- id: notifications vars: sounds: _ref: sounds.yaml # [{ id: chirp, title: Chirp }, { id: bell, title: Bell, src: /sounds/bell.mp3 }]
To let the viewer pick, draw the block on a page with the same list:
- id: notification_sound_picker type: NotificationSound properties: app: _build.app: slug picker: true sounds: _ref: sounds.yaml
Without
soundsnothing changes: the switch and the chirp, as before. -
#302
aeb1397Thanks @Gervwyk! - release-notes: the release note email now shows the note's body, with its headings, lists, links and images, and a footer link to turn release emails off on What's new. A video in the note becomes a link to the note on What's new. Pelican's newrelease.testevent sends that email to one address, so the team can check it before announcing; it writes nothing and rings no bell.notifications: a new exported
send-emailendpoint renders one notification and emails it to one address without storing it, for test sends.Migration:
- An app that restyles the email with
email_templateadds the body to its copy of the template, as the module docs show. Without it, its email carries no body.
- An app that restyles the email with
-
@lowdefy/modules-mongodb-release-notes: ### Minor Changes
-
#302
76ec282Thanks @Gervwyk! - Breaking: the release-notes module no longer rendersCHANGELOG.md. It now takes release notes the team announces from Pelican, which arrive on the support module's signed webhook. The support webhook handsrelease.*events to the module, and the module answers Pelican'srelease.audiencewith live counts of who an announcement would reach.- release-notes: the
contentvar is removed. New vars:audiences(the groups Pelican can announce to, each a filter over the person'suser-membersrow),email_templateandregion(required). The module now depends onnotifications,filesandevents, declares three collections (release-notes,release-notes-recipients,release-notes-preferences) and read-only views of the authuser-members,usersanduser-organizations, and exports an internalreceiveendpoint. - support: new var
release_notes_endpoint, the release-notes receiver's full endpoint id (such asrelease-notes/receive). With it null, the webhook answersrelease.*events 404.app_versionis now described as the app's bare X.Y.Z version, which Pelican compares with the release it announces.
Migration:
- Remove
contentfrom the release-notes entry and setregion(the public files bucket's region) and anyaudiences. - Add an
eventsmodule entry if the app has none. - Set the support module's
release_notes_endpointto{release-notes entry id}/receive, andapp_versionfrom the build. - Create the two indexes on
release-notes-recipientslisted in the module's docs.
- release-notes: the
-
#302
308e228Thanks @Gervwyk! - release-notes: an announced release note now reaches the app's members.release.announcedstores the note and a recipient row per person the audience reaches, and answers{ notified, emailed, opted_out }. A detacheddeliverchain copies the note's images and videos into the public files bucket and sends each person onerelease-notenotification per version, in the bell and by email. The new exportedsweependpoint restarts a chain that stalled.Migration:
- Set
CRON_SECRETin the app's environment, which detached endpoint calls need. - Add an app endpoint that calls
release-notes/sweepevery 10 minutes with aschedules:cron, as the module docs show.
- Set
-
#302
aeb1397Thanks @Gervwyk! - release-notes: the release note email now shows the note's body, with its headings, lists, links and images, and a footer link to turn release emails off on What's new. A video in the note becomes a link to the note on What's new. Pelican's newrelease.testevent sends that email to one address, so the team can check it before announcing; it writes nothing and rings no bell.notifications: a new exported
send-emailendpoint renders one notification and emails it to one address without storing it, for test sends.Migration:
- An app that restyles the email with
email_templateadds the body to its copy of the template, as the module docs show. Without it, its email carries no body.
- An app that restyles the email with
-
#302
9602441Thanks @Gervwyk! - release-notes: What's new lists the notes announced to the signed-in person, newest first, beside the one picked (urlQuery.note, else the newest). Images and videos embedded in a note load from the public files bucket; one not copied yet shows a placeholder. A New mark clears once the person has opened the note, in every organisation. A switch at the foot, Email me about new releases, saves the person's choice;urlQuery.section=emailscrolls to it. The menu link now reads "What's new".The module now reads the
FILES_S3_BUCKET_PUBsecret.Migration: set
FILES_S3_BUCKET_PUB(the files module's public bucket) for the app. -
@lowdefy/modules-mongodb-support: ### Minor Changes
-
#302
76ec282Thanks @Gervwyk! - Breaking: the release-notes module no longer rendersCHANGELOG.md. It now takes release notes the team announces from Pelican, which arrive on the support module's signed webhook. The support webhook handsrelease.*events to the module, and the module answers Pelican'srelease.audiencewith live counts of who an announcement would reach.- release-notes: the
contentvar is removed. New vars:audiences(the groups Pelican can announce to, each a filter over the person'suser-membersrow),email_templateandregion(required). The module now depends onnotifications,filesandevents, declares three collections (release-notes,release-notes-recipients,release-notes-preferences) and read-only views of the authuser-members,usersanduser-organizations, and exports an internalreceiveendpoint. - support: new var
release_notes_endpoint, the release-notes receiver's full endpoint id (such asrelease-notes/receive). With it null, the webhook answersrelease.*events 404.app_versionis now described as the app's bare X.Y.Z version, which Pelican compares with the release it announces.
Migration:
- Remove
contentfrom the release-notes entry and setregion(the public files bucket's region) and anyaudiences. - Add an
eventsmodule entry if the app has none. - Set the support module's
release_notes_endpointto{release-notes entry id}/receive, andapp_versionfrom the build. - Create the two indexes on
release-notes-recipientslisted in the module's docs.
- release-notes: the