Commit Graph

464 Commits

Author SHA1 Message Date
Mo Tarbin
66de395549 Merge branch 'dev' 2026-01-21 00:09:44 -05:00
Mo Tarbin
242f382da3 chore: Remove empty optionalDependencies section from package.json 2026-01-21 00:09:38 -05:00
Mo Tarbin
a879bd09b4 feat: Add android build script and baseline-browser-mapping dependency 2026-01-21 00:09:15 -05:00
Mo Tarbin
ed273fbfce chore: Bump version to 0.1.120 in package.json 2026-01-21 00:08:08 -05:00
Mo Tarbin
31cb8f9fab Update import paths for apiClient to use consistent casing 2026-01-21 00:07:13 -05:00
Mo Tarbin
2aeb6598dc Merge branch 'dev' 2026-01-20 19:40:11 -05:00
Mo Tarbin
9810083304 fix: Correct import path for apiClient in useAuth hook 2026-01-20 19:40:00 -05:00
Mohamad Tarbin
23fd0482c8 Merge pull request #38 from pano9000/main
fix: UI strings - use consistent spacing/capitalization
2026-01-18 12:57:38 -05:00
Mohamad Tarbin
39f9e16a61 Merge pull request #39 from louim/bugfix/week-of-month
Replace nth_day_of_month with week_of_month
2026-01-18 12:56:58 -05:00
Mo Tarbin
c3a5e759b7 Merge branch 'dev' 2026-01-18 12:54:58 -05:00
Mo Tarbin
f9d5aeee91 feat: Add reconnection schedule and timeout configuration to Developer Settings 2026-01-18 12:54:49 -05:00
Mo Tarbin
371631856a feat: Add Developer Settings page and integrate with SSE context for debugging
refactor: Update ApiClient to support dynamic server URL and improve token handling
refactor: Modify TokenStorage to utilize Capacitor for native platforms
refactor: Adjust Fetcher to use updated ApiClient methods
refactor: Enhance SettingsOverview to include Developer Settings option
2026-01-18 12:54:13 -05:00
Mohamad Tarbin
73f33bc0a3 Merge pull request #44 from ricmatsui/feature/avoid-tab-search-conflict
Ignore Cmd/Ctrl+Shift+A to avoid conflict with Chrome tab search shortcut
2026-01-17 19:37:59 -05:00
Mohamad Tarbin
ed595a3815 Merge pull request #37 from lauraneto/bugfix/android-allow-http-requests
Allow HTTP (non secure) requests in Android app
2026-01-17 19:37:01 -05:00
Mo Tarbin
7c8fa27aaf feat: Add unarchive functionality to ChoreView and enhance project management features
- Implemented unarchive button for archived chores in ChoreView.
- Updated chore status handling to disable actions for archived chores.
- Enhanced MyChores component to filter tasks based on project selection, including a default project.
- Improved ProjectModal to streamline project creation and editing with a new footer layout.
- Refactored ProjectView to accurately count tasks for default and user projects.
- Added project selection dropdown in AddTaskModal with default project handling.
- Updated NavBar to handle logout using apiClient.
- Enhanced ProjectSelector to manage projects with a new menu item for project management.
2026-01-17 19:35:36 -05:00
Mo Tarbin
b326b1b3d7 refactor: update localStorage keys for token and expiration in authentication components 2026-01-16 15:04:27 -05:00
Mo Tarbin
f527064e55 implement View Transitions API for smoother page navigation and replace the current implementation 2026-01-16 12:12:36 -05:00
Mo Tarbin
3a074ef6c5 Add Support Project 2026-01-16 12:12:00 -05:00
Mo Tarbin
7fbae16a53 Add Support Project 2026-01-16 12:11:03 -05:00
Mo Tarbin
98018ca590 fix: update SSE message handler to reflect latest userProfile changes
there was issue where userprofile was undefined cause the message being display for same user how make the action.  The new useEffect hook updates the EventSource's handler whenever handleSSEMessage changes
2026-01-10 14:14:45 -05:00
Mo Tarbin
7d5724d8d5 add project filtering to MyChores component 2026-01-01 02:14:19 -05:00
Mo Tarbin
ba17a5592c feat: add ProjectModal component for creating and editing projects 2026-01-01 01:32:23 -05:00
Mo Tarbin
7332e81e6e Fix https://github.com/donetick/donetick/issues/373 compact card not showing the right performer 2025-12-27 16:45:49 -05:00
Mo Tarbin
5aeacef511 fix: enhance SSE error handling and token refresh logic; improve user profile checks in MyChores component 2025-12-26 19:59:39 -05:00
Ricardo Matsui
8f3fd3b37e Ignore cmd/ctrl+shift+a to avoid conflict with Chrome tab search shortcut 2025-12-26 12:42:12 -08:00
Mo Tarbin
0fd58860a8 Improve the flow for archive screen. Fix https://github.com/donetick/frontend/issues/41 2025-12-25 22:55:09 -05:00
Mo Tarbin
8edd3774d2 Support Refresh token and improve authentication and security.
Refactor authentication handling and API client integration

- Updated UserProfileAvatar to use 'access_token' instead of 'ca_token' for logout.
- Removed SSEProvider from Contexts and adjusted related imports.
- Introduced useAuth hook for centralized authentication logic, including login, logout, and token management.
- Refactored useSSE to utilize the new useAuth hook for token validation.
- Updated UserQueries to check for token validity using the new method.
- Deleted AuthenticationService as its functionality is now handled by useAuth.
- Created a new ApiClient utility for handling API requests and token management.
- Updated various components and views to use the new ApiClient for API interactions.
- Removed TokenManager and migrated its functionality to the new ApiClient.
- Adjusted LoginView and related components to utilize the new authentication flow.
- Cleaned up unused variables and improved code consistency across components.
2025-12-25 22:54:39 -05:00
Mo Tarbin
1123fb3ca6 fix: update onAction handler to accept extra data in ChoreCard component 2025-12-02 18:42:16 -05:00
Mo Tarbin
5bfd340176 Support unicode letter in the parser. Fix https://github.com/donetick/donetick/issues/395 2025-12-02 15:58:06 -05:00
Mo Tarbin
7cb2f203b1 refine platform check for native functionality in AccountSettings and Settings components 2025-12-02 00:23:13 -05:00
Louis-Michel Couture
412d0a19e7 Replace nth_day_of_month with week_of_month
The backend expects this string since 0fa913fb83
2025-10-31 00:18:04 -04:00
Panagiotis Papadopoulos
f2a50141b7 fix: UI strings - use consistent spacing/capitalization 2025-10-29 08:37:23 +01:00
Laura Neto
7f65ce0e84 Allow HTTP (non secure) requests in Android app 2025-10-19 19:22:30 +02:00
Mo Tarbin
09f89afe2a fix: update state initialization and improve Grid component usage in ChoreView 2025-10-05 14:24:26 -04:00
Mo Tarbin
d1dcdc2f50 feat: add 'Gentle Nudges' feature with customizable reminders in FeaturesSection 2025-10-05 14:16:25 -04:00
Mo Tarbin
e31a5f705c replace CalendarView with CalendarMonthly and improve chore date formatting 2025-10-04 13:18:25 -04:00
Mo Tarbin
04314d507b Fix: https://github.com/donetick/donetick/issues/127
https://github.com/donetick/donetick/issues/277
2025-10-03 00:42:33 -04:00
Mo Tarbin
409c5a0ba3 enhance user input validation and parsing for usernames, points, and labels 2025-10-02 21:45:25 -04:00
Mo Tarbin
68f09125d4 chore: bump version to 0.1.115 2025-09-28 19:32:40 -04:00
Mo Tarbin
ac2d4911fe feat: update user activity filters to allow selection of last 7 days and improve UI layout 2025-09-28 19:13:38 -04:00
Mo Tarbin
26c2eaddff implement child user management functions and user type utilities 2025-09-28 19:13:28 -04:00
Mo Tarbin
d41d6bd758 feat: add sub user management features including creation, deletion, and password updates 2025-09-28 19:12:26 -04:00
Mo Tarbin
86b8bbfb5f show API version on navbar 2025-09-28 18:46:56 -04:00
Mo Tarbin
7658b4c9fe feat: add 'Anyone' option for assignees and disable Limited option when no assignees are selected 2025-09-28 02:46:15 -04:00
Mo Tarbin
f1384eef34 enhance chore management with status updates and default assignee settings 2025-09-28 02:24:08 -04:00
Mo Tarbin
c7c4a011ef Refactor chore management components to centralize action handling
- Removed individual chore action handlers from ChoreCard and CompactChoreCard.
- Introduced a unified `onAction` prop to handle various chore actions (approve, reject, complete, start, pause, delete, etc.) in a centralized manner.
- Updated ChoreActionMenu to utilize the new `onAction` prop for performing actions on chores.
- Simplified state management and notification handling for chore updates.
- Cleaned up unused imports and state variables across affected components.
2025-09-28 02:20:18 -04:00
Mo Tarbin
bdd73135f0 feat: integrate impersonated user handling for task completion 2025-09-27 20:29:28 -04:00
Mo Tarbin
b367410aaf fix: adjust transition timeout and add UNASSIGNED color constant 2025-09-27 13:48:20 -04:00
Mo Tarbin
c27404cc3a Refactor chore management modals and actions for centralized handling
- Removed individual modal states and handlers from ChoreCard and CompactChoreCard components.
- Introduced a centralized modal state and handler in MyChores component to manage modals for changing due dates, completing with past dates, changing assignees, adding notes, writing NFC, and nudging.
- Updated action handlers to utilize the new centralized approach for better maintainability and readability.
- Cleaned up unused imports and code related to modal management in ChoreCard and CompactChoreCard components.
2025-09-27 13:47:41 -04:00
Mo Tarbin
9ff2359b4c Remove Websocket code since we are only using SSE 2025-09-27 13:38:45 -04:00