Hi devs,
I'd like to propose adding a new feature for XWiki: double-click to edit a
page.
*PROS*
- It makes page edition real fast and easy from anywhere on the page
- 45 wikis have it:
http://www.wikimatrix.org/search.php?sid=395
*CONS*
- "Users may find this feature irritating, particularly if they are in
the habit of double-clicking to select a word (normal browser behaviour)"
(from
http://www.wikimatrix.org/wiki/feature:Double-Click%20Edit )
- Potential JS side effects?
*IMPLEMENTATION IDEAS*
- Make the feature configurable through a setting on the user profile:
- The same way an user can choose between simple & advanced mode, he
could activate/deactivate double-click to edit
- It could be added pretty easily to xwiki.js:
- $(’xwikimaincontainer’).observe("dblclick", function()
{window.location="$doc.getURL(’edit’)"})
*EXAMPLE*
You can see a test implementation on this page (double-click anywhere on the
page to edit it):
http://incubator.myxwiki.org/xwiki/bin/view/Grid/Test
If the user setting part isn't too hard to do, it would be worth keeping the
feature in mind as a XWiki UX improvement.
WDYT?
Guillaume
--
Guillaume Lerouge
Product Manager - XWiki
Skype ID : wikibc
http://guillaumelerouge.com/