From: Doug B. <dou...@gm...> - 2011-08-23 21:27:19
|
On Tue, Aug 23, 2011 at 3:57 PM, Benny Malengier <ben...@gm...> wrote: > > > 2011/8/23 Brian Matherly <br...@gr...> >> >> >>NarrativeWeb (or some GV based reports like FamilyLines or addons) use >> >> their own custom options, often added after different feature requests. >> >> >> >>Well, I am maybe wrong, but I suppose a good illustration might be the >> >> Exporter wizard/assistant: export plugins to differents formats using the >> >> same export model and advanced filtering feature. >> >> >> >>So, proxies run on database with the same way whatever options set. >> >>Items/options/categories could be some current Page classes and/or >> >> options. >> >> >> >>The idea could be extended by the ability to select multiple >> >> options/pages together, like book report. Flexible and easier maintenance. >> >> >> >>This makes sense for all reports : Database -> reports -> proxies -> >> >> report options. Advanced filtering (also private, living, backreferences) is >> >> "parent" of report options. >> >> >> >>So, I suppose this is how pluggable NarrativeWeb may look like ? >> >> >> > >> >Yes. Apart from the full complexity of that, a simple wizard can be >> > created too. I'm sure you have used programs that have a wizard to get >> > started with a document, probably libreoffice has it for some parts (create >> > a letter,...) >> >> >> The problem with a wizard is that it won't fit into the current report >> options framework. Also, keep in mind that we want to be able to run the >> report from the command line (and other alternative interfaces in the >> future). Perhaps, if there are NavWeb "plugins", each type of page could be >> a plugin, and each plugin could define its own tab on the current >> ReportOptions dialog. Brian, that is what I am thinking too. I think that there could be a NarrWeb plugin for each of the major objects (Person, Family, Place, etc) much like what we now have for Gramplets. In fact, I have a prototype whereby we could reuse Gramplets (or something similar) on NarrWeb. > My idea would rather be that the wizard can create the ini file with the > options to then run narweb, or select between a set of possibilities, to > reduce complexity. It's not that we need the one button to do something > approac, but the amount of options in narweb is already daunting. I think that this is a fine idea, and can perhaps work for a variety of Wizard/Scripting issues in Gramps. The .ini could actually be a bit of python code, that could set the appropriate options and run the report. Let's see what NarrWeb looks like in a refactored way (with good defaults, and a good UI for drilling down to options). I think that it will actually look better than it does now in that it will be better organized. Currently, options are strung on various tabs, but having the tabs match up exactly with the report will make things obvious. -Doug > Benny >> >> ~Brian >> > > > ------------------------------------------------------------------------------ > Get a FREE DOWNLOAD! and learn more about uberSVN rich system, > user administration capabilities and model configuration. Take > the hassle out of deploying and managing Subversion and the > tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 > > _______________________________________________ > Gramps-devel mailing list > Gra...@li... > https://lists.sourceforge.net/lists/listinfo/gramps-devel > > |