Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2004:
[Freeciv-Dev] Re: (PR#11291) Available Items List should be sortable by
Home

[Freeciv-Dev] Re: (PR#11291) Available Items List should be sortable by

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: craig@xxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#11291) Available Items List should be sortable by columns
From: "Vasco Alexandre da Silva Costa" <vasc@xxxxxxxxxxxxxx>
Date: Thu, 2 Dec 2004 13:52:24 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=11291 >

On Wed, 1 Dec 2004, craig@xxxxxxxxxxxxxx wrote:

> <URL: http://rt.freeciv.org/Ticket/Display.html?id=11291 >
>
> Available Items List should be sortable by columns
>
> In the city window on the worklist tab, the available items can grow
> large and I'd like to easily sort on the column tabs. This will easily
> allow me to answer questions like "what's the highest attacking unit I
> can build" (by sorting on the info tab), "what is the unit or
> improvement that can be built the soonest" (by sorting on the turns
> tab", "what is the cheapest unit I can purchase" (by sorting on the
> cost tab", etc.
>
> The way the items are currently organized is by groups: improvements
> are displayed first (coinage is included in this group), then units,
> then wonders. Another problem is scanning to see if a city can build a
> unit of a specific type, such as a Destroyer. Without leaving the
> worklist tab, if I want to know this, I look for the group that
> contains the units, then begin looking for Destroyer. This can lead to
> hunting when the worklist grows long. However, if I could sort
> the type column alphabetically all I would have to do is look
> for "Destroyer" in the list of items that begin with D -- a much
> simpler search.

I think it would be simpler if you could type the name of the thing you
want to build and it searched the list for it.

> Should I be sorting on a column that has two matching elements (for
> instance that the cost of two units are the same), they should be
> ordered alphabetically by name. That is, the sort order should always
> be: current column, then alphabetically by type.
>
> The only remaining issue is how to get the default sorting back., I
> suggest adding a small column that indicates which category the item
> belongs to. The column header would be "category", and the possible
> categories are: unit, improvement, and wonder. These could be
> represented by a single letter to save space: u, i, and w. Clicking on
> the category column would sort it into improvements, units, and
> wonders -- the current default.

---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa





[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: (PR#11291) Available Items List should be sortable by columns, Vasco Alexandre da Silva Costa <=