shreshthmohan / next-blog

next-blog-mu-three.vercel.app
2 stars 0 forks source link

Allow user to customize publish filter #60

Closed shreshthmohan closed 2 years ago

shreshthmohan commented 2 years ago

Currently, issues with a draft label is published.

Allow the user to provide a list of labels which if matched will be fetched and published as a post. Will need the see if the URL params support multiple values for the labels field

labels A list of comma separated label names. Example: bug,ui

Decided not to do this since it increase the complexity by increasing the number of async requests, one each for each label. So instead we can easily solve this by having one publish label. Comma separated list of labels when fetching applies & logic.