Optimize fragments, add filters, fix search and clean up #439
No reviewers
Labels
No Label
Priority-high
Accepting-merge-requests
API
API-dependency
Backport
Blocked
Brainstorming
Breaking
Bug
Changelog
CI
Cleanup
Confirmed
Discussion
Documentation
Duplicate
Enhancement
External-dependecy
F-droid
Feature
Google-play
Improvement
Invalid
Investigate
LGTM-done
LGTM-need
Long-term
Major-release
Minor-release
Needs-cleanup
Needs-feedback
Needs-help
Priority-critical
Priority-low
Priority-medium
Question
Ready
Refactor
Regression
Release
Repository
Security
Suggestion
Support
Testing
Translation
UI/UX
Upstream
Website
WIP
No Milestone
No Assignees
3 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitnex/GitNex#439
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fragment-optimization-search-fixes-across-app"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A rough PR which fixed few things along the way and added filter for pr and issues(need to redo).
PR filter should work flawlessly and need you guys opinoin on it. If it's fine I can proceed with further fixes and enhacements.
Waiting for your feedback on this.
Closes #414 #385
Ref issue #278
Edit: I will update this post to add the related issues to be closed/addressed OR please add if you see one.
Fix searchs, add filters and clean upto Fix search, add filters and clean upThere are multiple progress bars when issues are being loaded.
This is not a big problem, but in issues the list is empty while the progress bar spins. The opposite is true when pull requests are loading.
It would be nice too, if we would have some kind of indication, whether we are currently looking at closed or open issues/pull requests. My idea would be to switch to a red filter icon (tint) when viewing closed items.
The color values i used in the screenshot are:
R: 175
G: 66
B: 66
Edit: Made color values a little bit brighter than in the screenshot.
I have only tested on issues using fastadapter. But it is not the focus right now as if PR works as I woulk like it to, I refactor issues to it too.
This need to be addressed, I will try to reproduce on my side.
Yes, that's what I asked yesterday in the chat but good to know that you have posted a idea. I will try with that, just need to take care of the color in dark theme too.
Fix search, add filters and clean upto Optimize fragments, add filters, fix search and clean up@opyale this commit has addressed your points.
3074c477b0
Aside that, I have worked on PR screen at the moment and focus is on that. Once all done on PR screen and we are going to accept these changes. I will refactor issues too in this same PR.
I will remove fastadapter from issues and later from commits, which means no more use of the library. Less space for the app.
Just need thorough testing on PR screen to address all the issues and make sure it works, which can then lead us to refactor issues.
@mmarif This looks nice so far. The only bug i encountered was that if you swipe to another fragment after you've selected 'closed' on issues/prs and swipe back you will get a green filter icon though the content is still made up of closed views.
@mmarif And there is another bug: The color of the filter icon doesnt change when calling for some closed issues.
Nice catch. Swipe even crash the app for me. Will fix that.
Issues will be done later.
Fixed the swipe issue.
c3e1cf48b0
@mmarif Works fine now. Are you planning on fixing "issues" in this pr?
Yes
Refactored issues
141908ab49
@mmarif Is this your last commit, because I would start reviewing then.
It litterly is as I can't find more things to add or fix.
Works fine. I didn't encounter any problems! 👍
@6543 do you want to try before I merge?
sure - give me 20min I'll merge If it works on my side