-
-
Notifications
You must be signed in to change notification settings - Fork 382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Emoji Syntax Gravatars #105
Emoji Syntax Gravatars #105
Conversation
* Propose $simeonwillbanks$ syntax; $ as delimiter * Add AvatarFilter test for template method * Add GravatarFilter tests for parsing and various context options * AvatarFilter defines interface * GravatarFilter defines concrete implementation * GravatarFilter requires service for converting username to email
class Pipeline | ||
class AvatarFilter < Filter | ||
|
||
DELIMITER = "$".freeze |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I realize there was discussion of this back in #56, so I'm a bit late here. But I'm pretty 👎 at adding this to the pipeline. It feels like adding some strange syntax for something that not be used very often. |
@rsanheim I usually prefer to add filters as a separate gem (e.g.
Yes, we are depending on the interface of Gravatar, but that's been stable for a long time. The addition of @simeonwillbanks 👍 thanks for the pull. I'll review it after we decide this discussion ^^ |
@rsanheim any more thoughts on this? |
So, I may have a much more focused vision for html-pipeline in general than other maintainers. But I think adding things that we aren't using in github.com directly adds maintenance burden in the long term without much gain. I'm 👎 this change or other similar changes that aren't direct fixes or improvements we can use in .com. The more focused we keep the pipeline, the better. |
I tend to agree with @rsanheim's sentiments. Our open source projects at GitHub that have struggled are the ones that tried to be everything to everyone. I would stay focused on our needs, and encourage people to release their custom extensions as separate gems (like |
Fair enough. @simeonwillbanks could you create and maintain a html-pipeline-gravatar gem? We can add a section to the README linking to 3rd party filters. |
Fixes #56
Notes