feat: add PendingRewardDialog, RewardConfirmDialog, and TaskConfirmDialog components
All checks were successful
Gitea Actions Demo / build-and-push (push) Successful in 25s
All checks were successful
Gitea Actions Demo / build-and-push (push) Successful in 25s
- Implemented PendingRewardDialog for handling pending reward requests. - Created RewardConfirmDialog for confirming reward redemption. - Developed TaskConfirmDialog for task confirmation with child name display. test: add unit tests for ChildView and ParentView components - Added comprehensive tests for ChildView including task triggering and SSE event handling. - Implemented tests for ParentView focusing on override modal and SSE event management. test: add ScrollingList component tests - Created tests for ScrollingList to verify item fetching, loading states, and custom item classes. - Included tests for two-step click interactions and edit button display logic. - Moved toward hashed passwords.
This commit is contained in:
@@ -6,6 +6,7 @@ from api.auth_api import auth_api
|
||||
from db.db import users_db
|
||||
from tinydb import Query
|
||||
import jwt
|
||||
from werkzeug.security import generate_password_hash
|
||||
|
||||
# Test user credentials
|
||||
TEST_EMAIL = "usertest@example.com"
|
||||
@@ -25,7 +26,7 @@ def add_test_users():
|
||||
"first_name": "Test",
|
||||
"last_name": "User",
|
||||
"email": TEST_EMAIL,
|
||||
"password": TEST_PASSWORD,
|
||||
"password": generate_password_hash(TEST_PASSWORD),
|
||||
"verified": True,
|
||||
"image_id": "boy01",
|
||||
"marked_for_deletion": False,
|
||||
@@ -38,7 +39,7 @@ def add_test_users():
|
||||
"first_name": "Marked",
|
||||
"last_name": "User",
|
||||
"email": MARKED_EMAIL,
|
||||
"password": MARKED_PASSWORD,
|
||||
"password": generate_password_hash(MARKED_PASSWORD),
|
||||
"verified": True,
|
||||
"image_id": "girl01",
|
||||
"marked_for_deletion": True,
|
||||
|
||||
Reference in New Issue
Block a user