These are chat archives for arenanet/api-cdi

1st
Mar 2016
nobody0705
@nobody0705
Mar 01 2016 09:38
hi out there!
@Nabrok I've requested the start/end-dates for seasons at the official forums. The answer was, that Lawton has to put it in manually. He's looking into it.
@Nabrok I've implemented the "empty" pip icon as follows: taking the "normal" pip icon for this season and set a filter for black/white (and alpha-value about 0.8). Easy via CSS and the result seems ok for me (at least in actual browsers, not IE6 :D )
Nabrok
@Nabrok
Mar 01 2016 13:51
@nobody0705 Thanks. Turns out the order of the seasons array is not consistent, so for now I'll either have to hard code something or live with the order changing every now and then.
@nobody0705 For the empty icons I was thinking of doing something along those lines to indicate any difference between current and best.
smiley
@codemasher
Mar 01 2016 13:55
@Nabrok asynchronous backend is asynchronous ;D https://gitter.im/chillerlan/gw2hero.es?at=56c3dcfbfdaaf5f17c0b331d
Nabrok
@Nabrok
Mar 01 2016 13:57
Yeah, right now I'm just using it to populate a drop down so it's not a huge deal.
Might be more of one when there are 3 seasons.
smiley
@codemasher
Mar 01 2016 14:01
just deep sort the response and you're fine ;)
nobody0705
@nobody0705
Mar 01 2016 14:49
@Nabrok For season-sorting i've implemented a hand-filled col for "season_start" :)
works for me until lawton implements start- and end of season to the api