Option: show room success rate colors in chapter graph - #140
Option: show room success rate colors in chapter graph#140NonbinaryCoder wants to merge 9 commits into
Conversation
|
Maybe I can do the Chinese translation for you |
|
That would be nice, thank you! I didn't want to just use an online translator since it would be likely to make mistakes. |
|
It looks to me like |
overall a really cool feature tho! |
|
will do! probably over this weekend depending on how busy i end up |
to `SuccessRateStat`
Also, adjust `ChokeRateStat` caching code to match All caches are invalidated on run end or chapter change. `SuccessRateStat` cache is also invaludated in: - `RoomStats.AddAttempt` - `RoomStats.RemoveLastAttempt`
|
I've added caching to the success rate stat, and adjusted the choke rate stat to match how viddle suggested i implement caching. Invalidating the cache in |
|
After some testing i've found a bug where changing settings such as thresholds for different colors doesn't cause the graph to update, i will set the cache to be invalidated whenever a setting is changed since the performance impact should be negligible in menus. |
|
Do @ me after you fixed that bug |
|
@viddie I've set the cache to be invalidated in |
Colors the bars in the chapter graph to match the colors established by the "Success Rate Colors" section in "Live-Data Settings"


Enhancements:
Questions:
RoomStats.AverageSuccessOverNwould be easyGraphOverlay, however I am not familiar enough with the CCT codebase to implement such a feature