vmware-archive / projectmonitor

Big Visible Chart CI aggregator
http://ci.pivotallabs.com
BSD 2-Clause "Simplified" License
428 stars 120 forks source link

Special characters are skipped when sorting projects by name in the monitor #33

Closed spilth closed 10 years ago

spilth commented 10 years ago

I've created two projects and their Codes both start with ⚛ (ATOM SYMBOL Unicode: U+269B, UTF-8: E2 9A 9B) but have different text after the special character. For example: "⚛ Bar" and "⚛ Foo".

If there is a project name "Dog" it will show up inbetween the two projects: "⚛ Bar" "Dog" "⚛ Foo"

I expected my two projects to show up next to each other: "Dog" "⚛ Bar" "⚛ Foo"

The project Names themselves are titled consistently as "Client Name - Bar" and "Client Name - Foo", so perhaps it makes more sense to order the status panels by Name rather than Code?

gsiener commented 10 years ago

Interesting. I'm pretty sure we sort by code...can you write a failing test for this? As for sorting by Name, I'm not sure that makes sense as it's not immediately apparent what the sort order is when looking at a screen.

spilth commented 10 years ago

Sure, 'll work on a failing test.