stackernews / stacker.news

Internet communities that pay you Bitcoin
https://stacker.news
MIT License
403 stars 105 forks source link

Add bot badge to items created with API key #1209

Closed ekzyis closed 4 weeks ago

ekzyis commented 4 weeks ago

Description

This adds a bot badge to any item that was created with an API key.

Screenshots

2024-05-29-025646_594x85_scrot

Additional Context

See https://github.com/stackernews/stacker.news/pull/1205#issuecomment-2138546513

Checklist

Are your changes backwards compatible? Please answer below:

Yes, I only added a column with a default and apiKey is nullable in the GraphQL typedef.

Did you QA this? Could we deploy this straight to production? Please answer below:

Yes

For frontend changes: Tested on mobile? Please answer below:

Yes

Did you introduce any new environment variables? If so, call them out explicitly here:

No