Skip to content

[Notifications] Open "link" in browser  #6236

Closed

Description

@SamuAlfageme

This is quite similar to the FR in #5922, this time about the "link" property of the notifications we get from the server. This got my eye on Marketplace notifications.

Tagging as discussion to see if this is something that would bring value to users. e.g. an admin clicking on a desktop notification to open an app's page in marketplace to update the version:

{
   "ocs":{
      "meta":{
         "status":"ok",
         "statuscode":200,
         "message":null,
         "totalitems":"",
         "itemsperpage":""
      },
      "data":[
         {
            "notification_id":1,
            "app":"market",
            "user":"admin",
            "datetime":"2017-12-12T07:54:04+00:00",
            "object_type":"market",
            "object_id":"0.2.3",
            "subject":"Update for Market to version 0.2.3 is available.",
            "message":"",
            "link":"<server>/apps/market/#/app/market",
            "actions":[],
            "icon":""
         }
      ]
   }
}

This one gets rendered as:

screenshot 2017-12-12 16 21 00

We could simply add a new button to open it in browser or make the whole thing clickable.

Activity

  1. added this to the 2.5.0 milestone on Dec 13, 2017
  2. self-assigned this
    on Dec 13, 2017
  3. guruz commented on Apr 5, 2018

    @guruz
    Contributor

    Indeed there is no link option from command line at least. I'll hack the source or so.

    notifications:generate [-u|--user USER] [-g|--group GROUP] [--] <subject> [<message>]
    ..
    sudo -u http ./occ notifications:generate -u guruz hello_subject "hello this is guruz speaking"
    

    FYI @tomneedham

  4. guruz commented on Apr 9, 2018

    @guruz
    Contributor

    Indeed there is no link option from command line at least.

    owncloud/notifications#172

  5. guruz commented on Apr 13, 2018

    @guruz
    Contributor
  6. self-assigned this
    on Apr 13, 2018
  7. added
    ReadyToTest
    and removed on Apr 25, 2018
  8. ckamm commented on Apr 25, 2018

    @ckamm
    Contributor

    Tested manually on a oc-master instance by using the occ notifications:generate command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Design & UXDiscussionEnhancementReadyToTest

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions