On Thu, Oct 3, 2013 at 10:36 AM, Jan Nijtmans <jan.nijtm...@gmail.com>wrote:
> http://localhost:8080/reports?view=byweek&y=2013&type=cw > > then type could have any combination of 'a' (=all), 'w', 'c', 'g' ... > ('i' is ignored, for compatibility). 'a' is the default. > (BTW: "i" is currently ignored: you can use type=chucky and it will behave the same) But back to this one for a moment... http://localhost:8080/reports?view=byweek&y=2013w > or > http://localhost:8080/reports?view=byweek&y=w2013 i can't put it in the year because not all reports take (or require) a year (or any other common argument except the user, IIRC). It could, however, be encoded in the view name, e.g. view=byweek:wct. (should probably use someting other than ':' or '/' as the separator, though) But at that point it makes sense to keep it as a separate parameter, analog to the current 'type' (i don't really like that name because it's a bit too generic - suggestions welcome). It would pose no significant problem to pass, e.g. type=cwe. The only halfway klunky parts there might be formatting the labels: "(Checking, Wiki, Ticket) events for the year 2013" and the menus which toggle the various flags on and off (not sure that would be feasible withou without JS). i'll play with that. -- ----- 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