Optimize fragments, add filters, fix search and clean up (#439)

Code Reformat

hide not found message

Refactor issues, remove fastadapter.

fix swipe back filter icon issue, fix crash on issues with faster swiping

Change filter icon based on selection, empty the list for progress bar, check for gitea version to pass limit and other improvements

Separate menu and interface for pr

Add filter bottom sheet to PRs, issues

Fix search/filter pull requests

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: 6543 <6543@noreply.gitea.io>
Reviewed-on: https://gitea.com/gitnex/GitNex/pulls/439
Reviewed-by: opyale <opyale@noreply.gitea.io>
This commit is contained in:
M M Arif
2020-04-23 20:40:13 +00:00
committed by 6543
parent 625e60f2e2
commit 0ee5b43996
20 changed files with 2349 additions and 2524 deletions

View File

@@ -6,13 +6,17 @@ package org.mian.gitnex.helpers;
public interface StaticGlobalVariables {
// issues variables
String tagIssuesListOpen = "IssuesListOpenFragment - ";
String tagIssuesListClosed = "IssuesListClosedFragment - ";
int issuesPageInit = 1;
// generic values
int resultLimitNewGiteaInstances = 25; // Gitea 1.12 and above
int resultLimitOldGiteaInstances = 10; // Gitea 1.11 and below
// issues variables
String tagIssuesList = "IssuesListFragment";
int issuesPageInit = 1;
String issuesRequestType = "issues";
String issueStateClosed = "closed";
// pull request
String tagPullRequestsList = "PullRequestsListFragment";
int prPageInit = 1;
}