GitHub user mike-jumper opened a pull request: https://github.com/apache/incubator-guacamole-client/pull/50
GUACAMOLE-5: Add contextual options for creating connections and groups. This change adds special "New Connection" and "New Connection Group" options within expanded connection groups in the connection administration interface, allowing connections and groups to be created directly therein: ![contextual-management-actions](https://cloud.githubusercontent.com/assets/4632905/17471990/fae0bfa0-5cfc-11e6-9949-8ab40d1b0fae.png) This is accomplished through two main changes: 1. Adding a new `decorator` attribute to `guacGroupList`, which allows arbitrary modifications to be made to the `GroupListItem[]` which is rendered by the directive. 2. Adding a new `weight` property to `GroupListItem` such that sorting order can be manipulated independently of item name. 3. Migrating from `connectionTemplate`, `connectionGroupTemplate`, etc. attributes to a single, generic `template` attribute, which defines all templates via a map of type to template URL. With the above, arbitrary new `GroupListItem` types can be defined, each with their own dedicated templates and semantics. In this case, two custom types, `new-connection` and `new-connection-group` were defined to act as placeholder items. Each of those placeholder items takes the user to the appropriate management screen, with the parent of the connection/group pre-populated. With respect to screen sharing, this is relevant/required for the sake of managing sharing profiles. Without such interface changes as a basis, it will be impossible to (intuitively) create new sharing profiles for a specific connection. You can merge this pull request into a Git repository by running: $ git pull https://github.com/mike-jumper/incubator-guacamole-client context-admin Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-guacamole-client/pull/50.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #50 ---- commit 558d2420608784b084410ff5268f856e9196ca88 Author: Michael Jumper <mjum...@apache.org> Date: 2016-08-05T22:29:26Z GUACAMOLE-5: Define sorting weight for GroupListItem. commit 56d9c9094083acd6857bcfb431264ad291aad836 Author: Michael Jumper <mjum...@apache.org> Date: 2016-08-05T23:28:33Z GUACAMOLE-5: Generalize and clean the guacGroupList directive such that arbitrary GroupListItem types can be supported. commit 4c7af7e6922641fabc0946c7f29206aefce63cb2 Author: Michael Jumper <mjum...@apache.org> Date: 2016-08-06T04:26:02Z GUACAMOLE-5: Allow uses of the guacGroupList directive to decorate any rendered GroupListItems. commit 5779274e257f0d05fee94aa52beb3017290ea2b8 Author: Michael Jumper <mjum...@apache.org> Date: 2016-08-08T06:41:09Z GUACAMOLE-5: Use contextual actions to add connections and connection groups. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---