Potentially closes#1226closes#1234
- Fix UI issues
- Use FAB where needed instead of bottom sheet entries
- Other fixes
Update: added screen shots
Co-authored-by: M M Arif <mmarif@swatian.com>
Co-authored-by: qwerty287 <qwerty287@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1259
Reviewed-by: qwerty287 <qwerty287@noreply.codeberg.org>
Closes#953
Co-authored-by: M M Arif <mmarif@swatian.com>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1201
Reviewed-by: qwerty287 <qwerty287@noreply.codeberg.org>
As title
Co-authored-by: M M Arif <mmarif@swatian.com>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1185
Reviewed-by: 6543 <6543@noreply.codeberg.org>
There are not any functinality changes except more of UI changes which comes with M3. There are still few things left but that are not there yet from Google side.
I will be merging this PR as it does not break any function but attaching a few screenshots if you would like to know how it looks like. Feel free to build from `main` to test it out.
Co-authored-by: M M Arif <mmarif@swatian.com>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1181
* remove arguments from alert dialogs funcs
* clean up strings
* fix strings with multiple `%s`
Co-authored-by: qwerty287 <ndev@web.de>
Co-authored-by: M M Arif <mmarif@swatian.com>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1121
Reviewed-by: M M Arif <mmarif@noreply.codeberg.org>
Co-authored-by: qwerty287 <qwerty287@noreply.codeberg.org>
Co-committed-by: qwerty287 <qwerty287@noreply.codeberg.org>
Do not use TinyDB as a cache or a way to send data between activities.
### How is this working
Instead of saving everything into the TinyDB, I created three `Context`s (a `RepositoryContext`, an `IssueContext` and an `AccountContext`). All are used to store things like API or database values/models and additional data, e.g. the `RepositoryContext` also contains information about the current filter state of a repository (issues, pull requests, releases/tags and milestones). These are sent using `Intent`s and `Bundle`s between activities and fragments. Changing a field (e.g. filter state) in any fragment changes it also for the whole repository (or at least it should do so).
Due to the size of the changes (after c9172f85ef, Git says `154 files changed, 3318 insertions(+), 3835 deletions(-)`) **I highly recommend you to create a beta/pre release before releasing a stable version**.
Additional changes:
* after logging out, the account remains in the account list (with a note) and you can log in again (you can't switch to this account)
* repositories and organizations are clickable on user profiles
* deleted two unused classes
Once finished, hopefully
* closes#354
* replaces #897
* fixes#947
* closes#1001
* closes#1015
* marks #876 and #578 as `Wontfix` since they are not necessary at this point
* and all the other TinyDB issues
Co-authored-by: qwerty287 <ndev@web.de>
Co-authored-by: M M Arif <mmarif@noreply.codeberg.org>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1034
Reviewed-by: 6543 <6543@noreply.codeberg.org>
Co-authored-by: qwerty287 <qwerty287@noreply.codeberg.org>
Co-committed-by: qwerty287 <qwerty287@noreply.codeberg.org>
Closes#903
Co-authored-by: M M Arif <mmarif@swatian.com>
Co-authored-by: opyale <opyale@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/906
Reviewed-by: opyale <opyale@noreply.codeberg.org>
Co-authored-by: M M Arif <mmarif@noreply.codeberg.org>
Co-committed-by: M M Arif <mmarif@noreply.codeberg.org>
clean up
Another round of ui improvements and some refactors
Minor improvements.
Hide user accounts frame while list is loading
Remove unnecessary attribute
Minor improvements.
Define avatar size in lists globally.
Improvemnts to some ui elements
Improve layout of organizations and repositories.
Update the UI across most of the screens
Refactor org UI
clean up repo layout
Add archived msg instead of label
Redesign repos UI
Move archived to repo detail screen
Co-authored-by: M M Arif <mmarif@swatian.com>
Co-authored-by: opyale <opyale@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/894
Reviewed-by: opyale <opyale@noreply.codeberg.org>
Co-Authored-By: M M Arif <mmarif@noreply.codeberg.org>
Co-Committed-By: M M Arif <mmarif@noreply.codeberg.org>
Minor improvements.
Merge branch 'master' into biometric-support
# Conflicts:
# app/src/main/res/values/strings.xml
Merge branch 'master' into biometric-support
Merge branch 'master' into biometric-support
UI transition improvements
check for older version(android 6+), support for android 10 and below
Fix material lib builds with new version
Merge branch 'biometric-support' of codeberg.org:gitnex/GitNex into biometric-support
Merge branch 'master' into biometric-support
# Conflicts:
# app/src/main/java/org/mian/gitnex/activities/BaseActivity.java
# app/src/main/res/values/strings.xml
Merge branch 'master' into biometric-support
Merge branch 'master' into biometric-support
Merge branch 'master' into biometric-support
set status to false
Merge branch 'master' into biometric-support
check for bimetric status on device
Merge branch 'master' of https://codeberg.org/gitnex/GitNex into biometric-support
close app if back button or cancel is clicked
Enable/disable and show biometric auth dialog
Layout
Co-authored-by: opyale <opyale@noreply.codeberg.org>
Co-authored-by: M M Arif <mmarif@swatian.com>
Co-authored-by: 6543 <6543@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/820
Reviewed-by: opyale <opyale@noreply.codeberg.org>
Co-Authored-By: M M Arif <mmarif@noreply.codeberg.org>
Co-Committed-By: M M Arif <mmarif@noreply.codeberg.org>
update gradle
Removing left-over space in case no reactions are available.
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: 6543 <6543@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/782
Reviewed-by: 6543 <6543@noreply.codeberg.org>
Fix date and minor ui improvements
Co-authored-by: 6543 <6543@noreply.codeberg.org>
Co-authored-by: M M Arif <mmarif@swatian.com>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/774
Reviewed-by: 6543 <6543@noreply.codeberg.org>
Minor performance improvements.
Merge branch 'master' of https://codeberg.org/gitnex/GitNex into issue-reactions
Improving color of selected elements.
First, fully working implementation of reactions.
Merge branch 'master' of https://codeberg.org/gitnex/GitNex into issue-reactions
Conflicts:
app/src/main/res/layout/bottom_sheet_issue_comments.xml
app/src/main/res/layout/list_issue_comments.xml
(Hopefully) fixing merge issues.
Merge branch 'master' of https://codeberg.org/gitnex/GitNex into issue-reactions
Conflicts:
app/src/main/java/org/mian/gitnex/interfaces/ApiInterface.java
app/src/main/res/layout/activity_issue_detail.xml
app/src/main/res/layout/bottom_sheet_issue_comments.xml
app/src/main/res/layout/bottom_sheet_single_issue.xml
app/src/main/res/values/colors.xml
Moving reactions below time frame on comments.
Merge branch 'master' into layout-reactions
Add IssueReactions
Merge remote-tracking branch 'origin/layout-reactions' into layout-reactions
Merge branch 'master' of https://gitea.com/gitnex/GitNex into layout-reactions
Merge branch 'master' into layout-reactions
Applying to pulls and issues.
Merge branch 'master' of https://gitea.com/gitnex/GitNex into layout-reactions
Providing external layouts.
Some improvements.
Adding comment emote indications.
Adding circle around emotes.
Adding some padding.
First tests.
Co-authored-by: opyale <opyale@noreply.gitea.io>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: 6543 <6543@noreply.gitea.io>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/557
Reviewed-by: M M Arif <mmarif@noreply.codeberg.org>
Merge branch 'master' into add-stat-indicator
Merge branch 'master' of codeberg.org:gitnex/GitNex into master
Show PR/Issue stat
Merge branch 'master' of codeberg.org:gitnex/GitNex into master
Merge branch 'master' of codeberg.org:gitnex/GitNex into master
endline
Co-authored-by: M M Arif <mmarif@swatian.com>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/686
Add indicator to the rest of fragments/activities
Merge branch 'master' into profress-indicators
# Conflicts:
# app/src/main/res/layout/activity_credits.xml
# app/src/main/res/layout/activity_sponsors.xml
wip to remove old indicator
Make dark green as primary color, clean up app files
Introduce new progress indicators
Co-authored-by: M M Arif <mmarif@swatian.com>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/638
Enhance and update the buttons across the app, colorful animation on tap
update toasty in view models
update toasty in fragments
update toasty in actions, activities, adapters
Alert dialogs buttons arrangements
strings fixes
switch to fab buttons
remove snackbar
Enhance whole app UI, bring consistency among the elements
Co-authored-by: M M Arif <mmarif@swatian.com>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/630
Title update
Color clean up
switch to another account and update the token at login
Add new account
Add fab button for new account and activity
update libs
Remove account from Manage accounts list
Co-authored-by: M M Arif <mmarif@swatian.com>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/624
Reviewed-by: 6543 <6543@noreply.codeberg.org>
last set of updates and changes to the icons
Add more icons
WIP : transition of more icons
Switch of icons to new icons for the whole app - WIP
Co-authored-by: M M Arif <mmarif@swatian.com>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/589
Reviewed-by: 6543 <6543@noreply.codeberg.org>
Merge branch 'master' into single-issue-ui
Add progressbar, match the ui to other ui for views(lines etc). And other refactors.
Reviewed-on: https://gitea.com/gitnex/GitNex/pulls/518
Reviewed-by: opyale <opyale@noreply.gitea.io>
Merge branch 'fab-button-issues' of https://gitea.com/opyale/GitNex into fab-button-issues
Merge remote-tracking branch 'remotes/main/master' into fab-button-issues
Merge branch 'master' into fab-button-issues
Adding onScrollListener.
Reply icon
Generalizing padding of floating action button.
Merge branch 'master' into fab-button-issues
Improving proportions.
Replacing bottom sheet item by floating action button and cleaning up code.
Co-authored-by: opyale <example@example.com>
Co-authored-by: anonTree1417 <example@example.com>
Reviewed-on: https://gitea.com/gitnex/GitNex/pulls/360
Reviewed-by: M M Arif <mmarif@swatian.com>
Merge branch 'master' into 270-single-issue-ui-enhancements
improve single issue title
Reviewed-on: https://gitea.com/gitnex/GitNex/pulls/272
Reviewed-by: 6543 <6543@noreply.gitea.io>