server icon indicating copy to clipboard operation
server copied to clipboard

Assistant for push messages in GUI

Open sebw opened this issue 6 years ago • 9 comments
trafficstars

I like how Simplepush presents a couple of different ways to generate push messages on their website:

https://simplepush.io/#libraries

How about having a similar feature directly in the server GUI? That would include the bits documented here https://gotify.net/docs/pushmsg

sebw avatar Mar 15 '19 15:03 sebw

We already have the API documentation included in the binary. Doing so would require baking documentations into the binary as well.

@jmattheis What do you think about this? I think a link to the official documentation in the WebUI should be enough.

eternal-flame-AD avatar Mar 15 '19 15:03 eternal-flame-AD

Indeed, let's keep the code base light. A simple link taking to examples would be perfect!

sebw avatar Mar 15 '19 16:03 sebw

Yeah, we can include a link to the documentation. How about adding the following links under the list of applications in the left navigation

  • Documentation
  • Source Code
  • Issues

jmattheis avatar Mar 15 '19 17:03 jmattheis

I would prefer a page footer that include links to the documentation. The left navigation should be reserved only for selecting applications.

eternal-flame-AD avatar Mar 15 '19 17:03 eternal-flame-AD

Don´t add links to "admin dokumentation" to "user webpages" ;-) But a inconspicuous link of course is helpful.

pm-pm avatar Mar 15 '19 18:03 pm-pm

I actually discovered https://gotify.net/docs/more-pushmsg just now. That's exactly the kind of example I was looking for when opening this case.

Can we merge https://gotify.net/docs/pushmsg and https://gotify.net/docs/more-pushmsg ? I can take care of it.

sebw avatar Mar 15 '19 18:03 sebw

@sebw I did the separation because there are many programming languages for which examples could be added. I'd say a link (which exists) to the more pushmsg page is enough. Maybe we can highlight this link a little more.

jmattheis avatar Mar 15 '19 18:03 jmattheis

@jmattheis yup, makes sense. Renaming to Library and putting it right after pushmsg would probably be a bit clearer?

sebw avatar Mar 15 '19 18:03 sebw

Renaming is okay, I don't think it fits into getting started, as it is a more advanced usage of the gotify/server api.

jmattheis avatar Mar 15 '19 18:03 jmattheis