Commit graph

209 commits

Author SHA1 Message Date
Phillip Thelen
3e3d3b11f6 bunch of fixes 2022-07-27 17:04:28 +02:00
Hafiz
6fdcc212bc Background Bottomsheet UI fixes 2022-07-27 10:09:49 -04:00
Phillip Thelen
a9326eaa17 style fixes 2022-07-26 15:34:01 +02:00
Hafiz
cad11e8588 -Update Armoire equip type from "Gear" to "Equipped
-Switch filter to active state when filtering on backgrounds
-Check if Avatar Customization set is a deal (If total set costs less then total of individual item), and continue showing "buy set" button
-For Habitica Account Dialog, auto resize input when keyboard opened
-HabiticaAccountDialog (Delete dialog) UI fixes
-Check if Uri has scheme, if not adds https:// (to support in-line
-Avatar Customization item filter UI fixes
2022-07-26 07:15:54 -04:00
Hafiz
6fb21fa0d0 Update deletion confirmation dark mode navigation bar colors 2022-07-19 17:42:04 +02:00
Hafiz
a872c1c9da confirm delete screen ui updates
Correct confirm screen typeface for placeholder text
Fix delete confirm screen icon and text colors when in dark mode
2022-07-19 17:42:04 +02:00
Phillip Thelen
fd4c49ecde Implement new faint screen 2022-05-27 10:06:00 +02:00
Phillip Thelen
6c3585040d Fix tag editing text color 2022-05-27 10:06:00 +02:00
Phillip Thelen
acb84d60ab improve touch feedback 2022-05-27 10:06:00 +02:00
Phillip Thelen
afe8b22cca minor fixes 2022-05-27 10:06:00 +02:00
Phillip Thelen
5256e85641 Improve bottom sheet design and behaviour 2022-05-27 10:06:00 +02:00
Phillip Thelen
c7ef292721
Merge pull request #1773 from Hafizzle/Hafiz/#1523
#1523 - Update Reset/Delete Modals
2022-05-24 09:53:37 +02:00
Hafiz
cbfcb45a0c Reset/update fixes to 3.6 Branch 2022-05-09 00:42:18 -04:00
Phillip Thelen
327d36e58d
Merge branch 'version/3.6' into Fixes#1523 2022-04-28 12:01:54 +02:00
Phillip Thelen
00e81b2a4b 6524ba7a Add color selector for both focused / not focused 2022-04-26 18:31:28 +02:00
Hafiz
c3240be6d8 Create Account Dialog fragment for resetting and deleting account 2022-04-26 04:15:33 -04:00
Phillip Thelen
c8eeddb6ef New stylish bottom sheet 2022-04-22 11:32:58 +02:00
Phillip Thelen
c1b29a547a Implement new armoire screen 2022-04-19 17:17:45 +02:00
Phillip Thelen
42fe386b6c Fixes #1688 2022-01-20 15:00:57 +01:00
Phillip Thelen
b146895a52 Widget fixes 2021-11-29 17:03:17 +01:00
Phillip Thelen
d561ab01b6 Fixes #1555 2021-11-10 15:12:29 +01:00
Phillip Thelen
e40b26cc23 Update stats widget 2021-07-20 11:43:44 +02:00
Phillip Thelen
27d5f03f05 Fixes #1595 2021-07-20 09:28:50 +02:00
Phillip Thelen
d42f0bd9db fix crashes 2021-07-08 12:39:42 +02:00
Phillip Thelen
eb2333667b update preferences dependency 2021-06-08 08:59:17 +02:00
Phillip Thelen
8c95d8ec6a Improve support for older android versions. Fixes #1443 2021-01-28 16:39:01 +01:00
Phillip Thelen
e3e53f0060 Fix various minor issues 2020-09-29 12:48:20 +02:00
Phillip Thelen
f2c21c0604 Fix release breaking issues 2020-09-22 16:10:15 +02:00
Phillip Thelen
499fca1d34 Fix minor bugs 2020-09-18 18:34:53 +02:00
Phillip Thelen
e1221c1f53 Fix style issues 2020-09-17 17:58:59 +02:00
Phillip Thelen
564ad8ecbe Improve RTL support 2020-09-17 13:47:02 +02:00
Phillip Thelen
4b03a448c9 Style updates 2020-09-17 13:23:27 +02:00
Phillip Thelen
e1886f6928 Fix styling issues 2020-09-15 09:28:34 +02:00
Phillip Thelen
b7e579fde9 Remove kotlin synthetic and kotterknife 2020-09-08 19:23:01 +02:00
Phillip Thelen
0728eed1af Begin implementing dark mode 2020-09-04 18:17:34 +02:00
Phillip Thelen
31b8d68f9c Fix issues with new design 2020-08-26 13:30:30 +02:00
Phillip Thelen
e19f7222c2 Begin implementing new task design 2020-08-26 13:30:30 +02:00
Phillip Thelen
d5d4e17b21 Minor improvements 2020-08-05 16:49:43 +02:00
Phillip Thelen
fb4ab4203d Fix stable display issues 2020-07-30 12:44:01 +02:00
Phillip Thelen
eae77cfad5 Various stable improvements 2020-07-28 12:31:36 +02:00
Phillip Thelen
9bc66ac90b Refactor pets and mounts screens 2020-07-24 12:19:56 +02:00
Phillip Thelen
6bc2365232 update header design. Fixes #1345 2020-07-20 16:59:33 +02:00
Phillip Thelen
241599a785 fix various crashes 2020-07-13 17:28:19 +02:00
Phillip Thelen
5cd9ad6945 small design tweaks 2020-06-05 11:25:47 +02:00
Anita W
89f40defb8
Talkback improvements for New Habit and New Daily screens (#1317)
* Include state in content description of positive/negative habit buttons

- Now instead of announcing just 'Positive' or 'Negative' when these
buttons are focused with Talkback on, it also announces their current
state (e.g. 'Positive On').

- Also, when the state is changed, it now sends an accessibility event
so the new state is announced immediately (as advised at
https://developer.android.com/guide/topics/ui/accessibility/custom-views#send-events).

* Make headings in Task Form be read out as headings by Talkback

* Include state in content description of task difficulty buttons

- Now instead of announcing just 'Trivial', 'Medium' etc when these
buttons are focused with Talkback on, it also announces their current
state (e.g. 'Medium, Selected' / 'Trivial, Not Selected').

- Also, when a difficulty button is clicked, it now sends an
accessibility event for the button corresponding to that difficulty
level, so the new state is announced immediately.

  - Note that since buttons are recreated every time one is clicked,
    we can't simply send the event from the button's OnClickListener.
    Instead we have to record which button is selected and send the
    event for that button once it has been recreated.

* Include state in content description of reset streak buttons

- Now instead of announcing just 'Daily', 'Weekly' etc when these
  buttons are focused with Talkback on, it also announces their current
  state (e.g. 'Daily, Selected' / 'Weekly, Not Selected').

- Also, when a reset streak button is clicked, it now sends an
  accessibility event with the new content description, so the new state
  is announced immediately.

  - Note that since buttons are recreated every time one is clicked,
    we can't simply send the event from the button's OnClickListener.
    Instead we have to record which button is selected and send the
    event for that button once it has been recreated.

* Add labelFor attributes for repeats_every_spinner/edittext

- This adds more context for the drop-down menu and the edit-text
content descriptions read out by Talkback when editing how often dailies
repeat. This is advised by the accessibility principle described at
https://developer.android.com/guide/topics/ui/accessibility/principles#content-pairs

- For example instead of reading out 'Drop-down menu, Weekly' it now
reads out 'Drop-down menu, Weekly, for Repeats'. And instead of reading
out '1, Edit box' it now reads out '1, Edit box for Weeks'.

* Improve content descriptions of weekday buttons on New Daily screen

- Now instead of 'Capital M', 'Capital T', etc. Talkback reads out
'Monday, Selected', 'Tuesday, Not selected', etc.

- It also reads out the new status whenever a day is selected or
deselected.

* Mini refactor: reduce duplication in configureMonthlyRepeatViews

* Improve content description of weekly repeats buttons

- Now the content descriptions of the weekly repeats buttons in the
New Daily screen include whether they are Selected / Not selected.

- Also an accessibility event is sent when they are toggled, so the
content description is read out again with the updated status.

* Improve content descriptions of ReminderItemFormView

- Previously, the '+' button was focusable, even though it didn't do
anything, and Talkback read out 'Unlabelled button', regardless of
whether it was a '+' button or a 'x' button.

- Now, we only make it focusable when it becomes a delete button, and
Talkback reads out 'Delete Reminder, Button for 6.16pm' (or whatever
the time of the reminder it relates to is - this is achieved by setting
the android:labelFor property on the reminder TextView).

* Improve content descriptions of ChecklistItemFormView

- Previously, the '+' button was focusable, even though it didn't do
anything, and Talkback read out 'Unlabelled button', regardless of
whether it was a '+' button or a 'x' button.

- Now, we only make it focusable when it becomes a delete button,
and Talkback reads out 'Delete Checklist Entry, Button for Checklist
 Text' (or whatever the checklist text is - this is achieved by setting
 the android:labelFor property on the checklist EditText).
2020-05-04 17:27:29 +02:00
Phillip Thelen
e79bf4e3f5 support changes 2020-04-15 15:06:13 +02:00
Phillip Thelen
b56c16654b desgin tweaks 2020-04-15 15:06:13 +02:00
Phillip Thelen
edc2a83a08 Implement improved help screen 2020-03-18 15:34:23 +01:00
Phillip Thelen
a8914d4b95 Improve background handling 2020-01-15 19:24:06 +01:00
Phillip Thelen
48a99e1412 improve empty task view 2020-01-15 18:32:17 +01:00
Phillip Thelen
532cb42084 Add empty state for tasks. Fixes #535 2020-01-10 15:58:38 +01:00
Phillip Thelen
049cc3587c Add promo to menu 2019-11-30 20:02:13 +01:00
Phillip Thelen
6918dd3e12 Sub page improvements 2019-11-25 13:03:27 +01:00
Phillip Thelen
ba24ce0167 Redesign subscription page 2019-11-19 18:07:45 +01:00
Phillip Thelen
a7311de300 Fix subscription benefits display. Fixes #1236 2019-10-28 13:01:46 +01:00
Phillip Thelen
13916c1ad1 Try to fix display issue in setting spage 2019-10-07 19:13:29 +02:00
Phillip Thelen
8ad5ae2d90 Add search to task view 2019-08-30 13:25:15 +02:00
Phillip Thelen
216b057fc4 Fix various linting errors 2019-08-24 12:33:14 +02:00
Phillip Thelen
d58992a0f3 Make task form show correct colors when editing 2019-08-07 12:07:14 +02:00
Phillip Thelen
59bf5b10d6 Clean up themes 2019-08-07 10:29:58 +02:00
Phillip Thelen
2b77acc593 Add basic theme switching 2019-08-07 09:14:11 +02:00
Phillip Thelen
d2a3f52ac7 fix status and navbar color 2019-06-14 17:56:53 +02:00
Phillip Thelen
dc43cf06a5 fix layout issues on specific phones 2019-06-13 16:41:40 +02:00
Phillip Thelen
8fd56bf718 Improve task text input. Fixes #1165 2019-06-13 11:04:34 +02:00
Carl Vuorinen
8eed9cb197 Global Notification support - pt2 (#1171)
* Create custom notifications for Guild, Party & Quest invitations

Merge custom notifications with the ones coming from server.
Skip marking custom notifications as seen or dismissing them.

* Create actionable notification item views

Set result code based on accept/reject button click

* Handle accept & reject results from actionable notifications

Accept / reject quests & group invites based on notification type
Reload user after accept/reject to refresh notifications

* Create observable from custom notifications also & combine with server notifications

* Better styles for small buttons

* Handle displaying quest data for quest invitation notification

* Add translations related to notifications
2019-06-12 18:00:08 +02:00
Phillip Thelen
be258fab8b Fix authentication on older android versions 2019-06-07 17:13:00 +02:00
Phillip Thelen
603bcf8464 Fix header text color. Fixes #1177 2019-06-07 14:48:38 +02:00
Phillip Thelen
ae694d5185 Hide quest progress if not participating in quest. Fixes #1132 2019-06-05 16:15:46 +02:00
Phillip Thelen
f6d6308601 Don’t draw app behind navbar
Fixes #1164
2019-06-03 17:12:29 +02:00
Phillip Thelen
f66d7c8ab9 tweak new alert design 2019-05-31 10:22:36 +02:00
Phillip Thelen
7a1ef8a7cc Begin implementing new modals 2019-05-17 19:30:05 +02:00
Phillip Thelen
1d2f3ab1bb Theming test 2019-05-17 13:57:29 +02:00
Phillip Thelen
2cb410d203 tweak report message screen 2019-04-26 10:28:06 +02:00
Phillip Thelen
9fb3ac7fd6 update accept guidelines design 2019-04-25 13:46:27 +02:00
Phillip Thelen
12002b47cf Build new guild detail screen 2019-04-25 10:06:56 +02:00
Phillip Thelen
e2c17fef90 Various style fixes 2019-04-24 10:17:24 +02:00
Phillip Thelen
fbf6ac031d Impelement new report view. Fixes #355 2019-04-18 11:54:32 +02:00
Phillip Thelen
0ee9936ec3 Implement new class selection screen. Fixes #828 2019-04-17 14:48:08 +02:00
Phillip Thelen
396ddffc55 Squashed commit of the following:
commit b2c0612855b8129ccd5236f8b045f20f4490e02e
Author: Phillip Thelen <viirus@pherth.net>
Date:   Mon Apr 15 13:26:51 2019 +0200

    Fix issues with items and pets

commit 15ae2ee15057522f1407147a389c94ab87591892
Author: Phillip Thelen <viirus@pherth.net>
Date:   Wed Apr 10 12:52:52 2019 +0200

    fix typo

commit 225d096155f5989740454d64025e99418893e0f3
Author: Phillip Thelen <viirus@pherth.net>
Date:   Wed Apr 10 02:20:33 2019 +0200

    fix wacky pets deserialization
2019-04-15 13:29:48 +02:00
Phillip Thelen
80ef5e1bdb Continue implementing new task form 2019-04-05 09:45:26 +02:00
Phillip Thelen
cca994fad5 Begin building new task form 2019-04-05 09:45:26 +02:00
Phillip Thelen
70e7b54cc1 Begin implementing new navigation architecture 2018-12-03 19:26:47 +01:00
Phillip Thelen
c7f0346ff8 Fix layout issues on devices with a notch 2018-11-19 18:13:35 +01:00
Phillip Thelen
cda7e4a403 fix crashes 2018-08-06 14:23:02 +02:00
Phillip Thelen
ae98b69e99 Redesign challenge list 2018-07-24 13:45:23 +02:00
Phillip Thelen
5626b76956 Begin implementing new challenge design and layout 2018-07-23 18:03:58 +02:00
Phillip Thelen
483c4f6e12 Implement new no-party screen. Fixes #814 2018-02-09 18:13:44 +01:00
Phillip Thelen
b54de0c30b Merge remote-tracking branch 'origin/custom-menu' into develop
# Conflicts:
#	Habitica/AndroidManifest.xml
#	Habitica/build.gradle
#	Habitica/res/layout/fragment_about.xml
#	Habitica/res/layout/fragment_avatar_overview.xml
#	Habitica/res/layout/fragment_equipment_overview.xml
#	Habitica/res/layout/fragment_group_info.xml
#	Habitica/res/layout/fragment_news.xml
#	Habitica/res/layout/fragment_stats.xml
#	Habitica/res/layout/fragment_tavern_detail.xml
#	Habitica/res/layout/tavern_chat_new_entry_item.xml
#	Habitica/res/values/attrs.xml
#	Habitica/res/values/colors.xml
#	Habitica/res/values/dimens.xml
#	Habitica/res/values/strings.xml
#	Habitica/src/main/java/com/habitrpg/android/habitica/data/UserRepository.kt
#	Habitica/src/main/java/com/habitrpg/android/habitica/data/implementation/ApiClientImpl.java
#	Habitica/src/main/java/com/habitrpg/android/habitica/data/implementation/UserRepositoryImpl.kt
#	Habitica/src/main/java/com/habitrpg/android/habitica/data/local/implementation/RealmTaskLocalRepository.kt
#	Habitica/src/main/java/com/habitrpg/android/habitica/data/local/implementation/RealmUserLocalRepository.kt
#	Habitica/src/main/java/com/habitrpg/android/habitica/events/commands/OpenMenuItemCommand.java
#	Habitica/src/main/java/com/habitrpg/android/habitica/extensions/ViewHolder-Extensions.kt
#	Habitica/src/main/java/com/habitrpg/android/habitica/helpers/SoundFileLoader.kt
#	Habitica/src/main/java/com/habitrpg/android/habitica/models/inventory/Equipment.kt
#	Habitica/src/main/java/com/habitrpg/android/habitica/models/shops/ShopItemUnlockCondition.kt
#	Habitica/src/main/java/com/habitrpg/android/habitica/models/tasks/Task.kt
#	Habitica/src/main/java/com/habitrpg/android/habitica/ui/AvatarWithBarsViewModel.java
#	Habitica/src/main/java/com/habitrpg/android/habitica/ui/activities/FixCharacterValuesActivity.kt
#	Habitica/src/main/java/com/habitrpg/android/habitica/ui/activities/MainActivity.java
#	Habitica/src/main/java/com/habitrpg/android/habitica/ui/adapter/CustomizationRecyclerViewAdapter.java
#	Habitica/src/main/java/com/habitrpg/android/habitica/ui/adapter/inventory/ShopRecyclerAdapter.kt
#	Habitica/src/main/java/com/habitrpg/android/habitica/ui/fragments/BaseFragment.kt
#	Habitica/src/main/java/com/habitrpg/android/habitica/ui/fragments/StatsFragment.kt
#	Habitica/src/main/java/com/habitrpg/android/habitica/ui/fragments/inventory/items/ItemRecyclerFragment.java
#	Habitica/src/main/java/com/habitrpg/android/habitica/ui/fragments/skills/SkillsFragment.java
#	Habitica/src/main/java/com/habitrpg/android/habitica/ui/fragments/social/InboxMessageListFragment.kt
#	Habitica/src/main/java/com/habitrpg/android/habitica/ui/fragments/social/TavernDetailFragment.kt
#	Habitica/src/main/java/com/habitrpg/android/habitica/ui/fragments/social/TavernFragment.java
#	Habitica/src/main/java/com/habitrpg/android/habitica/ui/fragments/tasks/RewardsRecyclerviewFragment.kt
#	Habitica/src/main/java/com/habitrpg/android/habitica/ui/fragments/tasks/TaskRecyclerViewFragment.kt
#	Habitica/src/main/java/com/habitrpg/android/habitica/ui/fragments/tasks/TasksFragment.kt
#	Habitica/src/main/java/com/habitrpg/android/habitica/ui/viewHolders/ShopItemViewHolder.kt
#	Habitica/src/main/java/com/habitrpg/android/habitica/ui/viewHolders/tasks/DailyViewHolder.java
#	Habitica/src/main/java/com/habitrpg/android/habitica/ui/viewHolders/tasks/HabitViewHolder.java
#	Habitica/src/main/java/com/habitrpg/android/habitica/ui/views/CurrencyView.kt
#	Habitica/src/main/java/com/habitrpg/android/habitica/ui/views/HabiticaIcons.java
#	Habitica/src/main/java/com/habitrpg/android/habitica/ui/views/HabiticaIconsHelper.java
#	Habitica/src/main/java/com/habitrpg/android/habitica/ui/views/social/ChatBarView.kt
#	Habitica/src/main/java/com/habitrpg/android/habitica/ui/views/stats/StatsView.kt
#	Habitica/src/main/java/com/habitrpg/android/habitica/widget/HabitButtonWidgetProvider.java
#	build.gradle
2018-01-30 14:06:03 +01:00
Phillip Thelen
31a9e36ad7 implement additional tavern features 2018-01-30 13:41:22 +01:00
Phillip Thelen
1173a0a94f replace materialdrawer library with custom implementation 2017-11-17 20:09:36 +01:00
Phillip Thelen
e250d42fa5 tweak bulk allocation visuals. Fixes #842 2017-11-17 14:12:13 +01:00
Phillip Thelen
438ebb2201 assign attribute points 2017-11-17 14:11:51 +01:00
Phillip Thelen
ffbbed6d9e redesign fix character values screen 2017-11-17 14:11:51 +01:00
Phillip Thelen
24ed9d1455 implement fixing character values 2017-11-17 14:11:44 +01:00
Phillip Thelen
2256f10013 tweak bulk allocation visuals. Fixes #842 2017-11-02 16:20:52 +01:00
Phillip Thelen
50e4484002 assign attribute points 2017-10-17 21:23:06 +02:00
Phillip Thelen
6d9d6585df redesign fix character values screen 2017-10-16 11:40:24 +02:00
Phillip Thelen
fe01f892bb implement fixing character values 2017-10-03 15:19:19 +02:00
Phillip Thelen
95fa5ccc41 rename habitica colors 2017-09-11 13:31:20 +02:00
Phillip Thelen
aae43575e6 add purchase dialog for quests 2017-07-25 18:27:00 +02:00