Original package: atom-message-panel
This package is under development and is not stabel for production, but fill free to test it out and report issues and of course PR's are welcome any day!
This package is in development and API can still change
First thing first, you need to add the services to your package.json
..."consumedServices": {"message-panel-view": {"versions": {"1.0.0": "consumeMessagePanelView"}},"plain-message-view": {"versions": {"1.0.0": "consumePlainMessageView"}},"line-message-view": {"versions": {"1.0.0": "consumeLineMessageView"}}}...
Next thing is to activate the services in your package like this:
consumeMessagePanelView: (service) ->@panel = new servicetitle: "<span class=\"icon-bug\"></span> JSLint report"rawTitle: truecloseMethod: "destroy"consumePlainMessageView: (service) ->@plainMessage = serviceconsumeLineMessageView: (service) ->@lineMessage = service
Now your ready to send messages to the user:
toggle: ->@panel.attach()@panel.add new @plainMessagemessage: "test"className: "text-success"@panel.add new @lineMessagemessage: "test"className: "text-error"line: 10character: 3
See the API over at the original npm package atom-message-panel#api for now.
Changes can/will come so check the source to verify the API call before creating an issue.
MIT © tcarlsen
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.