Re: [fossil-users] Side-by-side wiki editing?
On Sat, Apr 28, 2012 at 4:06 PM, Rene renew...@xs4all.nl wrote: On 2012-04-23 18:25, Cunningham, Robert wrote: One feature many enjoy is the side-by-side wiki editing capability of Trac (http://trac.edgewall.org/wiki/TracWiki [1]), Because i'm a procrastinator, I implemented it for wiki. Does anyone wants this in a branch? I'm not sure if I would put more effort in it, So it will be depending on other persons. Yes please, in a branch. I suggest side-by-side-edit but you can call the branch whatever makes sense to you. I've been slowly drifting in the direction of implementing this. I'd at least like to see what you have done. Thanks! -- D. Richard Hipp d...@sqlite.org ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] Side-by-side wiki editing?
I'm evaluating Trac vs. Fossil for use within our small engineering department (2 CEs, 2 EEs, 2 MEs). I have some experience with Trac and none at all with Fossil (I've been using SVN + Bugzilla for way too long). We need version control, bug tracking and documentation tools, and getting them rolled into a single integrated system is highly desired, even if compromises must be made. I have both systems running in parallel, and the other engineers are playing with each as time permits. So far, Fossil is winning quite handily on all the key technical features and issues we care about. But usability issues, especially for non-software folks, provide some stumbling blocks. One feature many enjoy is the side-by-side wiki editing capability of Trac (http://trac.edgewall.org/wiki/TracWiki), especially those who have little or no experience with wiki markup or HTML, or folks like me who have used way too many wiki markup systems and keeps getting them confused. The side-by-side approach provides a very nice, possibly ideal, compromise between full (and heavy) WYSIWYG editing vs. the tedious edit/preview cycle. Is side-by-side wiki editing available in Fossil? Ideally, this mode would be available wherever any kind of markup is allowed to be entered, such as within tickets. FWIW, while searching for other implementations of similar capabilities I stumbled across Wiky (http://goessner.net/articles/wiky/), which could permit such a feature to be implemented using only client-side code. (Not that that's an issue for Fossil, where the entire local UI server is client side!) TIA, -BobC ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Side-by-side wiki editing?
I saw no side-by-side editing/view capability in the links provided, just more edit/preview cycles. What I'm looking for is a vertical division down the middle of the page, with the wiki editor on the left and the rendered view on the right. No toggling between edit and preview: Both views are simultaneously visible and live, with the rendered view updating no slower than once per second whenever the cursor is in the editor. You may want to try this mode in Trac to see what I mean: Select a Trac wiki page to edit (such as http://trac.edgewall.org/wiki/TracDev/SandBox?action=edit). At to top-right corner of the edit box, check the Edit side-by-side box, then hit the Preview Page button at the bottom (or just reload the page). -BobC From: fossil-users-boun...@lists.fossil-scm.org [mailto:fossil-users-boun...@lists.fossil-scm.org] On Behalf Of Stephan Beal Sent: Monday, April 23, 2012 9:50 AM To: Fossil SCM user's discussion Subject: Re: [fossil-users] Side-by-side wiki editing? On Mon, Apr 23, 2012 at 6:35 PM, Stephan Beal sgb...@googlemail.commailto:sgb...@googlemail.com wrote: a) it is not based on fossil (so it would need to be ported) That second part is not true - we have the code for this, just the HTML layout would need to be adapted. Here are some examples which use a fossil back-end and custom (client-side-rendered) wiki format (Google Code): http://fossil.wanderinghorse.net/wikis/ -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Side-by-side wiki editing?
On Mon, Apr 23, 2012 at 7:08 PM, Cunningham, Robert rcunning...@nsmsurveillance.com wrote: I saw no side-by-side editing/view capability in the links provided, just more edit/preview cycles. What I’m looking for is a vertical division down the middle of the page, with the wiki editor on the left and the rendered view on the right. That was in the first link. By default it only updates when ENTER is pressed but see the options at the top of the right-side pane - it can be set to refresh periodically, on ENTER, or on every keypress. That particular app does not support editing, but the fossil-based back-end does. -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Side-by-side wiki editing?
I saw the Wikiwym example, but nothing for Fossil. Just to be clear: Side-by-side editing is NOT possible with the current release of Fossil, and the Fossil executable would need to be updated to support it, right? From what you say, you believe this change shouldn't be difficult, given that working code exists. Since I lack the ability to create a Feature Request ticket on the main Fossil site, would somebody be willing to open one for me? (I saw no obvious way for a non-developer to create a ticket: I found only the unprivileged anonymous login, which lacks this ability.) The lack of this feature could become a deal-breaker for us, since usability generally trumps many levels of technical difficulties and/or features (Trac does work, after all). More to the point, once Engineering is on-board, we'll be rolling out the system to the rest of the company (especially Documentation and Production), where usability will be about the only thing that matters. I'd like to at least be able to say the feature is being considered for implementation by the Fossil development team. Thanks! -BobC ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Side-by-side wiki editing?
On 2012-04-23 18:25, Cunningham, Robert wrote: I'm evaluating Trac vs. Fossil for use within our small engineering [snip] FWIW, while searching for other implementations of similar capabilities I stumbled across Wiky (http://goessner.net/articles/wiky/ [2]), which could permit such a feature to be implemented using only client-side code. (Not that that's an issue for Fossil, where the entire local UI server is client side!) TIA, -BobC Links: -- [1] http://trac.edgewall.org/wiki/TracWiki [2] http://goessner.net/articles/wiky/ The wiky thing will not render the same as fossil. probably confusing your non-technical persons even more! maybe a webpage wiki_preview could be added which is in essence a call to wiki_convert. Then with a bit of ajax you can sent the buffer to the server and get the wiki stuff back. The ajax thing could be small enough to fit in the header. The short answer is it is not in fossil. -- Rene ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Side-by-side wiki editing?
On Mon, Apr 23, 2012 at 8:05 PM, Cunningham, Robert rcunning...@nsmsurveillance.com wrote: I saw the Wikiwym example, but nothing for Fossil. Just to be clear: Side-by-side editing is NOT possible with the current release of Fossil, and the Fossil executable would need to be updated to support it, right? It is possible with a bit of client-side code. e.g. the Editor and Preview tabs in the second link would need to be put side by side and a mechanism would need to be added to trigger the preview automatically. at least be able to say “the feature is being considered for implementation by the Fossil development team”. AFAIK there are no plans to add any significant JS dependencies on the HTML interface, but this type of thing can be done with the JSON API. -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Side-by-side wiki editing?
On Mon, Apr 23, 2012 at 1:08 PM, Cunningham, Robert rcunning...@nsmsurveillance.com wrote: I saw no side-by-side editing/view capability in the links provided, just more edit/preview cycles. What I’m looking for is a vertical division down the middle of the page, with the wiki editor on the left and the rendered view on the right. No toggling between edit and preview: Both views are simultaneously visible and live, with the rendered view updating no slower than once per second whenever the cursor is in the editor. Nothing like this exists in Fossil at the present time. But it doesn't seem like it would be too difficult to implement. I'll make a note. In the meantime, if you would like to contribute, please send in a Contributor License Agreementhttp://www.fossil-scm.org/fossil/doc/trunk/www/copyright-release.htmland we'll set you up with an account so that you can push changes to the main Fossil repository. ** ** You may want to try this mode in Trac to see what I mean: Select a Trac wiki page to edit (such as http://trac.edgewall.org/wiki/TracDev/SandBox?action=edit). At to top-right corner of the edit box, check the “Edit side-by-side” box, then hit the Preview Page button at the bottom (or just reload the page). ** ** ** ** -BobC ** ** ** ** *From:* fossil-users-boun...@lists.fossil-scm.org [mailto: fossil-users-boun...@lists.fossil-scm.org] *On Behalf Of *Stephan Beal *Sent:* Monday, April 23, 2012 9:50 AM *To:* Fossil SCM user's discussion *Subject:* Re: [fossil-users] Side-by-side wiki editing? ** ** On Mon, Apr 23, 2012 at 6:35 PM, Stephan Beal sgb...@googlemail.com wrote: a) it is not based on fossil (so it would need to be ported) ** ** That second part is not true - we have the code for this, just the HTML layout would need to be adapted. Here are some examples which use a fossil back-end and custom (client-side-rendered) wiki format (Google Code): ** ** http://fossil.wanderinghorse.net/wikis/ ** ** -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal ** ** ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users -- D. Richard Hipp d...@sqlite.org ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Side-by-side wiki editing?
On 2012-04-23 20:08, Rene wrote: On 2012-04-23 18:25, Cunningham, Robert wrote: I'm evaluating Trac vs. Fossil for use within our small engineering [snip] FWIW, while searching for other implementations of similar capabilities I stumbled across Wiky (http://goessner.net/articles/wiky/ [2]), which could permit such a feature to be implemented using only client-side code. (Not that that's an issue for Fossil, where the entire local UI server is client side!) TIA, -BobC Links: -- [1] http://trac.edgewall.org/wiki/TracWiki [2] http://goessner.net/articles/wiky/ The wiky thing will not render the same as fossil. probably confusing your non-technical persons even more! maybe a webpage wiki_preview could be added which is in essence a call to wiki_convert. Then with a bit of ajax you can sent the buffer to the server and get the wiki stuff back. The ajax thing could be small enough to fit in the header. The short answer is it is not in fossil. I just tested my idea add to wiki.c /* ** WEBPAGE: wikipreview ** URL: /wikipreview */ void wikipreview_page(void){ Blob wiki; char *zBody = (char*)P(w); if( zBody ){ zBody = mprintf(%s, zBody); } login_check_credentials(); /* are those really needed */ if( zBody==0 ){ zBody = mprintf(iEmpty Page/i); } blob_zero(wiki); blob_append(wiki, zBody, -1); wiki_convert(wiki, 0, 0); blob_reset(wiki); } compile run fossil ui and do something like curl --data 'w= * hello * world Now is the time for all good man ... ' http://localhost:8080/wikipreview response is ullihello /liliworld/li/ul pNow is the time for all good man ... /p with this inplace you can build your side by side editing. -- Rene ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Side-by-side wiki editing?
On Mon, Apr 23, 2012 at 10:05 PM, Rene renew...@xs4all.nl wrote: ** WEBPAGE: wikipreview See also: https://docs.google.com/document/d/1fXViveNhDbiXgCuE7QDXQOKeFzf2qNUkBEgiUvoqFN4/view#heading=h.w97n85o8wmtr -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users