Playing around with some features of seed and noti...
# seed
g
Playing around with some features of seed and noticed that the slack webhooks are pretty bad, was hoping they could get a bit of an upgrade? Something maybe like this?
The payload for this would be:
Copy code
{
  "blocks": [
    {
      "type": "context",
      "elements": [
        {
          "type": "image",
          "image_url": "<https://avatars.githubusercontent.com/u/32212214?v=4>",
          "alt_text": "Garret Harp"
        },
        {
          "type": "mrkdwn",
          "text": "*Garret Harp* has started promotion of *staging* to *production*."
        }
      ]
    },
    {
      "type": "actions",
      "elements": [
        {
          "type": "button",
          "text": {
            "type": "plain_text",
            "text": "View Build",
            "emoji": true
          },
          "url": "<https://console.seed.run/my-org/my-app/activity/stages/production/builds/1>"
        },
        {
          "type": "button",
          "text": {
            "type": "plain_text",
            "text": "View Stage",
            "emoji": true
          },
          "url": "<https://console.seed.run/my-org/my-app/stages/production>"
        },
        {
          "type": "button",
          "text": {
            "type": "plain_text",
            "text": "View Commit",
            "emoji": true
          },
          "url": "<https://github.com/repo/name/commit/some-id>"
        }
      ]
    }
  ]
}
Basically just a condensed view of the build page would be nice compared to what the current messages are.
f
Ah that makes sense!
I will pass it on to the team.