On 06/15/12 03:11, Laurent Savaete wrote:
>> Just ran into a couple of issues with the new index based navigation.
>>
>> 1) the language name placement is a bit all over the place at the
>> moment, including covering some of the motto text in the middle of the
>> screen and having "French" half of the screen to the left.
>
> if it's really messed up, can you take a screen shot and send it to
> me? (fullscreen)
> in firefox right now, it's a bit messy, but not as bad it sounds for you.
> but I still agree it needs improving.
I've seen it look fairly bad, with language tags all the way to the
right of the front page. I noticed this while reloading the page over
and over again as indexing was first occurring the other day.
>> 2) The tag based search pages for each language seem to be truncated
>> after one page of results. For example, the FSI Mandarin lessons exist
>> in both a restricted edit fsi-import group and a public zh/ community
>> wiki version but only the fsi-import ones show up here:
>>
http://wikiotics.org/special/search?tag=target-language:zh
>
> indeed. I don't understand at first sight what the problem may be. The
> query looks ok from what I can gather in the docs.
> I think Jim will have to help us there.
> A caveat though: the index does NOT auto refresh yet, so if you've
> just tagged the lessons, they may not be in the index yet.
There is nothing missing; it just doesn't list duplicate results (i.e.
two pages that currently point to the same revision). I did this
intentionally. In the future we should figure out which one to send
people to using a priority system, if revisions match all over the
place. Right now it chooses "randomly" (though it's probably not truly
pseudo-random).
>> 3) The old text wiki "index" pages seem to either be untagged and thus
>> not on the new tag search pages, or are on the "invisible" second,
>> third, etc page of the tag search results.
>
> We don't support tagging to text wiki pages yet. It may be my job for
> this afternoon's train ride :)
A lot (but not all) of the old index pages should evaporate, as they
added no value beyond allowing people to find lessons. But somebody
should go through each of these index pages and make sure that each
lesson it points to is tagged and available through the new interface,
and then have it link to the search page.
>> 4) Is it possible to either use a template for the search pages or
>> otherwise edit the page contents around the search results? Adding some
>> sort of introductory text to explain that these links are the result of
>> a search for tags and explaining how they are sorted (how are they
>> sorted by the way) would be helpful. I'm happy to do this manually for
>> the existing pages if that is easiest.
>
> I think the simplest way to get what you want is to build a macro that
> returns the result of some search you request. Unless I'm missing
> something critical, I don't think it's very hard to do --> todo list
> for the afternoon :)
> An alternative: you write what you want to appear in the page header,
> send it to Jim, and he can probably insert that in the code and push
> to main server.
> I don't think the results are sorted in any particular way right now.
We need to make the search results display better, of course. There's
no way to do this "manually" -- the pages are the result of a database
query. There's a template in
ductus/special/templates/special/search.html. Feel free to send patches :)
>> 5) Are there different options for sorting the lessons? I realize
>> building the full search page we talked about initially is a bigger
>> project but if sorting toggles were possible, that might make the
>> existing search results easier to navigate.
>
> not yet, but we can build that into the search query. What options can
> you think of to start with?
Indeed, we can make all the search and sort options we want and get them
working now. Then later we can design the UI that allows people to
actually select all those things. We don't need to build the selection
UI before making the queries work, however; they're independent things
for the most part.