Hey Kim, all, Yeah, we had considered doing something back around '02 also, but it simply never reached a tipping point. We were also constraining ourselves to HTML/Script which may or may not have been seen as a barrier.
My thought is that 90+% of users simply use DQSD without ever touching their localpref.js. I don't have any facts to back this up other than the low traffic on the users list. Or it could be that the preferences.js file is so extremely well documented and self-explanatory that there simply few questions to ask. ;) Anyway, I just got a few spare minutes and a wild hair and thought I'd give it a try with the UI. Purely experimental with not a lot of design thought. The Firefox about:config looks like a really, really good option to think about regarding the problem with parse-able storage. Simply wrapping each assignment with a 'user_pref' method is a really great idea. It *does* appear to limit the data types to strings, ints, and booleans... which is fine by me for general, non-search-specific options (and really for 95% of search-specific options). The way Firefox about:config displays all of the preferences, but indicates 'user set' overrides with bold is also very helpful. Regarding search-specific UI config options, there's probably a fairly clean way if we were to go with a parse-able file, to provide some type of callback convention to allow searches to define their own config options and handle the parsing and setting of those options. I really don't care how a config UI is implemented, as long as its easy to use and functional. And, I don't think we should wait until we have a solution that will handle every type of search configuration option before we start implementing one. More thoughts? Glenn -------- Original Message -------- > From: Kim Gräsman <[EMAIL PROTECTED]> > Sent: Sunday, July 16, 2006 11:21 PM > To: "'DQSD development discussions'" <[email protected]> > Subject: Re: [DQSD-Devel] UI for user options > > Hi Glenn, > > We talked about this a while ago (a year or two?), and I proposed we move > the prefs into an XML document instead. Then it would be trivial to parse, > display and modify it. > > I think I was voted down, probably because manual modification of settings > is made so much harder for non-dev users, or just because XML is unwieldy to > edit in the first place. > > I think the UI dialog is a little over the top for our current "config > storage", since it's so diverse. It'd be cool if we could cook up something > like Firefox's or Thunderbird's about:config dialogs, that are entirely > data-driven and the files are still user-editable, but it seems there's some > level of abstraction missing from our *prefs.js structure. > > - Kim > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf > > Of Glenn Carr > > Sent: den 17 juli 2006 03:04 > > To: 'DQSD development discussions' > > Subject: [DQSD-Devel] UI for user options > > > > So, after the discussion about editing user preferences, I've > > been playing around with a UI for setting user interface options. > > > > I don't have anything even close to working yet (most of my > > struggle is trying to remember C++ after having been almost > > exclusively using C# for 2+ years), and it's really just an > > experiment that may or may not work out, but... > > > > My thinking is that the UI code could simply modify the localprefs.js. > > That's where the stretch in my mind is, parsing and modifying > > the localprefs.js. But, I really think it would be possible > > using regular expressions to detect the existence of a > > setting, and modify it if exists, or add it if it doesn't exist. > > > > Thoughts? Ideas? Anybody want to help? > > > > P.S. The UI options dialog I've started is very basic a > > screenshot is attached. > > > > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Archive: https://lists.sourceforge.net/lists/listinfo/dqsd-devel ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Archive: https://lists.sourceforge.net/lists/listinfo/dqsd-devel
