Option: show room success rate colors in chapter graph - #140
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 |
There was a problem hiding this comment.
i tested the changes, and at least performance wise they seem good. however, i dont like how the setting forces you to also use the explicit indicator for which room you are in. if you can find a solution to make it also work with the default indicator style, i would merge this.
when you've made the changes, re-request the review on this PR.
when using standard room indicator
as is currently being shown


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