
david at kineticode
Oct 7, 2009, 10:22 AM
Post #9 of 47
(3513 views)
Permalink
|
On Oct 7, 2009, at 1:24 AM, Mark Jaroski wrote: >> I'd like to see tests for these new features. You can add them to `t/ >> Bric/Util/Job/Pub/DevTest.pm`. Do all current tests pass with these >> changes? > > New tests are going to take a while. I know, I should have written > them as > I was going, but well. OK, no excuse. Now, however, I've been > moved to > another unit, it's a long story but the punchline is that any further > Bricolage work will be on my own time. Okay, I understand. Get to them when you can. I don't feel comfortable merging in the changes without tests, though. > You can publish either Stories or Media, so if you want to search > "by URI" > you have to search both types of URI at the same time. Yeah, I realized that. Sad, but assuredly necessary. Fortunately, they're simple joins to single records, so they should perform quite well. > I didn't remove it, I just changed it to an explicit join in the FROM > clause to make it more compatible with the LEFT JOIN statements. I > think > if it were just me I would probably take it further and make that a > view > that does that to simplify the code. I've been thinking about doing that for story, media, and template views, too, as the queries for those assets, joined to versions and whatnot, are quite complex -- and I've started using them outside of the API myself. However, I thought that the grp_id stuff required that a join be added, which would mean a table would need to be added to $tables. I encourage you to run the test suite, though; it will demonstrate whether I'm right or wrong about that. > `lname || ', ' || fname` comes from the way the results are > displayed. So > the format matches what you see in the Job manager already under the > "Submitter" column. Well, no, that format comes from stfname(), which relies on a format in the preferences. You'd have to replicate that in SQL to make it work consistently. > According to the trainer here that will be the easiest > thing to explain to the users. If you do it by login people will > try to > guess (and usually get it right), but only after they've typed it > the way > they see it once or twice (and gotten mad). Not if you give them a select list. > It uses JavaScript to submit the form when you change the filter. > This > exact behaviour doesn't really happen anywhere else in the UI that I > can > find. There's lots of nice AJAX stuff, but no more auto-submits. Well, from the user's POV, whether or not there is a submit is unimportant. I realize there aren't many auto-submits elsewhere (though they do exist, for adding and deleting elements, adding categories, looking up keywords, etc.), but the question is not about auto-submit. It's about whether the UE is consistent. > I'm not sure from our User testing reactions that the existing > filters are > well-named. I'm not sure there are better names, mind, but many of > the > casual users found the names of the filters inconsistent with the > behaviour. Would love to hear more on this. Change labels is easy. > However, I had a limited amount of time to work on this so I ruled out > a complete revision of the filter list. There are lots of neat > things that > somebody could do with that though. Sure. Best, David
|