【PAID】Plugin to Show Badges on Posts

To give an idea of why it might take 2/3 days (which, to be fair, I’d think of as slight overestimate), here are some things I’d need to consider as a developer writing this thing:

  • There’s no mockup; what’s it going to look like?
    • On desktop?
    • On mobile?
    • With a dark theme, or vincent or something else?
  • Is it going to slow down my page load? (Badges don’t come down the wire already, so I have to make a separate request somehow)
  • The posts are rendered as widgets, meaning that there’s no plugin outlet there, and getting changes made to core is a big pain, meaning the content insertion bit is not straightforward. How do I take the JSON I’ll get from the API and put it into the widget? (NB that this is the most likely part to break in the future)
  • How often do I need to refresh the badges?
    • When the page is reloaded?
    • Each time a topic is viewed?
    • Do I need to live update them?
  • How many badges am I going to show? Is it different for desktop and mobile? What if they don’t fit in the space allowed?
  • Which badges show up? The most recent? The most ‘prestigious’?
  • Do I need to write a separate endpoint for this, or can I use the existing one for badges? (Depends on the answers to the previous questions)
  • What happens when I hover, or click on a badge?

I can imagine some of the answers to these (and could come up with suggestions for all of them), but each time I imagine something I’m upping the risk of delivering something a client doesn’t want substantially, which makes it usually not worth the time savings.

So, it’s a less straightforward problem than you might imagine, and certainly not something that you’d want to stiff someone on.

13 Likes