Allow reordering of screenshots

Bug #1823634 reported by GunChleoc
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Widelands Website
New
Undecided
Unassigned

Bug Description

At the moment, screenshots are shown in the order that they were uploaded. The order for Build 20 is less than ideal, but it can't be changed without reuploading everything.

So, I'd like a feature in the admin interface that allows reordering.

Related branches

Revision history for this message
kaputtnik (franku) wrote :

Good idea. We have to add a new integer field for the table then, e.g. 'position'.

To make it smart, e.g. to not have the same position twice when doing a reordering, this can be difficult, but should be doable.

Do you want it before the switch to python3?

Revision history for this message
GunChleoc (gunchleoc) wrote :

Having it soon would be nice :)

Revision history for this message
kaputtnik (franku) wrote :

I decided to not have it too smart. Instead you can edit each screenshot in the admin page for the category. Default position is always 0, order will be like before then.

First screenshot, note that this will be the view of a particular Category (eg. category 'Build 20'. You can also add new screenshots there.

Revision history for this message
kaputtnik (franku) wrote :

We may want also to allow ordering of categories. Currently it is ordered by the name. This is no problem if we always have a name like 'Build x'. In the future one may has the idea to add a new category with name 'A new category'. With the current ordering this will be displayed below all other categories then.

Revision history for this message
GunChleoc (gunchleoc) wrote :

+1 to that - I'd say the move to Python 3 has higher priority though.

Revision history for this message
GunChleoc (gunchleoc) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.