-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add ability to use cards #18
Conversation
The code looks good so far, but now I know what you mean. Downstream is not really the correct icon reference |
I need more time to really review this (I no longer use HipChat) but @mujiburger what do you think of having cards as the default behavior? |
I was worried about breaking somebody's custom templates for the original message style without telling them, but it doesn't look like that feature has been out for that long. Providing a Any input on the default card template would be appreciated. I went for less clutter in the collapsed card, but some may prefer more information without a click. The "activity" which is what shows before the card is expanded supports a pretty full subset of HTML so it is flexible. |
If cards have different behavior, and different configuration, should they be two separate plugins? Perhaps a hipchat and hipchat_card plugin? I would rather have two plugins with simple configurations than a mono-plugin with many configuration options that is more difficult to understand. |
btw, the card functionality looks awesome |
Since it is buried in the documentation updates of the PR, I wanted to make sure it was clear. As of right now, cards aren't supported on the hipchat mobile apps. The plugin sends both formats and those apps display the default message. A separate cards plugin would need to provide the same functionality as the main plugin in addition to handling cards. |
What should we do now? Migrate the drone config to 0.5 and merge this pr? |
@tboerger I would prefer to accelerate efforts to create |
@bradrydzewski so you want to close this PR? |
code here lgtm does need updated with master though, and also pending @bradrydzewski's decision here |
Any updates? |
@mujiburger I'm interested in supporting this. If you mind updating with the 0.5 updates I made I would totally review. Thanks! |
6f1e5cf
to
63ea3bd
Compare
I took a quick look this morning. The conflict is strong with this one and I'm swamped at the moment. I'll take a harder look at it after the holidays. |
Yea, it was a major update to move to supporting Drone 0.5. Take your time! |
Just curious if/how refactoring this plugin to use some hipchat golang libraries would affect this effort? May make it easier? Looking at potentially using either:
|
Closing for now as I don't have time to update it and it seems to have gone stale. |
This adds rudimentary support for hipchat cards. Cards are much more extensible than the basic message format.
This maintains legacy behavior by default.
Here is the normal message, a collapsed card, an expanded card, and a collapsed failure: