zmoog / dolores

Apache License 2.0
0 stars 0 forks source link

Post recap on area specific channels (work, personal, professional, wellness, etc) #5

Open zmoog opened 1 year ago

zmoog commented 1 year ago

Instead of publishing all recaps to the same channel (#bots), partition scheduled recap message on different channels.

zmoog commented 12 months ago

Updating bot config to support board and channel IDs for scheduled tasks:

boards = {
    "elastic": {
        "in_progress": {
            "board_id": "<REDACTED>",
            "channel_id": "<REDACTED>",
        },
zmoog commented 12 months ago

We should group the card list by labels, or even send multiple messages for each labels group.

zmoog commented 12 months ago

Adding Jinja2 template engine to format text message. Using https://realpython.com/primer-on-jinja-templating/#render-your-first-jinja-template as a primer to use Jinja2 as a Python library.

Jinja2 has a nice feature to manage whitespace and newlines, I saved a small TIL https://github.com/zmoog/til/commit/25c7141e361e265cc4895196c4b8861970230dee