gregmorris
gregmorris

New Plugin: Reply Count: greg-morris.micro.blog

|
Embed
Progress spinner
jarrod
jarrod

@gregmorris Yes!! I was trying to figure this out not long ago and had to give up. Thank you!

|
Embed
Progress spinner
jarrod
jarrod

@gregmorris Got it working! 😄 (Small typo on the plugin page’s Add Partial section; missing a curly bracket for the {{ partial "replycount.html" . }})

|
Embed
Progress spinner
jarrod
jarrod

@gregmorris Small nitpick question: How hard would it be to have some logic to show “Reply” if the reply count = 1 and otherwise “Replies”? I know the current “Replies” is user-editable text box, so maybe it’s Replies/Reply by default and then if they add text there it overrides?

|
Embed
Progress spinner
gregmorris
gregmorris

@jarrod I was thinking about an options to hide this if zero and some other improvements

|
Embed
Progress spinner
jarrod
jarrod

@gregmorris Nice! Looking forward to seeing what you come up with. 😁

|
Embed
Progress spinner
gregmorris
gregmorris

@jarrod I have it working, just need to test it a bit more.

|
Embed
Progress spinner
jarrod
jarrod

@gregmorris So speedy!

|
Embed
Progress spinner
gregmorris
gregmorris

@jarrod I have pushed these changes this morning, it removes the option to hide text for the moment, but you can simply add a space if needed. This will come back in the next update

|
Embed
Progress spinner
jarrod
jarrod

@gregmorris Should I be able to update the plugin?

|
Embed
Progress spinner
gregmorris
gregmorris

@jarrod I honestly don’t know how it works. The only reference I can find is that micro.blog ‘periodically checks for updates’ but that level of information doesn’t surprise me 😃

|
Embed
Progress spinner
In reply to
jarrod
jarrod

@gregmorris Lol I guess I’ll wait to see if the update shows up on my plugins page. I just updated some others from there.

|
Embed
Progress spinner
jsonbecker
jsonbecker

@gregmorris as long as you increment the version number in the plugin json, it should let users update it very quickly.

|
Embed
Progress spinner
gregmorris
gregmorris

@jsonbecker 👌 that’s done so should work as intended.

|
Embed
Progress spinner
jarrod
jarrod

@gregmorris @jsonbecker Still showing 1.0.0 on my plug-ins page, but we’ll see if it propogates out sometime today. 😊

|
Embed
Progress spinner