daneden / Zeitgeist

👁 An iOS app for keeping an eye on your Vercel deployments
http://zeitgeist.daneden.me
Apache License 2.0
190 stars 7 forks source link

[Enhancement] Add labels/indicators for production vs. preview deployments #30

Closed daneden closed 3 years ago

daneden commented 3 years ago

Sometimes it can be helpful to see at a glance whether a deployment was pushed to production or as a preview. It would be nice to be able to differentiate these deployment types via some icon or label, either in the list or in detail views.

As a bonus, it would be nice to be able to see associated deployment domain aliases. This might require some additional fetch work on the detail view, but is possible via Vercel’s API:

curl "https://api.vercel.com/v2/now/deployments/:id/aliases" -H "Authorisation: Bearer <token>"
=> {
  "aliases": [
    {
      "uid": String
      "alias": URLString
      "created": DateString
      "redirect": null
    },
    ...
  ]
}