[xwiki-devs] The plan of GSoC project "Auto-completion in content editors" (7.4 - 7.11)
Hi, thanks for Marius' help ,last week, I have done the following work: (1). Implemented the function that logs a message in the firebug console whenever the caret is after [[ (2). Implement the function that requests the list of wiki pages matching some prefix user input. BUT, don't actually query the database, instead simply return a dummy list from the wiki page. (3). Implement the function that displays the list of wiki pages where the caret is, and integrated it with the SuggestionBox I have already implemented. Here is the plan for next week: I will focus on fixing bugs and improving what I have and to make suer by the end of the week the link suggest should work very good. Include (1). Display the suggestion box in right place and at the right time. (2). Close suggestion box in custom, and also when some other keys typed like "esc" "right" and "left" (3). Test to make sure the prototype for link suggestion runs very well. -- Best wishes, 许凌志(Jame Xu) MOE KLINNS Lab and SKLMS Lab, Xi'an Jiaotong University Department of Computer Science and Technology, Xi’an Jiaotong University
Hi James, On 07/04/2011 11:11 AM, 许凌志(Jamesxu) wrote:
Hi, thanks for Marius' help ,last week, I have done the following work: (1). Implemented the function that logs a message in the firebug console whenever the caret is after [[ (2). Implement the function that requests the list of wiki pages matching some prefix user input. BUT, don't actually query the database, instead simply return a dummy list from the wiki page. (3). Implement the function that displays the list of wiki pages where the caret is, and integrated it with the SuggestionBox I have already implemented.
Here is the plan for next week: I will focus on fixing bugs and improving what I have and to make suer by the end of the week the link suggest should work very good. Include (1). Display the suggestion box in right place and at the right time. (2). Close suggestion box in custom, and also when some other keys typed like "esc" "right" and "left" (3). Test to make sure the prototype for link suggestion runs very well.
I tested your prototype and here are some of the issues I've found: * A JavaScript exception is thrown when you type if the suggest box has not been displayed at least once * The close icon is useless, remove it. * The suggestion box doesn't update its position. If you trigger the suggest box and then write a long text (try multiple lines) the suggest box doesn't move. * left/right keys should keep the suggest box open and filter the list of suggestions * Ctrl+Space doesn't work after you close the suggest box by clicking outside of it. * Trigger the suggest box, move the mouse over it then type the Tab key multiple times. The text area looses the focus but the suggest box is not closed. * The suggest box is triggered by the Delete key. * The suggest box is not closed by typing ]]. * The suggest box is not closed by deleting [[. * Ctrl+Space should be ignored if the suggest box is already displayed * You don't take into account Undo/Redo operations nor the paste event. * The suggest box should be displayed were there is space. If the caret is close to the bottom of the window and the suggest box doesn't fit below the caret then it should be displayed above. Same with left/right. For the next week I think you should: (1) retrieve real suggestions using REST (2) generate the link syntax when a suggestion is selected (3) fix some of the issues I've listed above Thanks, Marius
-- Best wishes,
许凌志(Jame Xu)
MOE KLINNS Lab and SKLMS Lab, Xi'an Jiaotong University
Department of Computer Science and Technology, Xi’an Jiaotong University
On Sun, Jul 10, 2011 at 7:10 PM, Marius Dumitru Florea < [email protected]> wrote:
Hi James,
On 07/04/2011 11:11 AM, 许凌志(Jamesxu) wrote:
Hi, thanks for Marius' help ,last week, I have done the following work: (1). Implemented the function that logs a message in the firebug console whenever the caret is after [[ (2). Implement the function that requests the list of wiki pages matching some prefix user input. BUT, don't actually query the database, instead simply return a dummy list from the wiki page. (3). Implement the function that displays the list of wiki pages where the caret is, and integrated it with the SuggestionBox I have already implemented.
Here is the plan for next week: I will focus on fixing bugs and improving what I have and to make suer by the end of the week the link suggest should work very good. Include (1). Display the suggestion box in right place and at the right time. (2). Close suggestion box in custom, and also when some other keys typed like "esc" "right" and "left" (3). Test to make sure the prototype for link suggestion runs very well.
I tested your prototype and here are some of the issues I've found:
* A JavaScript exception is thrown when you type if the suggest box has not been displayed at least once
There is no exceptions thrown in the situation you said. Could you give me the content of the exceptions?
* The close icon is useless, remove it.
I think it is useful for users who want to remove the suggestion box by themselves especially in the situation that some unexcepted exception occured
* The suggestion box doesn't update its position. If you trigger the suggest box and then write a long text (try multiple lines) the suggest box doesn't move.
Yes, it is a problem, I will refine it in this week
* left/right keys should keep the suggest box open and filter the list of suggestions
* Ctrl+Space doesn't work after you close the suggest box by clicking outside of it.
I think it might not be caused by the suggestion box, I test it in http://www.xwiki.org/xwiki/bin/edit/Main/Support , when you clicking outside of the textarea, Ctrl+Space doesn't work either.
* Trigger the suggest box, move the mouse over it then type the Tab key multiple times. The text area looses the focus but the suggest box is not closed.
Strange, it is ok when I test, type tab key many times, and the suggestion box was closed.
* The suggest box is triggered by the Delete key.
When Delete key is pressed, it will not send the search request to the server to get the suggestions, but in my design I keep the suggestion open when delete key is pressed, do you think I should close it?
* The suggest box is not closed by typing ]].
It is will implemented in this week
* The suggest box is not closed by deleting [[.
yes, it is a problem, I will refine it this week
* Ctrl+Space should be ignored if the suggest box is already displayed
yes, it is true, I will refine it this week
* You don't take into account Undo/Redo operations nor the paste event.
Yes, I will consider it later.
* The suggest box should be displayed were there is space. If the caret is close to the bottom of the window and the suggest box doesn't fit below the caret then it should be displayed above. Same with left/right.
Ok, I will consider it, but I think it is not a critical problem, because the suggestion box is not so big, so I think it is ok if it overflows the editor area a bit
For the next week I think you should:
(1) retrieve real suggestions using REST (2) generate the link syntax when a suggestion is selected (3) fix some of the issues I've listed above
Thanks, Marius
-- 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
-- Best wishes, 许凌志(Jame Xu) MOE KLINNS Lab and SKLMS Lab, Xi'an Jiaotong University Department of Computer Science and Technology, Xi’an Jiaotong University
On Tue, Jul 12, 2011 at 11:44 AM, 许凌志(Jamesxu) <[email protected]>wrote:
On Sun, Jul 10, 2011 at 7:10 PM, Marius Dumitru Florea < [email protected]> wrote:
Hi James,
On 07/04/2011 11:11 AM, 许凌志(Jamesxu) wrote:
Hi, thanks for Marius' help ,last week, I have done the following work: (1). Implemented the function that logs a message in the firebug console whenever the caret is after [[ (2). Implement the function that requests the list of wiki pages matching some prefix user input. BUT, don't actually query the database, instead simply return a dummy list from the wiki page. (3). Implement the function that displays the list of wiki pages where the caret is, and integrated it with the SuggestionBox I have already implemented.
Here is the plan for next week: I will focus on fixing bugs and improving what I have and to make suer by the end of the week the link suggest should work very good. Include (1). Display the suggestion box in right place and at the right time. (2). Close suggestion box in custom, and also when some other keys typed like "esc" "right" and "left" (3). Test to make sure the prototype for link suggestion runs very well.
I tested your prototype and here are some of the issues I've found:
* A JavaScript exception is thrown when you type if the suggest box has not been displayed at least once
There is no exceptions thrown in the situation you said. Could you give me the content of the exceptions?
* The close icon is useless, remove it.
I think it is useful for users who want to remove the suggestion box by themselves especially in the situation that some unexcepted exception occured
* The suggestion box doesn't update its position. If you trigger the suggest box and then write a long text (try multiple lines) the suggest box doesn't move.
Yes, it is a problem, I will refine it in this week
* left/right keys should keep the suggest box open and filter the list of suggestions
* Ctrl+Space doesn't work after you close the suggest box by clicking outside of it.
I think it might not be caused by the suggestion box, I test it in http://www.xwiki.org/xwiki/bin/edit/Main/Support , when you clicking outside of the textarea, Ctrl+Space doesn't work either.
* Trigger the suggest box, move the mouse over it then type the Tab key multiple times. The text area looses the focus but the suggest box is not closed.
Strange, it is ok when I test, type tab key many times, and the suggestion box was closed.
* The suggest box is triggered by the Delete key.
When Delete key is pressed, it will not send the search request to the server to get the suggestions, but in my design I keep the suggestion open when delete key is pressed, do you think I should close it?
* The suggest box is not closed by typing ]].
It is will implemented in this week
* The suggest box is not closed by deleting [[.
yes, it is a problem, I will refine it this week
* Ctrl+Space should be ignored if the suggest box is already displayed
yes, it is true, I will refine it this week
* You don't take into account Undo/Redo operations nor the paste event.
Yes, I will consider it later.
* The suggest box should be displayed were there is space. If the caret is close to the bottom of the window and the suggest box doesn't fit below the caret then it should be displayed above. Same with left/right.
Ok, I will consider it, but I think it is not a critical problem, because the suggestion box is not so big, so I think it is ok if it overflows the editor area a bit
For the next week I think you should:
(1) retrieve real suggestions using REST
Is there any documents or tutors for writing rest code?
(2) generate the link syntax when a suggestion is selected
(3) fix some of the issues I've listed above
Thanks, Marius
-- 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
-- Best wishes,
许凌志(Jame Xu)
MOE KLINNS Lab and SKLMS Lab, Xi'an Jiaotong University
Department of Computer Science and Technology, Xi’an Jiaotong University
-- Best wishes, 许凌志(Jame Xu) MOE KLINNS Lab and SKLMS Lab, Xi'an Jiaotong University Department of Computer Science and Technology, Xi’an Jiaotong University
On 07/12/2011 06:44 AM, 许凌志(Jamesxu) wrote:
On Sun, Jul 10, 2011 at 7:10 PM, Marius Dumitru Florea< [email protected]> wrote:
Hi James,
On 07/04/2011 11:11 AM, 许凌志(Jamesxu) wrote:
Hi, thanks for Marius' help ,last week, I have done the following work: (1). Implemented the function that logs a message in the firebug console whenever the caret is after [[ (2). Implement the function that requests the list of wiki pages matching some prefix user input. BUT, don't actually query the database, instead simply return a dummy list from the wiki page. (3). Implement the function that displays the list of wiki pages where the caret is, and integrated it with the SuggestionBox I have already implemented.
Here is the plan for next week: I will focus on fixing bugs and improving what I have and to make suer by the end of the week the link suggest should work very good. Include (1). Display the suggestion box in right place and at the right time. (2). Close suggestion box in custom, and also when some other keys typed like "esc" "right" and "left" (3). Test to make sure the prototype for link suggestion runs very well.
I tested your prototype and here are some of the issues I've found:
* A JavaScript exception is thrown when you type if the suggest box has not been displayed at least once
There is no exceptions thrown in the situation you said. Could you give me the content of the exceptions?
Reload the page, focus the text area and press the left/right arrow key. I get "this.suggestionBox is null" in onKeyUp because obviously this.suggestionBox isn't initialized when you test: ... if(!this.suggestionBox.isDestroyed()) { ...
* The close icon is useless, remove it.
I think it is useful for users who want to remove the suggestion box by themselves especially in the situation that some unexcepted exception occured
They have the Esc key for this and you must make sure there are no (un)expected exceptions.
* The suggestion box doesn't update its position. If you trigger the suggest box and then write a long text (try multiple lines) the suggest box doesn't move.
Yes, it is a problem, I will refine it in this week
* left/right keys should keep the suggest box open and filter the list of suggestions
* Ctrl+Space doesn't work after you close the suggest box by clicking outside of it.
I think it might not be caused by the suggestion box, I test it in http://www.xwiki.org/xwiki/bin/edit/Main/Support
What do you mean you tested on http://www.xwiki.org/xwiki/bin/edit/Main/Support ? Did you install the auto-complete feature on xwiki.org? I doubt it. Anyway, Main.Support is not a page for testing. You have the playground.xwiki.org if you really need a place to test.
, when you clicking outside of the textarea, Ctrl+Space doesn't work either.
That's not what I said. Of course Ctrl+Space doesn't work if the text area is not focused. So trigger the suggest box, click outside the text area (the suggest box should be closed now), click inside the text area after [[ and type Ctrl+Space. It should open the suggest box, but it doesn't.
* Trigger the suggest box, move the mouse over it then type the Tab key multiple times. The text area looses the focus but the suggest box is not closed.
Strange, it is ok when I test, type tab key many times, and the suggestion box was closed.
Do you have local changes? I can reproduce it all the time. Is the "Version summary" focused after you press Tab key twice? Are you sure the mouse is over the suggest box?
* The suggest box is triggered by the Delete key.
When Delete key is pressed, it will not send the search request to the server to get the suggestions, but in my design I keep the suggestion open when delete key is pressed, do you think I should close it?
That's not what I said. If you have this text: before [[link and move the caret after 'link' then press the Delete key, the suggest box will be opened. This is not the expected behaviour.
* The suggest box is not closed by typing ]].
It is will implemented in this week
* The suggest box is not closed by deleting [[.
yes, it is a problem, I will refine it this week
* Ctrl+Space should be ignored if the suggest box is already displayed
yes, it is true, I will refine it this week
* You don't take into account Undo/Redo operations nor the paste event.
Yes, I will consider it later.
* The suggest box should be displayed were there is space. If the caret is close to the bottom of the window and the suggest box doesn't fit below the caret then it should be displayed above. Same with left/right.
Ok, I will consider it, but I think it is not a critical problem, because the suggestion box is not so big, so I think it is ok if it overflows the editor area a bit
Indeed it's not critical, but it's nice to have it at the end. Thanks, Marius
For the next week I think you should:
(1) retrieve real suggestions using REST (2) generate the link syntax when a suggestion is selected (3) fix some of the issues I've listed above
Thanks, Marius
-- 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
On Sun, Jul 10, 2011 at 7:10 PM, Marius Dumitru Florea < [email protected]> wrote:
Hi James,
On 07/04/2011 11:11 AM, 许凌志(Jamesxu) wrote:
Hi, thanks for Marius' help ,last week, I have done the following work: (1). Implemented the function that logs a message in the firebug console whenever the caret is after [[ (2). Implement the function that requests the list of wiki pages matching some prefix user input. BUT, don't actually query the database, instead simply return a dummy list from the wiki page. (3). Implement the function that displays the list of wiki pages where the caret is, and integrated it with the SuggestionBox I have already implemented.
Here is the plan for next week: I will focus on fixing bugs and improving what I have and to make suer by the end of the week the link suggest should work very good. Include (1). Display the suggestion box in right place and at the right time. (2). Close suggestion box in custom, and also when some other keys typed like "esc" "right" and "left" (3). Test to make sure the prototype for link suggestion runs very well.
I tested your prototype and here are some of the issues I've found:
* A JavaScript exception is thrown when you type if the suggest box has not been displayed at least once
I have refine it, it works fine now.
* The close icon is useless, remove it.
I have deleted it, user still can use "ESC" to close the suggestion box
* The suggestion box doesn't update its position. If you trigger the suggest box and then write a long text (try multiple lines) the suggest box doesn't move.
The suggestion box will update its position when user are typing now.
* left/right keys should keep the suggest box open and filter the list of suggestions
*I have test the eclipse and also dreamweaver, when the left/right keys are typed, the suggestion box is closed, I think it is easy, it is intuitive that user move the caret do not want to get suggestion results, instead it is very possible to add something or refine something he has already typed before. *
* Ctrl+Space doesn't work after you close the suggest box by clicking outside of it.
*As we discuss last week, I think it is a complicated function that we have to consider the whole context of the suggestion process, till now, I only consider the trigger "[[", in the context of "[[" there might be other sub-triggers, like "attach:","@", ".", "||", when user type Ctrl+space at different sub-context of the triggers, the query behaviour will be different, it is a bit complex, and I need more time to design, implement and test it, so I will left it to next week. *
* Trigger the suggest box, move the mouse over it then type the Tab key multiple times. The text area looses the focus but the suggest box is not closed.
It is refined now ,you can test it.
* The suggest box is triggered by the Delete key.
*It is easy to close the suggestion box when user type Backspace key, however, I have tested eclipse and also dreamweaver, when user types backspace key, the suggestion box will not be closed, and the suggestion result will still be updated. *
* The suggest box is not closed by typing ]].
It is ok now, when user types ]], and then the suggestion box will be closed.
* The suggest box is not closed by deleting [[.
It is okn now ,when user delete [[, the suggestion box will be closed.
* Ctrl+Space should be ignored if the suggest box is already displayed
*I will consider Ctrl+space later. *
* You don't take into account Undo/Redo operations nor the paste event.
*I will consider it later. *
For the next week I think you should:
(1) retrieve real suggestions using REST
I have read the document of how to write rest sevice, but I need to discuss with you more about how to do it, so I think we can discuss this next week
(2) generate the link syntax when a suggestion is selected
it is finished
(3) fix some of the issues I've listed above
I have finished most of the issues you've listed above, only this I need to think more and have further discussion with you. a.ctrl+space related functions. (I will consider it next week) b.undo/redo/paste related functions(I will consider it next few weeks) c.Adaptive suggestion box. (later, less important)
Thanks, Marius
-- 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
-- Best wishes, 许凌志(Jame Xu) MOE KLINNS Lab and SKLMS Lab, Xi'an Jiaotong University Department of Computer Science and Technology, Xi’an Jiaotong University
2011/7/17 许凌志(Jamesxu) <[email protected]>
On Sun, Jul 10, 2011 at 7:10 PM, Marius Dumitru Florea < [email protected]> wrote:
Hi James,
On 07/04/2011 11:11 AM, 许凌志(Jamesxu) wrote:
Hi, thanks for Marius' help ,last week, I have done the following work: (1). Implemented the function that logs a message in the firebug console whenever the caret is after [[ (2). Implement the function that requests the list of wiki pages matching some prefix user input. BUT, don't actually query the database, instead simply return a dummy list from the wiki page. (3). Implement the function that displays the list of wiki pages where the caret is, and integrated it with the SuggestionBox I have already implemented.
Here is the plan for next week: I will focus on fixing bugs and improving what I have and to make suer by the end of the week the link suggest should work very good. Include (1). Display the suggestion box in right place and at the right time. (2). Close suggestion box in custom, and also when some other keys typed like "esc" "right" and "left" (3). Test to make sure the prototype for link suggestion runs very well.
I tested your prototype and here are some of the issues I've found:
* A JavaScript exception is thrown when you type if the suggest box has not been displayed at least once
I have refine it, it works fine now.
* The close icon is useless, remove it.
I have deleted it, user still can use "ESC" to close the suggestion box
* The suggestion box doesn't update its position. If you trigger the suggest box and then write a long text (try multiple lines) the suggest box doesn't move.
The suggestion box will update its position when user are typing now.
* left/right keys should keep the suggest box open and filter the list of suggestions
*I have test the eclipse and also dreamweaver, when the left/right keys are typed, the suggestion box is closed, I think it is easy, it is intuitive that user move the caret do not want to get suggestion results, instead it is very possible to add something or refine something he has already typed before. *
I have tested again, in eclipse, when left and right key typed, the suggestion box stay open,and the suggestions are filtered but in dreamweaver, when left/right key is pressed, the suggestion box is closed. So which behaviour should we implement, eclipse way or dreamweaver way, I prefer dreamweaver way.
* Ctrl+Space doesn't work after you close the suggest box by clicking outside of it.
*As we discuss last week, I think it is a complicated function that we have to consider the whole context of the suggestion process, till now, I only consider the trigger "[[", in the context of "[[" there might be other sub-triggers, like "attach:","@", ".", "||", when user type Ctrl+space at different sub-context of the triggers, the query behaviour will be different, it is a bit complex, and I need more time to design, implement and test it, so I will left it to next week. *
* Trigger the suggest box, move the mouse over it then type the Tab key multiple times. The text area looses the focus but the suggest box is not closed.
It is refined now ,you can test it.
* The suggest box is triggered by the Delete key.
*It is easy to close the suggestion box when user type Backspace key, however, I have tested eclipse and also dreamweaver, when user types backspace key, the suggestion box will not be closed, and the suggestion result will still be updated. *
* The suggest box is not closed by typing ]].
It is ok now, when user types ]], and then the suggestion box will be closed.
* The suggest box is not closed by deleting [[.
It is okn now ,when user delete [[, the suggestion box will be closed.
* Ctrl+Space should be ignored if the suggest box is already displayed
*I will consider Ctrl+space later. *
* You don't take into account Undo/Redo operations nor the paste event.
*I will consider it later. *
For the next week I think you should:
(1) retrieve real suggestions using REST
I have read the document of how to write rest sevice, but I need to discuss with you more about how to do it, so I think we can discuss this next week
(2) generate the link syntax when a suggestion is selected
it is finished
(3) fix some of the issues I've listed above
I have finished most of the issues you've listed above, only this I need to think more and have further discussion with you. a.ctrl+space related functions. (I will consider it next week) b.undo/redo/paste related functions(I will consider it next few weeks) c.Adaptive suggestion box. (later, less important)
Thanks, Marius
-- 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
-- Best wishes,
许凌志(Jame Xu)
MOE KLINNS Lab and SKLMS Lab, Xi'an Jiaotong University
Department of Computer Science and Technology, Xi’an Jiaotong University
-- Best wishes, 许凌志(Jame Xu) MOE KLINNS Lab and SKLMS Lab, Xi'an Jiaotong University Department of Computer Science and Technology, Xi’an Jiaotong University
Hi James, On 07/17/2011 09:38 AM, 许凌志(Jamesxu) wrote:
2011/7/17 许凌志(Jamesxu)<[email protected]>
On Sun, Jul 10, 2011 at 7:10 PM, Marius Dumitru Florea< [email protected]> wrote:
Hi James,
On 07/04/2011 11:11 AM, 许凌志(Jamesxu) wrote:
Hi, thanks for Marius' help ,last week, I have done the following work: (1). Implemented the function that logs a message in the firebug console whenever the caret is after [[ (2). Implement the function that requests the list of wiki pages matching some prefix user input. BUT, don't actually query the database, instead simply return a dummy list from the wiki page. (3). Implement the function that displays the list of wiki pages where the caret is, and integrated it with the SuggestionBox I have already implemented.
Here is the plan for next week: I will focus on fixing bugs and improving what I have and to make suer by the end of the week the link suggest should work very good. Include (1). Display the suggestion box in right place and at the right time. (2). Close suggestion box in custom, and also when some other keys typed like "esc" "right" and "left" (3). Test to make sure the prototype for link suggestion runs very well.
I tested your prototype and here are some of the issues I've found:
* A JavaScript exception is thrown when you type if the suggest box has not been displayed at least once
I have refine it, it works fine now.
* The close icon is useless, remove it.
I have deleted it, user still can use "ESC" to close the suggestion box
* The suggestion box doesn't update its position. If you trigger the suggest box and then write a long text (try multiple lines) the suggest box doesn't move.
The suggestion box will update its position when user are typing now.
* left/right keys should keep the suggest box open and filter the list of suggestions
*I have test the eclipse and also dreamweaver, when the left/right keys are typed, the suggestion box is closed, I think it is easy, it is intuitive that user move the caret do not want to get suggestion results, instead it is very possible to add something or refine something he has already typed before. *
I have tested again, in eclipse, when left and right key typed, the suggestion box stay open,and the suggestions are filtered but in dreamweaver, when left/right key is pressed, the suggestion box is closed. So which behaviour should we implement, eclipse way or dreamweaver way, I prefer dreamweaver way.
I prefer the Eclipse behaviour, but you can leave this for later.
* Ctrl+Space doesn't work after you close the suggest box by clicking outside of it.
*As we discuss last week, I think it is a complicated function that we have to consider the whole context of the suggestion process, till now, I only consider the trigger "[[", in the context of "[[" there might be other sub-triggers, like "attach:","@", ".", "||", when user type Ctrl+space at different sub-context of the triggers, the query behaviour will be different, it is a bit complex, and I need more time to design, implement and test it, so I will left it to next week. *
* Trigger the suggest box, move the mouse over it then type the Tab key multiple times. The text area looses the focus but the suggest box is not closed.
It is refined now ,you can test it.
* The suggest box is triggered by the Delete key.
*It is easy to close the suggestion box when user type Backspace key, however, I have tested eclipse and also dreamweaver, when user types backspace key, the suggestion box will not be closed, and the suggestion result will still be updated. *
The problem is not that Backspace _leaves_ the suggest box open. This is fine. The problem was that you could _open_ the suggest box by typing Backspace after [[text.
* The suggest box is not closed by typing ]].
It is ok now, when user types ]], and then the suggestion box will be closed.
* The suggest box is not closed by deleting [[.
It is okn now ,when user delete [[, the suggestion box will be closed.
* Ctrl+Space should be ignored if the suggest box is already displayed
*I will consider Ctrl+space later. *
* You don't take into account Undo/Redo operations nor the paste event.
*I will consider it later. *
For the next week I think you should:
(1) retrieve real suggestions using REST
I have read the document of how to write rest sevice, but I need to discuss with you more about how to do it, so I think we can discuss this next week
(2) generate the link syntax when a suggestion is selected
it is finished
(3) fix some of the issues I've listed above
I have finished most of the issues you've listed above, only this I need to think more and have further discussion with you. a.ctrl+space related functions. (I will consider it next week) b.undo/redo/paste related functions(I will consider it next few weeks) c.Adaptive suggestion box. (later, less important)
Sounds good. Thanks, Marius
Thanks, Marius
-- 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
-- Best wishes,
许凌志(Jame Xu)
MOE KLINNS Lab and SKLMS Lab, Xi'an Jiaotong University
Department of Computer Science and Technology, Xi’an Jiaotong University
On Mon, Jul 18, 2011 at 4:05 PM, Marius Dumitru Florea < [email protected]> wrote:
Hi James,
On 07/17/2011 09:38 AM, 许凌志(Jamesxu) wrote:
2011/7/17 许凌志(Jamesxu)<[email protected]>
On Sun, Jul 10, 2011 at 7:10 PM, Marius Dumitru Florea< [email protected]> wrote:
Hi James,
On 07/04/2011 11:11 AM, 许凌志(Jamesxu) wrote:
Hi, thanks for Marius' help ,last week, I have done the following
work:
(1). Implemented the function that logs a message in the firebug console whenever the caret is after [[ (2). Implement the function that requests the list of wiki pages matching some prefix user input. BUT, don't actually query the database, instead simply return a dummy list from the wiki page. (3). Implement the function that displays the list of wiki pages where the caret is, and integrated it with the SuggestionBox I have already implemented.
Here is the plan for next week: I will focus on fixing bugs and improving what I have and to make suer by the end of the week the link suggest should work very good. Include (1). Display the suggestion box in right place and at the right time. (2). Close suggestion box in custom, and also when some other keys typed like "esc" "right" and "left" (3). Test to make sure the prototype for link suggestion runs very well.
I tested your prototype and here are some of the issues I've found:
* A JavaScript exception is thrown when you type if the suggest box has not been displayed at least once
I have refine it, it works fine now.
* The close icon is useless, remove it.
I have deleted it, user still can use "ESC" to close the suggestion box
* The suggestion box doesn't update its position. If you trigger the suggest box and then write a long text (try multiple lines) the suggest box doesn't move.
The suggestion box will update its position when user are typing now.
* left/right keys should keep the suggest box open and filter the list of suggestions
*I have test the eclipse and also dreamweaver, when the left/right keys are typed, the suggestion box is closed, I think it is easy, it is intuitive that user move the caret do not want to get suggestion results, instead it is very possible to add something or refine something he has already typed before. *
I have tested again, in eclipse, when left and right key typed, the suggestion box stay open,and the suggestions are filtered but in dreamweaver, when left/right key is pressed, the suggestion box is closed. So which behaviour should we implement, eclipse way or dreamweaver way, I prefer dreamweaver way.
I prefer the Eclipse behaviour, but you can leave this for later.
Ok
* Ctrl+Space doesn't work after you close the suggest box by clicking outside of it.
*As we discuss last week, I think it is a complicated function that we have to consider the whole context of the suggestion process, till now,
I
only consider the trigger "[[", in the context of "[[" there might be other sub-triggers, like "attach:","@", ".", "||", when user type Ctrl+space at different sub-context of the triggers, the query behaviour will be different, it is a bit complex, and I need more time to design, implement and test it, so I will left it to next week. *
* Trigger the suggest box, move the mouse over it then type the Tab key multiple times. The text area looses the focus but the suggest box is not closed.
It is refined now ,you can test it.
* The suggest box is triggered by the Delete key.
*It is easy to close the suggestion box when user type Backspace key, however, I have tested eclipse and also dreamweaver, when user types backspace key, the suggestion box will not be closed, and the suggestion result will still be updated. *
The problem is not that Backspace _leaves_ the suggest box open. This is fine. The problem was that you could _open_ the suggest box by typing Backspace after [[text.
Could you test it again, I think it is ok now.
* The suggest box is not closed by typing ]].
It is ok now, when user types ]], and then the suggestion box will be closed.
* The suggest box is not closed by deleting [[.
It is okn now ,when user delete [[, the suggestion box will be closed.
* Ctrl+Space should be ignored if the suggest box is already displayed
*I will consider Ctrl+space later. *
* You don't take into account Undo/Redo operations nor the paste event.
*I will consider it later. *
For the next week I think you should:
(1) retrieve real suggestions using REST
I have read the document of how to write rest sevice, but I need to
discuss
with you more about how to do it, so I think we can discuss this next week
(2) generate the link syntax when a suggestion is selected
it is finished
(3) fix some of the issues I've listed above
I have finished most of the issues you've listed above, only this I need to think more and have further discussion with you. a.ctrl+space related functions. (I will consider it next week) b.undo/redo/paste related functions(I will consider it next few weeks) c.Adaptive suggestion box. (later, less important)
Sounds good.
Thanks, Marius
Thanks, Marius
-- 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
-- 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
-- Best wishes, 许凌志(Jame Xu) MOE KLINNS Lab and SKLMS Lab, Xi'an Jiaotong University Department of Computer Science and Technology, Xi’an Jiaotong University
participants (2)
-
Marius Dumitru Florea -
许凌志(Jamesxu)