You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@dominiquelee
I sent a message to the CHPP staff, asking if this is how it will be going forward and if they have any suggestions. Worst case they'll tell me to go away, best case...
@dominiquelee I sent a message to the CHPP staff, asking if this is how it will be going forward and if they have any suggestions. Worst case they'll tell me to go away, best case...
What a waste of time that was. Basically, we do what we want, deal with it.
Short description of the problem
XP data fails to load when opening a player's performance history
Any other relevant information. Is it a regression, when it worked/broke etc.
Match type recognition comes from
foxtrick/content/information-aggregation/player-stats-experience.js
Lines 219 to 223 in 3780cd4
which reads the class name of the icon of the line.
This value is then compared to module.XP:
foxtrick/content/information-aggregation/player-stats-experience.js
Lines 46 to 52 in 3780cd4
However, the class name has changed and is now always
match-type-svg
A potential fix would be to extract the .svg URL, remove the version part and use that as a new key in the array. Some examples of value are
/Img/Svgs/match-types/series.svg?v=1
/Img/Svgs/match-types/cup.svg?v=1
/Img/Svgs/match-types/friendly.svg?v=1
/Img/Svgs/match-types/challenger-cup-2.svg?v=1
(Ruby Cup)/Img/Svgs/match-types/nt-worldcup.svg?v=1
(World Cup)/Img/Svgs/match-types/nt-cup-europe.svg?v=1
(Europe Cup)/Img/Svgs/match-types/masters.svg?v=1
The text was updated successfully, but these errors were encountered: