Commit graph

529 commits

Author SHA1 Message Date
Phillip Thelen
cc41b3853e rename To-Dos to To Do’s 2020-07-16 16:53:37 +02:00
Phillip Thelen
96682e106f Improve stable overview and add new dialog for unhatched 2020-07-16 08:38:49 +02:00
Phillip Thelen
c083deef26 AG fixes 2020-06-23 12:28:48 +02:00
Phillip Thelen
1b12b3924d Fix minor issues 2020-06-22 15:13:04 +02:00
Phillip Thelen
13829e34a5 Fix bulk warning handling 2020-06-18 17:30:19 +02:00
Phillip Thelen
efce4158b5 Finish up AG 2020-06-18 12:28:14 +02:00
Phillip Thelen
1c93ffdc4f Adventure guide improvements 2020-06-16 11:46:44 +02:00
Phillip Thelen
6a20d9fbd1 Merge branch 'develop' of https://github.com/HabitRPG/habitica-android into develop 2020-06-15 18:46:44 +02:00
Phillip Thelen
bc2db020cd Fix AG design issues 2020-06-15 18:05:32 +02:00
Phillip Thelen
ca1a2d1cb2 Some changes 2020-06-15 13:26:54 +02:00
Phillip Thelen
b1c393b168 Implement bulk purchasing items. Fixes #1288 2020-06-11 17:07:46 +02:00
Phillip Thelen
1956df6f66
Merge pull request #1304 from HiroinaProtagonist/party-invite
Party invite
2020-06-11 14:21:28 +02:00
Phillip Thelen
95ce5666ad
Resize petnmounts cards (#1310)
* resize cards and font

* resolve merge conflict in strings

* add background

* resize mounts cards

* fix recyclerview bug

* change stringto accept decimals

Co-authored-by: Phillip Thelen <viirus@pherth.net>
2020-06-11 12:00:53 +02:00
Kristian Welsh
36d7884ee0
Fix grammar mistake on empty Special items page (#1326)
* Fix grammar mistake on empty Special items page

When you have no special items the following message is displayed
You don't have any Special
This commit changes that to the following
You don't have any Special items.

Or the equivilant in the user's language

* Allow support of RTL languages for special items

Previously the "you do not have any special items" message on the
items screen would not be compatible with right to left languages.
This change will allow proper display of the message after translation.

* refactoring for better expressivity
2020-06-10 16:48:36 +02:00
Phillip Thelen
c68684cb1f First implementation of adventure guide 2020-06-10 16:33:17 +02:00
Phillip Thelen
9c931973c6
Merge branch 'develop' into resize-petnmounts-cards 2020-06-10 14:07:50 +02:00
Phillip Thelen
56d6a8995b Add adventure guide iindicator to drawer icon 2020-06-05 16:55:54 +02:00
Phillip Thelen
7d60b338e4 Display adventure guide status in menu 2020-06-05 11:26:44 +02:00
Phillip Thelen
864101288b Add setting for task list display mode 2020-06-05 11:26:44 +02:00
Leland Wu
d31a9fd63a change stringto accept decimals 2020-05-29 00:13:56 -04:00
Leland Wu
0ab69c33ef resolve merge conflict in strings 2020-05-15 16:59:47 -04:00
ThePlasmak
14a3516b30
Fixed links in translatable strings, added a space and fixed trailing spaces (#1322)
* Fixed habitica_com to habitica.com

* Fix _com to .com

* Added a space.

* Removed more trailing spaces
2020-05-07 15:19:18 +02:00
Anita W
bb4c02590a
Add apostrophe to "To-do's" so talkback reads it out properly (#1320)
- Without the apostrophe, Talkback pronounces it as "Todoss" which
sounds weird.

- With the apostrophe, it is pronounced as "Todoos", which sounds
normal.
2020-05-04 17:28:03 +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
Anita W
cd9361e5c8
Talkback improvements for main stats panel (#1308)
* Rename unlock_level_short string to level_unabbreviated

* Refactor: extract methods for setting user level within avatar

* Set content description of 'Lvl ..' text view to 'Level ..'

* Set content description of value bar to null
2020-05-04 17:21:18 +02:00
Phillip Thelen
b56c16654b desgin tweaks 2020-04-15 15:06:13 +02:00
Zoe Abrams
dca164e6d1 Merge remote-tracking branch 'upstream/develop' into party-invite 2020-04-11 03:52:34 -07:00
Phillip Thelen
7e76c78fc7 improve bulk gem purchasing handling 2020-04-09 14:25:54 +02:00
Phillip Thelen
4d6435b007 Support screen tweaks 2020-04-03 15:36:41 +02:00
Phillip Thelen
dadc3885fa Implement more avatar customization options. Fixes #1137 2020-03-20 17:37:29 +01:00
Phillip Thelen
3d9a4eb950 Fix minor display issues 2020-03-19 16:50:55 +01:00
Phillip Thelen
55bac855db Add back ability to message from overview screen. Fixes #1075 2020-03-19 13:12:49 +01:00
Phillip Thelen
ff13231a1b change about screen 2020-03-18 15:34:36 +01:00
Phillip Thelen
edc2a83a08 Implement improved help screen 2020-03-18 15:34:23 +01:00
Zoe Abrams
5243f694b4 front-end changes 2020-03-13 12:27:11 -07:00
Leland Wu
771e73714d
Rename appropriate sections in Pets & Mounts screen (#1267)
* Add getTranslatedType in pet and mount classes

* fix translation method

* Create kotlin extension of animal class

* rewrite if else as kotlin when

* move animal extension to extensions folder

* write unit tests, add some dependencies in build.gradle
2020-03-12 15:24:36 +01:00
Phillip Thelen
826873e4b8 Fix issue with quest completion dialog 2020-02-21 16:56:44 +01:00
Phillip Thelen
975dfd7023 Better indication for when user is not participating in quest 2020-02-12 17:21:43 +01:00
Phillip Thelen
ffa8f8e1ce Improve shop locked item display 2020-02-06 18:06:44 +01:00
Phillip Thelen
25b9b85044 update account deletion text 2020-02-05 09:16:21 +01:00
Phillip Thelen
df4417d0a3 Fix sharing 2020-02-04 15:34:48 +01:00
Phillip Thelen
fea83fd387 Improve quest shop display? Maybe? 2020-02-04 12:39:36 +01:00
Phillip Thelen
5b3b25a0d3 Update skill design 2020-01-24 17:01:55 +01:00
Phillip Thelen
f8fe4d49e6 Add settings for email notifications 2020-01-24 15:05:52 +01:00
Phillip Thelen
a5f5e98aad Attempt workaround for apple sign in 2020-01-21 14:54:17 +01:00
Phillip Thelen
48a99e1412 improve empty task view 2020-01-15 18:32:17 +01:00
Phillip Thelen
c47d2c5c96 improve background handling 2020-01-10 13:17:58 +01:00
Phillip Thelen
c7d61c18e4 fix incorrect description 2020-01-06 17:38:06 +01:00
Phillip Thelen
7ddef238cb Improve info about g1g1 2020-01-06 17:38:06 +01:00
Phillip Thelen
049cc3587c Add promo to menu 2019-11-30 20:02:13 +01:00