Cleanups up and fixes docs in View class.#2098
Cleanups up and fixes docs in View class.#2098tig merged 3 commits intogui-cs:developfrom pavkam:cleanup_1
Conversation
|
Was this done with a tool? e.g. ReSharper? That would help my confidence in there being no mistakes a lot. |
I think so. |
|
Ok I've gone through it and all the changes look good and correct. Takes quite a while to comb through though, would be a big task to validate it across whole codebase. That said the new code us much more readable and I really like it. |
I use Rider on a Mac. The IDE does highlight the issues but I do manually validate whether a change is OK or not. I have not acted upon all its hints as that would be too intrusive. |
That a good point. Really Rider show many unnecessary suggestions. I'm glad you didn't accept all them. Good work. |
|
@BDisp @tig @tznind -- if you think it makes sense to go around cleaning up more of the source code, I am glad to do so. Gives me an opportunity to figure out the code. I was looking into creating a TUI toolkit before for my own needs but it makes more sense to modernize parts of this project and continue from there. |
For me I'm glad for your interesting on improvement the |
|
For the record, I'm still a tiny bit nervous about accepting this PR, but I really appreciate @pavkam's efforts and welcome him as a contributor! Thanks to both @BDisp @tznind for reviewing. In the future, any 'cleanups' like this should double down on more unit tests to reduce the risk of regressions. I'm going to re-review this asap, just to make myself even more comfy with the changes... |
Awesome :) welcome aboard |
This PR does not introduce functional changes. It merely modernizes one class. If this PR is accepted more code can be modernized subsequently.
Pull Request checklist:
CTRL-K-Dto automatically reformat your files before committing.dotnet testbefore commit///style comments)