Commit graph

2966 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
871ed51970 Fix scrolling issue on shops screen 2020-07-16 10:34:51 +02:00
Phillip Thelen
a9d8ca24c3 Allow users to unequip some equipment from customization screen 2020-07-16 10:34:43 +02:00
Phillip Thelen
e7f321d3e5 update dependencies 2020-07-16 08:38:55 +02:00
Phillip Thelen
96682e106f Improve stable overview and add new dialog for unhatched 2020-07-16 08:38:49 +02:00
Phillip Thelen
2dbbac0b41 display pet name in menu popup 2020-07-13 17:28:26 +02:00
Phillip Thelen
241599a785 fix various crashes 2020-07-13 17:28:19 +02:00
Phillip Thelen
901bd078fd Update pet detail design 2020-06-25 17:57:01 +02:00
Phillip Thelen
d5b113ea7a don’t show purple gryphon as hatchable. Fixes #1333 2020-06-25 14:50:52 +02:00
Phillip Thelen
2afef8b2f9 add pull to refresh to item list 2020-06-25 14:46:31 +02:00
Phillip Thelen
0f05045d2d fix notification display issue 2020-06-25 14:39:06 +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
a298c7ffef hide menu badge if AG disabled 2020-06-18 12:35:27 +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
f0f7d8228a Add config option for new menu order 2020-06-16 11:46:36 +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
3305343300 Fix alert displaying 2020-06-15 18:46:37 +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
60dfc39674
refresh repeat description when days changed (#1325)
Change being made to explain wen task will repeat in real time, in
response to bug report, issue#1312
2020-06-10 16:49:09 +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
2bbb198e3d Log onboarding events to firebase. Fixes #1329 2020-06-10 16:44:25 +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
fb4860d441 Fix achievement sorting 2020-06-05 16:56:04 +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
Phillip Thelen
dc803b52f8 Fix FCV 2020-06-05 11:25:47 +02:00
Phillip Thelen
e72cc072f1 Fix intro screens 2020-06-05 11:25:47 +02:00
Phillip Thelen
66199eefbe Fix bulk gem purchase issues 2020-06-05 11:25:47 +02:00
Phillip Thelen
5cd9ad6945 small design tweaks 2020-06-05 11:25:47 +02:00
Leland Wu
d31a9fd63a change stringto accept decimals 2020-05-29 00:13:56 -04:00
Leland Wu
4091233842 fix recyclerview bug 2020-05-22 22:29:15 -04:00
Leland Wu
a43340a15b resize mounts cards 2020-05-22 14:17:45 -04:00
Leland Wu
6999f3a675 add background 2020-05-15 17:00:58 -04:00
Leland Wu
0ab69c33ef resolve merge conflict in strings 2020-05-15 16:59:47 -04:00
Leland Wu
3194c16477 resize cards and font 2020-05-15 16:58:16 -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
Võ Trần Nhã Linh
89f7faf744
Habitica Android Vi (#1318)
* Add: Habitica Android for Vietnamese

* Add: Store Strings Vi
2020-05-07 14:38:22 +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
348b7fd19b
Further Talkback improvements for main activity (#1309)
* Add content description for Avatar icon

* Add content descriptions for plus and minus buttons

* Make bottom_navigation_background no longer clickable/focusable

- Previously it was set as clickable, even though clicking on it did
nothing. This had the side effect of making it focusable, adding an
unnecessary item to scroll through when using Talkback.

- Now it is no longer set as clickable, this is enough to make it no
longer focusable either.

* Add currency units to content descriptions of currency values
2020-05-04 17:25:14 +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