Commit graph

5133 commits

Author SHA1 Message Date
Weblate
453cec30dc Translated using Weblate (Japanese)
Currently translated at 97.4% (1519 of 1558 strings)

Translated using Weblate (Japanese)

Currently translated at 97.4% (1519 of 1558 strings)

Co-authored-by: Mika <isekai.chr@gmail.com>
Co-authored-by: innnko <ayakabooker@gmail.com>
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/ja/
Translation: Habitica Android/Main Strings
2025-07-29 20:55:28 +02:00
Weblate
92e2934cc8 Translated using Weblate (Japanese)
Currently translated at 97.4% (1518 of 1558 strings)

Translated using Weblate (Japanese)

Currently translated at 97.4% (1518 of 1558 strings)

Co-authored-by: Mika <isekai.chr@gmail.com>
Co-authored-by: innnko <ayakabooker@gmail.com>
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/ja/
Translation: Habitica Android/Main Strings
2025-07-29 20:54:52 +02:00
Weblate
3e6b651d27 Translated using Weblate (Japanese)
Currently translated at 97.3% (1517 of 1558 strings)

Translated using Weblate (Japanese)

Currently translated at 97.3% (1517 of 1558 strings)

Co-authored-by: Mika <isekai.chr@gmail.com>
Co-authored-by: innnko <ayakabooker@gmail.com>
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/ja/
Translation: Habitica Android/Main Strings
2025-07-29 20:53:22 +02:00
Weblate
afd5158337 Translated using Weblate (Japanese)
Currently translated at 97.3% (1516 of 1558 strings)

Translated using Weblate (Japanese)

Currently translated at 97.3% (1516 of 1558 strings)

Translated using Weblate (German)

Currently translated at 100.0% (40 of 40 strings)

Co-authored-by: Jan Freihöfer <jan.stauch.is@gmail.com>
Co-authored-by: Mika <isekai.chr@gmail.com>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: innnko <ayakabooker@gmail.com>
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/ja/
Translate-URL: https://translate.habitica.com/projects/habitica-android/wearos/de/
Translation: Habitica Android/Main Strings
Translation: Habitica Android/Wearos
2025-07-29 20:51:44 +02:00
Weblate
64aafaae1e Translated using Weblate (Japanese)
Currently translated at 97.2% (1515 of 1558 strings)

Translated using Weblate (Japanese)

Currently translated at 97.2% (1515 of 1558 strings)

Co-authored-by: Mika <isekai.chr@gmail.com>
Co-authored-by: innnko <ayakabooker@gmail.com>
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/ja/
Translation: Habitica Android/Main Strings
2025-07-29 20:50:59 +02:00
Weblate
221ea17973 Translated using Weblate (Japanese)
Currently translated at 97.1% (1513 of 1558 strings)

Translated using Weblate (German)

Currently translated at 100.0% (1539 of 1539 strings)

Co-authored-by: Jan Freihöfer <jan.stauch.is@gmail.com>
Co-authored-by: Mika <isekai.chr@gmail.com>
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/de/
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/ja/
Translation: Habitica Android/Main Strings
2025-07-29 20:48:40 +02:00
Weblate
b8ded70f91 Translated using Weblate (German)
Currently translated at 100.0% (64 of 64 strings)

Translated using Weblate (Chinese (Traditional))

Currently translated at 75.4% (1175 of 1558 strings)

Translated using Weblate (German)

Currently translated at 98.7% (1520 of 1539 strings)

Co-authored-by: Jan Freihöfer <jan.stauch.is@gmail.com>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: 吳昀錡 <J1120241@gm.fdhs.tyc.edu.tw>
Translate-URL: https://translate.habitica.com/projects/habitica-android/common/de/
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/de/
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/zh_Hant/
Translation: Habitica Android/Common
Translation: Habitica Android/Main Strings
2025-07-29 17:37:08 +02:00
Weblate
c50ecba025 Translated using Weblate (German)
Currently translated at 97.8% (1506 of 1539 strings)

Co-authored-by: Laura Fleckenstein <fleckenstein_laura@web.de>
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/de/
Translation: Habitica Android/Main Strings
2025-07-28 13:30:11 +02:00
Weblate
fa8f20bcda Translated using Weblate (Indonesian)
Currently translated at 78.2% (1219 of 1558 strings)

Co-authored-by: Muhammad Hanafi <Hanafi1987@outlook.com>
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/id/
Translation: Habitica Android/Main Strings
2025-07-22 21:49:51 +02:00
Weblate
989e30c972 Translated using Weblate (English (United Kingdom))
Currently translated at 61.4% (958 of 1558 strings)

Translated using Weblate (German)

Currently translated at 96.2% (1481 of 1539 strings)

Co-authored-by: Laura Fleckenstein <fleckenstein_laura@web.de>
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/de/
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/en_GB/
Translation: Habitica Android/Main Strings
2025-07-21 14:47:18 +02:00
Weblate
6485c636aa Translated using Weblate (German)
Currently translated at 96.1% (1479 of 1539 strings)

Co-authored-by: Laura Fleckenstein <fleckenstein_laura@web.de>
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/de/
Translation: Habitica Android/Main Strings
2025-07-21 11:40:13 +02:00
Weblate
55ee37d79b Translated using Weblate (German)
Currently translated at 96.0% (1478 of 1539 strings)

Co-authored-by: Laura Fleckenstein <fleckenstein_laura@web.de>
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/de/
Translation: Habitica Android/Main Strings
2025-07-21 11:28:20 +02:00
Weblate
d1bdf7602a Translated using Weblate (Polish)
Currently translated at 100.0% (16 of 16 strings)

Translated using Weblate (Polish)

Currently translated at 69.5% (1084 of 1558 strings)

Co-authored-by: Karmelkowy <kicimeow.karmelio@gmail.com>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/pl/
Translate-URL: https://translate.habitica.com/projects/habitica-android/tutorial/pl/
Translation: Habitica Android/Main Strings
Translation: Habitica Android/Tutorial
2025-07-20 14:49:49 +02:00
Hafiz
c9bddd96ba Merge branch 'enhancement/animal-customization-purchase-dialog' 2025-07-18 12:57:39 -05:00
Hafiz
e5c13d8dc2 Merge branch 'fix/endless-loading-circle-inbox-fix' 2025-07-18 12:57:26 -05:00
Hafiz
4b120fdc08 Merge branch 'fix/reset-account-failure-handle' 2025-07-18 12:53:47 -05:00
Hafiz
3a7649cdb3 Merge branch 'fix/chat-keyboard-overlayed-fix' 2025-07-18 12:53:38 -05:00
Hafiz
de1a2b2aa6 Merge branch '4.7.8-staff-build' 2025-07-18 12:52:28 -05:00
Weblate
8972a451fb Translated using Weblate (Chinese (Traditional))
Currently translated at 75.3% (1174 of 1558 strings)

Co-authored-by: 吳昀錡 <J1120241@gm.fdhs.tyc.edu.tw>
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/zh_Hant/
Translation: Habitica Android/Main Strings
2025-07-17 15:56:39 +02:00
Weblate
2dfe7cfa37 Translated using Weblate (Chinese (Traditional))
Currently translated at 75.0% (1169 of 1558 strings)

Co-authored-by: 吳昀錡 <J1120241@gm.fdhs.tyc.edu.tw>
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/zh_Hant/
Translation: Habitica Android/Main Strings
2025-07-16 17:42:41 +02:00
Hafiz
5eaea9054d Don't display "Missing auth headers" dialog during force logout 2025-07-15 15:20:13 -05:00
Weblate
3fe0cf31a3 Translated using Weblate (Italian)
Currently translated at 76.1% (1186 of 1558 strings)

Translated using Weblate (German)

Currently translated at 95.9% (1477 of 1539 strings)

Co-authored-by: Andrea <goffopaguro@gmail.com>
Co-authored-by: Laura Fleckenstein <fleckenstein_laura@web.de>
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/de/
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/it/
Translation: Habitica Android/Main Strings
2025-07-15 20:22:58 +02:00
Weblate
21e391278d Translated using Weblate (Chinese (Traditional))
Currently translated at 74.9% (1168 of 1558 strings)

Co-authored-by: 吳昀錡 <J1120241@gm.fdhs.tyc.edu.tw>
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/zh_Hant/
Translation: Habitica Android/Main Strings
2025-07-15 08:03:56 +02:00
Hafiz
6d3b2806ed Show inline password error on account reset failure
- Add showIncorrectPasswordError() in HabiticaAccountDialog to display a field-level error message
- Update resetAccount() in the fragment to dismiss the spinner on both outcomes and, on failure, keep the sheet open and call showIncorrectPasswordError("Incorrect password.") rather than closing the dialog
2025-07-14 11:45:07 -05:00
Weblate
445a79059b Translated using Weblate (Indonesian)
Currently translated at 76.3% (1189 of 1558 strings)

Translated using Weblate (German)

Currently translated at 95.1% (1464 of 1539 strings)

Co-authored-by: Muhammad Hanafi <Hanafi1987@outlook.com>
Co-authored-by: Phillip Thelen <phillip@habitica.com>
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/de/
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/id/
Translation: Habitica Android/Main Strings
2025-07-14 17:33:07 +02:00
Hafiz
eba078eb72 Fix private messages get hidden by the keyboard 2025-07-14 10:14:30 -05:00
Hafiz
1411d49107 add language-agnostic invalid_credentials error handling 2025-07-13 14:03:27 -05:00
Weblate
c8f13b4c98 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1558 of 1558 strings)

Co-authored-by: Viktor Révész <rviktor@ivankapal.com>
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/hu/
Translation: Habitica Android/Main Strings
2025-07-13 04:00:24 +02:00
Weblate
5b5b182277 Translated using Weblate (Ukrainian)
Currently translated at 83.1% (1296 of 1558 strings)

Co-authored-by: Sonia <sophishport@gmail.com>
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/uk/
Translation: Habitica Android/Main Strings
2025-07-09 14:01:00 +02:00
Weblate
ce1c3aad42 Translated using Weblate (Japanese)
Currently translated at 100.0% (64 of 64 strings)

Translated using Weblate (Japanese)

Currently translated at 97.0% (1512 of 1558 strings)

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: haru kake <hebey27020@bulmp3.com>
Translate-URL: https://translate.habitica.com/projects/habitica-android/common/ja/
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/ja/
Translation: Habitica Android/Common
Translation: Habitica Android/Main Strings
2025-07-09 12:09:26 +02:00
Weblate
a03e945a21 Translated using Weblate (Ukrainian)
Currently translated at 83.1% (1296 of 1558 strings)

Co-authored-by: Sonia <sophishport@gmail.com>
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/uk/
Translation: Habitica Android/Main Strings
2025-07-08 21:50:00 +02:00
Weblate
2121a5908c Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (64 of 64 strings)

Translated using Weblate (Chinese (Traditional))

Currently translated at 74.3% (1159 of 1558 strings)

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: 吳昀錡 <J1120241@gm.fdhs.tyc.edu.tw>
Translate-URL: https://translate.habitica.com/projects/habitica-android/common/zh_Hant/
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/zh_Hant/
Translation: Habitica Android/Common
Translation: Habitica Android/Main Strings
2025-07-08 16:08:21 +02:00
Weblate
d01d2834ea Translated using Weblate (Ukrainian)
Currently translated at 83.1% (1296 of 1558 strings)

Co-authored-by: Sonia <sophishport@gmail.com>
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/uk/
Translation: Habitica Android/Main Strings
2025-07-08 09:03:35 +02:00
Weblate
624242864a Translated using Weblate (Ukrainian)
Currently translated at 82.6% (1287 of 1558 strings)

Co-authored-by: Sonia <sophishport@gmail.com>
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/uk/
Translation: Habitica Android/Main Strings
2025-07-08 01:59:51 +02:00
Weblate
4ca5f4aa42 Translated using Weblate (Ukrainian)
Currently translated at 79.8% (1244 of 1558 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (1558 of 1558 strings)

Co-authored-by: Jaime Martí <jaumemarti77@icloud.com>
Co-authored-by: Sonia <sophishport@gmail.com>
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/es/
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/uk/
Translation: Habitica Android/Main Strings
2025-07-08 00:14:45 +02:00
Weblate
df275867a3 Translated using Weblate (French)
Currently translated at 100.0% (1558 of 1558 strings)

Co-authored-by: Sophie LE MASLE <sophiesuff@gmail.com>
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/fr/
Translation: Habitica Android/Main Strings
2025-07-07 15:16:56 +02:00
Weblate
91923de0ca Translated using Weblate (German)
Currently translated at 100.0% (64 of 64 strings)

Translated using Weblate (German)

Currently translated at 100.0% (64 of 64 strings)

Translated using Weblate (German)

Currently translated at 100.0% (64 of 64 strings)

Translated using Weblate (French)

Currently translated at 99.6% (1552 of 1558 strings)

Co-authored-by: Jasmina Weber <jasmina99@web.de>
Co-authored-by: Laura Fleckenstein <fleckenstein_laura@web.de>
Co-authored-by: Mars K <lenchen0313@gmail.com>
Co-authored-by: Sophie LE MASLE <sophiesuff@gmail.com>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://translate.habitica.com/projects/habitica-android/common/de/
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/fr/
Translation: Habitica Android/Common
Translation: Habitica Android/Main Strings
2025-07-07 13:27:07 +02:00
Weblate
6ec4e2d5a7 Translated using Weblate (French)
Currently translated at 99.3% (1548 of 1558 strings)

Co-authored-by: Sophie LE MASLE <sophiesuff@gmail.com>
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/fr/
Translation: Habitica Android/Main Strings
2025-07-07 10:28:29 +02:00
Weblate
d36f7f9921 Translated using Weblate (Indonesian)
Currently translated at 100.0% (40 of 40 strings)

Translated using Weblate (Indonesian)

Currently translated at 100.0% (64 of 64 strings)

Translated using Weblate (Indonesian)

Currently translated at 74.3% (1159 of 1558 strings)

Translated using Weblate (Spanish)

Currently translated at 99.7% (1554 of 1558 strings)

Co-authored-by: Jaime Martí <jaumemarti77@icloud.com>
Co-authored-by: Muhammad Hanafi <Hanafi1987@outlook.com>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: fitria nabila <fitria3nabila@gmail.com>
Translate-URL: https://translate.habitica.com/projects/habitica-android/common/id/
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/es/
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/id/
Translate-URL: https://translate.habitica.com/projects/habitica-android/wearos/id/
Translation: Habitica Android/Common
Translation: Habitica Android/Main Strings
Translation: Habitica Android/Wearos
2025-07-06 03:17:52 +02:00
Hafiz
d1f7012540 Improve handling of invalid login credentials.
Adds a check for "There is no account that uses those
credentials" to the list of error messages that trigger a logout.
2025-07-03 16:05:06 -05:00
Hafiz
f7f8bb841c Removes redundant authentication check
Removes a redundant check for "There is no account that uses
those credentials" as it's already covered by other checks,
simplifying the logic for handling invalid credentials and
preventing unnecessary code execution.
2025-07-03 15:12:06 -05:00
Hafiz
a3795cd31c Merge branch 'main' into 4.7.8-dev 2025-07-03 14:25:12 -05:00
Weblate
39a33b144a Translated using Weblate (French)
Currently translated at 99.0% (1543 of 1558 strings)

Co-authored-by: Sophie LE MASLE <sophiesuff@gmail.com>
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/fr/
Translation: Habitica Android/Main Strings
2025-07-03 17:02:52 +02:00
Weblate
25fde3b123 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1558 of 1558 strings)

Co-authored-by: Summer_GUI <heyang94@163.com>
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/zh_Hans/
Translation: Habitica Android/Main Strings
2025-07-03 02:58:31 +02:00
Hafiz
6d076888a1 Handles group plans in unauthorized error check 2025-07-02 15:50:26 -05:00
Hafiz
f544f89c3a Revert "Simplifies authentication failure check"
This reverts commit df444b4347.
2025-07-02 15:44:01 -05:00
Hafiz
df444b4347 Simplifies authentication failure check
Removes a redundant check for invalid credentials during authentication failure, streamlining the logic.
2025-07-02 15:18:12 -05:00
Hafiz
31e58b6d16 Removes redundant authentication check 2025-07-02 14:12:59 -05:00
Weblate
61849c2d3c Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/
Translation: Habitica Android/Main Strings
2025-07-02 20:30:36 +02:00
Hafiz
e5d3ed8c99 Merge branch 'fix/logout-when-unauthenticated' 2025-07-02 13:30:04 -05:00
Hafiz
55132e0c57 Handle specific 401 errors by logging out the user
Adds logic to check the error message from the API response
when a 401 error is received. If the error indicates
invalid credentials or missing authentication headers, the
user is automatically logged out.
2025-07-02 13:29:27 -05:00
Weblate
b88c5be79f Translated using Weblate (German)
Currently translated at 95.1% (1465 of 1540 strings)

Translated using Weblate (German)

Currently translated at 95.1% (1465 of 1540 strings)

Translated using Weblate (German)

Currently translated at 95.1% (1465 of 1540 strings)

Co-authored-by: Fabjan Sukalia <fsukalia@gmail.com>
Co-authored-by: Oliver Jeute <ojeute@freenet.de>
Co-authored-by: Phillip Thelen <phillip@habitica.com>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/de/
Translation: Habitica Android/Main Strings
2025-07-02 17:36:29 +02:00
Weblate
5f421dc03d Merge branch 'main' of github.com:HabitRPG/habitica-android into main 2025-07-02 15:54:10 +02:00
Omer I.S
11734cbcbe Translated using Weblate (Hebrew)
Currently translated at 23.6% (364 of 1540 strings)

Translation: Habitica Android/Main Strings
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/he/
2025-07-02 14:45:36 +02:00
Mars K
e4a7f72c07 Translated using Weblate (German)
Currently translated at 82.7% (1274 of 1540 strings)

Translation: Habitica Android/Main Strings
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/de/
2025-07-02 14:45:36 +02:00
Fabjan Sukalia
f4bca8be4a Translated using Weblate (German)
Currently translated at 82.7% (1274 of 1540 strings)

Translation: Habitica Android/Main Strings
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/de/
2025-07-02 14:45:35 +02:00
Mars K
7505e601e0 Translated using Weblate (German)
Currently translated at 82.4% (1269 of 1540 strings)

Translation: Habitica Android/Main Strings
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/de/
2025-07-02 12:27:17 +02:00
Fabjan Sukalia
a8f0f0db4c Translated using Weblate (German)
Currently translated at 82.4% (1269 of 1540 strings)

Translation: Habitica Android/Main Strings
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/de/
2025-07-02 12:27:17 +02:00
Hafiz
28fc07d364 Handle revoked API token and displays success message
- Logs the user out if the API token has been revoked elsewhere

(also)
- Copy Token
- Show success message when password has been changed
2025-07-01 22:06:48 -05:00
Hafiz
bf5b0bc315 Improve empty state handling in inbox message list
Add logic to display an empty state in the inbox message
list when there are no messages to display. Also adds
margins to the chat intro item.
2025-07-01 13:15:07 -05:00
Hafiz
fff6e76052 Add customization shop support for animal tails/ears
handle animal ears and tails on purchase dialog.

Adds a new AvatarView layer type for back and head accessories.
2025-07-01 12:56:22 -05:00
Hafiz
2f7df36d98 Auto-populate display name setting, move About me edittext at top/start
Auto-populate account preference "Change display name" field
Make "About Me" edit text field to start at top/start.
2025-06-30 11:49:48 -05:00
Hafiz
d83e091088 Populates settings forms with initial user data
Populates the change email, username, about me, and photo URL
settings forms with the user's current data.

 Also, prevent SettingsFormBottomSheet from appearing blank during configuration changes by retaining the instance.
2025-06-27 11:49:13 -05:00
fitria nabila
af89a21427 Translated using Weblate (Indonesian)
Currently translated at 75.1% (1158 of 1540 strings)

Translation: Habitica Android/Main Strings
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/id/
2025-06-27 11:37:37 +02:00
fitria nabila
9b4b6b9005 Translated using Weblate (Indonesian)
Currently translated at 74.3% (1145 of 1540 strings)

Translation: Habitica Android/Main Strings
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/id/
2025-06-27 06:11:54 +02:00
Hafiz
971bf37374 Use Compose bottom‐sheet forms for all account preference dialogs
Introduce SettingsFormBottomSheet to host any ConfigurableFormScreen (ChangePassword, ChangeEmail, ChangeUsername, ChangeDisplayName, AboutMe, PhotoUrl)

Replace all legacy ValidatingEditText + HabiticaAlertDialog flows with Compose screens in a full-screen bottom sheet

Wire each show…Dialog() in AccountPreferencesFragment to instantiate the sheet, assign its content lambda, invoke existing repository calls (e.g. updatePassword, updateEmail, etc.), dismiss the sheet, and update preference summaries via configurePreference(...)

Preserve keyboard dismissal, viewModel.saveTokens, and “forgot password” callbacks exactly as before
2025-06-26 16:09:32 -05:00
Hafiz
9e17ab09d6 Introduce generic ConfigurableFormScreen for all settings forms
Add FieldConfig and FormScreenConfig data models

Implement ConfigurableFormScreen and ComponentTextInput to render any settings screen with AndroidView inputs, styling, and validation

Refactor ChangePasswordScreen to use the new generic form instead of its bespoke implementation

Preserve existing theming, padding, and error behavior across all screens
2025-06-26 15:19:20 -05:00
Hafiz
4df5a62151 Merge remote-tracking branch 'origin/fix/todo-filter-bug' 2025-06-26 11:53:46 -05:00
Hafiz
36ddfa86b5 Fix changing display modes in settings creates multiple instances of settings
- Wrap initial fragment transaction in if (savedInstanceState == null) so if the activity recreates (theme or system UI changes), fragments don’t stack
2025-06-23 14:59:36 -05:00
Karmelkowy
a3e661332f Translated using Weblate (Polish)
Currently translated at 70.1% (1081 of 1540 strings)

Translation: Habitica Android/Main Strings
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/pl/
2025-06-23 21:49:56 +02:00
Hafiz
ce2a9df782 Fix to-do's not moving off screen when being checked off
Fix to-do's task fragment showing filter active when none were
2025-06-21 13:57:07 -05:00
Mars K
e89bcd80f6 Translated using Weblate (German)
Currently translated at 82.1% (1265 of 1540 strings)

Translation: Habitica Android/Main Strings
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/de/
2025-06-21 19:25:33 +02:00
Hafiz
05fbb5b359 Feedback fixes
- Change password button always in purple 400
- Fix styling of change password
- Use the existing textinputlayout (textbox) behavior
- Show error when changing password (without closing the sheet)
- Use transparent white nav bar on API token bottom sheet on day/light mode
2025-06-20 11:28:39 -05:00
Phillip Thelen
f4484ea9d1 fix merge 2025-06-19 15:12:22 +02:00
Hafiz
b568223c60 Fix crash that occurs when changing day/night mode on API Token bottom sheet 2025-06-18 17:34:09 -05:00
Hafiz
145de783fb - Update the token sheet to use the handle style/spacing from pause damage
- Update Pause/Resume damage view title/description spacings
- Update Pasue/Resume damage header font styling

(Also added a preview for pause/resume damage compose)
2025-06-18 17:25:55 -05:00
Hafiz
3268cc0b80 Update lock icon on api token bottomsheet 2025-06-18 17:02:07 -05:00
Hafiz
8660fab3e9 Unify button height to match stable
Updated pause damage and copy token buttons to match stable button height
2025-06-18 16:58:51 -05:00
Hafiz
69d39a6f54 Password reset screen feedback fixes
- Match password reset screen textbox styling
- Update styling of the explanation text to match designs
- Don't disable change password button field for now
- Transparent white bottom nav bar when on light mode
- Light mode password input text box colors
2025-06-18 16:42:04 -05:00
Hafiz
fc3f1b8ae9 UI Tweaks to api token bottom sheet
- Update handle
- Color tweaks
2025-06-18 14:36:13 +02:00
Hafiz
8b5e827274 API Token bottom sheet small UI Tweak (Button color/button text update) 2025-06-18 14:36:13 +02:00
Hafiz
0944c64e8b Updates API token bottom sheet UI
Changes the background color of the copy token button to yellow.
Dismisses the bottom sheet after copying the token.
2025-06-18 14:36:13 +02:00
Hafiz
0a5d3f893f Presents API token in a bottom sheet
Replaces the simple copy functionality for the API token with a
bottom sheet that displays the token and provides information about
its security implications.

This change helps with user awareness
regarding the sensitive nature of the API token and promotes
responsible handling of this credential.
2025-06-18 14:36:13 +02:00
Hafiz
ed618d6b0e UI Tweaks to change password screen 2025-06-18 14:36:13 +02:00
Hafiz
313d251fc7 Add onForgotPassword callback to ChangePasswordBottomSheet
- Add onForgotPassword callback to ChangePasswordBottomSheet
- Button tweak on changepasswordscreen
2025-06-18 14:36:13 +02:00
Hafiz
3f5d6ba25c fixes to change password screen UI
• Moved the top spacer into the Column’s padding(top = 16.dp)
• Removed the unnecessary Row—placed the IconButton directly with bottom padding
• Dropped all fixed .height(...) modifiers so fields and the button scale with system font size
2025-06-18 14:36:13 +02:00
Hafiz
028a9ecc12 Implement change password bottom sheet
Replaces the old change password dialog with a bottom sheet using compose.
2025-06-18 14:36:13 +02:00
Hafiz
ab8015b487 Update InviteButton to handle InviteResponse list
- Treat sendInvites() result as List<InviteResponse>
- Branch on InviteResponse.UserInvite vs EmailInvite
- Use isNullOrEmpty() to drive success/failure state transitions
- InviteResponseDeserializer added
- Retain loading > success/failure > content state flow with delays
2025-06-18 14:31:22 +02:00
Hafiz
8f8bb1a5de Unregister and clear push device on logout
- In logout(), set PushNotificationManager.user and refreshedToken before calling removePushDeviceUsingStoredToken()
- Add clearUser() to null out in-memory user and remove saved DEVICE_TOKEN_PREFERENCE_KEY
- Invoke clearUser() after database reset to prevent stray notifications post-logout
2025-06-18 14:30:04 +02:00
Hafiz
08bcaeb503 Pin currently equipped item to the top of equipment list 2025-06-18 14:29:04 +02:00
Hafiz
903a4164e9 Detect negative HP as user fainted
- Change isUserFainted to use <= 0.0 so negative HP values also count as fainted
- Death dialog is triggered if HP falls at/below zero
2025-06-18 14:28:10 +02:00
Hafiz
cead6ee373 Update skill item click listener to container
Changes the skill item click listener from the button wrapper to the
skill item container - makes the entire skill item is clickable,
2025-06-17 09:05:48 -05:00
Hafiz
b8859b7b70 Reduces left margin in transformation list item
Reduces the left margin of the transformation list item
2025-06-16 10:48:18 -05:00
Hafiz
c1d2907844 Set special skill text/note & fix margin 2025-06-16 10:44:48 -05:00
Hafiz
e68b344002 Make entire special skill item clickable 2025-06-16 10:05:16 -05:00
Hafiz
58637eb906 Add skill_transformation_list_item and adapter usage for transformation skill items 2025-06-16 09:58:47 -05:00
Hafiz
3084532f5b Fix 2nd line of text ("remember to be friendly.. to gray200_gray400 2025-06-16 09:39:21 -05:00
Hafiz
2210ecae63 Requests insets on resume for chat fragment
This makes sure that the chatbox/views are back to default
2025-06-16 09:37:10 -05:00
Sophie LE MASLE
39ab1287c1 Translated using Weblate (French)
Currently translated at 100.0% (1540 of 1540 strings)

Translation: Habitica Android/Main Strings
Translate-URL: https://translate.habitica.com/projects/habitica-android/main-strings/fr/
2025-06-13 18:16:16 +02:00
Hafiz
650c1049ba Skill Description font fixes
Set skill description to use FontWeight.Normal
Set Button fontweight to use FontWeight.Medium
2025-06-13 09:31:33 -05:00