New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add history refreshing (fixes 3162) #3840
feat: Add history refreshing (fixes 3162) #3840
Conversation
I'm really sorry @naivekook but we need to break this down as you're adding tree dependencies and possibly breaking a lot of code. Could we start from refactoring the old code and then adding the new deps and only then adding the new feature. I know it's a lot of work but this pr doesn't only add the feature. |
Yeah it's ok, it was to be expected that my PR will be declined I thought how I can split my PR in a few small PRs, but the problem is that my refactor requires to include these new libraries (by the way these libraries are very small and very stable and tested in production many times). To remove the new functionality from refactoring you just need to remove lines 43-71 from The reason why I made this PR is I just want to show and discuss how we can refactor our screen with view model approach (looking through the code looks like this approach is more easy to implement here). I believe that we have to improve the codebase and write some tests if the project wants to move forward, because, to be honest, my eyes bleeding sometimes looking to it and our latest news about "Bad behaviour" say the same thing. I have an idea @VaiTon, what if we can hop on call in OFF weekly meeting on Thursday and I will follow you (or someone else) through my code to describe how it works and what I've done? P.S. sorry if I sounds too linear or offensive, english is not my native, I appreciate the work you've been done guys, just want to make the project better :) |
You don't sound offensive at all don't worry! Let's coordinate on slack then |
78d2dbe
to
865a790
Compare
@naivekook rebase? |
Yes just rebased |
865a790
to
17f2b8f
Compare
small conflict resolution necessary |
17f2b8f
to
66cf7a2
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
@naivekook let's cook this in develop |
Sorry I didn't test it well after last rebasing |
Description
Added history refreshing via API call. Refactored screen a bit to split up the logic and ui and make the screen more easy to read. The PR is quite big, but I don't see possibility to break it in small parts, sorry for that.
Related issues
Fix #3162
Related PRs
none
Screenshots
https://drive.google.com/file/d/1G8M0R7RAYfsF1MNATzuwC0GFgm29B4vr/view?usp=sharing