On 08/01/2011 10:08 AM, 许凌志(Jamesxu) wrote: > On Mon, Aug 1, 2011 at 2:37 PM, 许凌志(Jamesxu)<[email protected]> wrote: > >> Hi, Last week I have done following things: >> 1. Implemented the sub-triggers 'attach:', '@', '.' for link >> autosuggestion. I record a video(see:http://youtu.be/7lXeORkI6Ns) of how >> to use this triggers under link suggestion context. >> But still have some problems: >> a. I didn't implement the trigger for attribute "||", because the >> suggestion trigger type and behaviour are a bit different from the others, >> for example, when you type "||" the attributes of the link will be shown, >> and when user select one, then type '="' the value should be suggested to >> user, and if user want to add second attributes to the link, he can type >> "space" key and then the suggestion for available attributes should also be >> shown. The process are a bit complex, and the cost of implementation is >> high compare to the utility of the functions. So I decide to abandon this >> sub-triggers and focus on the trigger "attach:", "@" and "." only which are >> more useful when user add or edit links. >> >> b. Not full tested, I test most cases I can think of, and ask my classmates >> to use this function and gave me some feedback, I did found some bugs, and >> fixed them, but I am not very sure some unexcepted bugs will come up >> >> c. I didn't implement the default suggestions for "attach:", "." and "@" >> sub-triggers, I need to discuss with mentor this week. >> >> 2. Thanks Marius and Sergiu, with their help, I find all the server side >> search service for getting the suggestions of the link sub-triggers. >> 3. Thanks Marius, with his help, I can refine the default Panels.Recent >> Modified page to get the recent modified pages and attachmens as the >> default suggestions for link trigger "[[". >> >
> I didn't found the sources codes in github, could you give me the link, so I > can push the changes of Panels.Recent Modified to the repositories. https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-panels/src/main/resources/Panels/Recently%20Modified.xml Thanks, Marius > >> >> >> In this week, I am going to do the following things: >> 1. Implement the default suggestions for sub-triggers "attach:", "." and >> "@". >> 2. Implement the ctrl+space to re-open the suggestion box according to the >> different contexts of link suggestion. >> >> >> >> -- >> Best wishes, >> >> 许凌志(Jame Xu) >> >> MOE KLINNS Lab and SKLMS Lab, Xi'an Jiaotong University >> >> Department of Computer Science and Technology, Xi’an Jiaotong University >> > > > _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

