Issue descriptionCurrently the context menu is created automatically from the services. This has some downsides: * sometimes a context menu might not be appropriate * services that have more than one parameter which can be bound to the same range, only get one entry * the neutral service name might not be perfect * similar mechanisms (e.g. bound form entry) are hard to implement * the order of the menu entries cannot be influenced With this enhancement all those downsides should be eliminated. A minimal context menu ontology is necessary. Implement it in an expandable fashion and make sure menu entries can be deactivated with failing a precondition. Created: 2011-11-28 11:24:09, Robert Cerny Modified: 2011-11-28 11:25:01, Robert Cerny
Link,
No reifier
Comment
Mechanisms for customizable context menus were created. Currently there is only one type of entry: _dynamic links_ which are composed of a topic of this type and a PHP class in the filesystem. The class has three methods %href%, %is_active% and %is_hidden%. Later two may be omitted, but are very handy to guide the user. For example, once a work session is finished (the end is set), the context menu entry _Finish_ is deactivated. The indented main use of dynamic link entries is to enable bound form entry (parameters to the form are given in the url). This works very well.
Created: 2011-12-01 15:58:34, Robert Cerny Modified: 2011-12-01 16:08:52, Robert Cerny
Link,
No reifier
Generally speaking, this mechanism makes it easier to connect the _procedural domain_ of the user to the web database. Previously the end user was left alone on _how to do things_. He gets much more support regarding this issue with the resolution of this issue in Topincs 5.7.
Created: 2011-12-01 16:01:19, Robert Cerny Modified: 2011-12-01 16:04:47, Robert Cerny
Link,
No reifier
Currently the context menu is only available on the topic page. In one of the next versions context menus will be available _on links to the topic page_.
Created: 2011-12-01 16:06:12, Robert Cerny Modified: 2011-12-01 16:09:34, Robert Cerny
Link,
No reifier
Use cases
A work session has a context menu item _Finish_, when clicking it the user edits the works session and the current datetime is set in the end field. All he has to do is click %Ok%.
Created: 2011-12-01 15:58:34, Robert Cerny Modified: 2011-12-01 15:58:34, Robert Cerny
Link,
No reifier
An issue has an context menu item _New work session_. When clicked, the form for a new work session is presented. The start is set to now, the worker is the current user and the issue is set to the subject in context.
Created: 2011-12-01 15:58:34, Robert Cerny Modified: 2011-12-01 15:59:21, Robert Cerny
Link,
No reifier
|
Affects
Subject page (Page)
Created: 2011-11-28 11:24:07, Robert Cerny Modified: 2011-11-28 11:24:07, Robert Cerny
Link,
No reifier
Reporting date2011-11-28 Created: 2011-11-28 11:24:09, Robert Cerny Modified: 2011-11-28 11:24:09, Robert Cerny
Link,
No reifier
Work sessions6
Created: 2011-11-29 07:20:46, Robert Cerny Modified: 2011-11-29 07:20:46, Robert Cerny
Link,
No reifier
Created: 2011-11-29 11:29:42, Robert Cerny Modified: 2011-11-29 11:29:42, Robert Cerny
Link,
No reifier
Created: 2011-11-29 19:40:55, Robert Cerny Modified: 2011-11-29 19:40:55, Robert Cerny
Link,
No reifier
Created: 2011-11-30 09:34:33, Robert Cerny Modified: 2011-11-30 09:34:33, Robert Cerny
Link,
No reifier
Created: 2011-12-01 09:59:43, Robert Cerny Modified: 2011-12-01 09:59:43, Robert Cerny
Link,
No reifier
Created: 2011-12-01 14:32:19, Robert Cerny Modified: 2011-12-01 14:32:19, Robert Cerny
Link,
No reifier
Reported by
Robert Cerny
Created: 2011-11-28 11:24:07, Robert Cerny Modified: 2011-11-28 11:24:07, Robert Cerny
Link,
No reifier
Resolving date2011-12-01 Created: 2011-12-01 16:04:24, Robert Cerny Modified: 2011-12-01 16:04:24, Robert Cerny
Link,
No reifier
Resolved by
Robert Cerny
Created: 2011-11-30 12:12:43, Robert Cerny Modified: 2011-11-30 12:12:43, Robert Cerny
Link,
No reifier
Resolved in version
Topincs 5.7.0
Created: 2011-11-30 12:12:58, Robert Cerny Modified: 2011-11-30 12:12:58, Robert Cerny
Link,
No reifier
|