chadfennell / ccf

codefest
Apache License 2.0
1 stars 1 forks source link

Order Names and Avatars alphabetically by first name #23

Closed emelcher1 closed 10 years ago

emelcher1 commented 10 years ago

Under the "Who's attending" section, default order the Names and Avatars alphabetically by first name.

chadfennell commented 10 years ago

currently, they sort by when users register. we might make this a configurable link. @pete2786, do you have an opinion?

To me, it would make sense to have an optional sort alpha on name (esp when you're looking for a particular person)

pete2786 commented 10 years ago

On what level would it be configurable? It's minor, something you could store in a session or a cookie instead of in a database.

chadfennell commented 10 years ago

yep, I don't think the configuration would persist. Something like a cookie would be fine. In fact, sorting wouldn't necessarily persist between page loads, which means we could even just do it with a little JS. There are a couple of options, I guess.

maxfierke commented 10 years ago

How about JavaScript for sorting and LocalStorage for persisting sort order?

pete2786 commented 10 years ago

https://github.com/campuscodefest/ccf/issues/14