scribe/src
Edward Loveall f05a12a880
Add support for missing posts
Posts, like 8661f4724aa9, can go missing if the account or post was
removed. In this case, the API returns data like this:

```json
{
  "data": {
    "post": null
  }
}
```

When this happens, we can detect it because the parsed response now has
a nil value: `response.data.post == nil` and construct an `EmptyPage`
instead of a `Page`. The `Articles::Show` action can then render
conditionally based on if the response from `PageConverter` is a `Page`
or an `EmptyPage`.
2022-06-17 16:00:01 -04:00
..
actions Add support for missing posts 2022-06-17 16:00:01 -04:00
classes Add support for missing posts 2022-06-17 16:00:01 -04:00
clients Proxy GitHub gists with rate limiting 2022-01-23 15:05:46 -05:00
components Proxy GitHub gists with rate limiting 2022-01-23 15:05:46 -05:00
css Add visible version 2022-01-04 21:26:53 -05:00
emails Initial app 2021-05-01 17:03:38 -04:00
js Initial app 2021-05-01 17:03:38 -04:00
models Add support for missing posts 2022-06-17 16:00:01 -04:00
operations Initial app 2021-05-01 17:03:38 -04:00
pages Fix redirection pattern 2022-03-12 12:03:23 -05:00
queries Initial app 2021-05-01 17:03:38 -04:00
serializers Initial app 2021-05-01 17:03:38 -04:00
app.cr Remove the need for a DATABASE_URL 2022-05-21 11:34:28 -04:00
app_server.cr Upgrade Crystal to 1.2.1 and Lucky to 0.29.0 2021-12-12 12:01:55 -05:00
constants.cr Proxy GitHub gists with rate limiting 2022-01-23 15:05:46 -05:00
scribe.cr Initial app 2021-05-01 17:03:38 -04:00
shards.cr Upgrade Crystal to 1.2.1 and Lucky to 0.29.0 2021-12-12 12:01:55 -05:00
start_server.cr Upgrade Crystal to 1.2.1 and Lucky to 0.29.0 2021-12-12 12:01:55 -05:00
version.cr Add support for missing posts 2022-06-17 16:00:01 -04:00