Commit Graph

268 Commits

Author SHA1 Message Date
Mo Tarbin
c903192d7c Add confirmation modals for token removal and storage clearing actions 2025-06-19 12:40:33 -04:00
Mo Tarbin
d8b5e0f5a1 Enhance CompactChoreCard and MyChores with animated transitions for multi-select and search filter 2025-06-19 02:24:39 -04:00
Mo Tarbin
fb8d476c34 Add more keyboard shortcuts for search focus and multi-select mode toggle in MyChores 2025-06-19 01:32:29 -04:00
Mo Tarbin
778930015e refactor: Remove debug log from useSSEContext hook 2025-06-18 00:24:28 -04:00
Mo Tarbin
fb8c45a86d refactor: Remove unused user profile references and improve SSE/WebSocket connection logic 2025-06-18 00:19:18 -04:00
Mo Tarbin
13b0533277 feat: Add image compression for profile photo uploads to reduce file size 2025-06-17 18:23:43 -04:00
Mo Tarbin
6cb6b1534d Websocket and SSE in working state :
Add Server-Sent Events (SSE) support with connection status and settings components

- Implemented SSEConnectionStatus component to display real-time connection status.
- Created SSESettings component for enabling/disabling SSE based on user profile.
- Introduced SSEContext and useSSE hook for managing SSE connections and state.
- Added auto-connect functionality for SSE based on user profile and token validity.
- Updated WebSocketSettings to ensure proper handling of WebSocket state.
- Enhanced MyChores view with bulk archive functionality and improved UI feedback.
- Refactored NotificationSetting to ensure boolean values are set correctly.
- Updated Settings view to include RealTimeSettings component for SSE configuration.
2025-06-17 01:07:14 -04:00
Mo Tarbin
4098f2e498 feat: Implement multi-select functionality with keyboard shortcuts and bulk actions 2025-06-17 01:00:39 -04:00
Mo Tarbin
19093a4ead Merge branch 'websocket-support' into dev 2025-06-14 00:06:28 -04:00
Mo Tarbin
c7e2cb9d06 fix: Adjust error message formatting for better readability in multiple components 2025-06-14 00:06:25 -04:00
Mo Tarbin
6be22170d8 Enhance MFASettings alert styling and update ProfileSettings notification handling 2025-06-13 23:53:42 -04:00
Mo Tarbin
2077b0ab4c Refactor error handling and notification system
- Removed the ErrorProvider component and replaced it with a unified NotificationProvider.
- Updated all components to utilize the new NotificationProvider for displaying notifications.
- Enhanced notification types to include success, error, warning, and info with customizable messages and titles.
- Removed Snackbar components from various views and replaced them with calls to the NotificationProvider.
- Updated the ForgotPasswordView, LoginView, SignupView, and other components to handle notifications more effectively.
- Improved user experience by providing consistent notification handling across the application.
2025-06-13 23:52:02 -04:00
Mo Tarbin
bc2ca86a95 Update priority colors in Colors utility and adjust usage in CompactChoreCard 2025-06-13 17:14:55 -04:00
Mo Tarbin
a443582ca9 Implement WebSocket connection management and settings UI 2025-06-13 16:38:34 -04:00
Mo Tarbin
2162397575 Add updatedAt timestamp to UpdateChoreAssignee and UpdateDueDate functions 2025-06-10 18:55:46 -04:00
Mo Tarbin
b46d3d28a9 refactor: Consolidate imports for useCircleMembers and useUserProfile in UserPoints component 2025-06-08 10:51:08 -04:00
Mo Tarbin
44372059cd refactor: Replace UserContext with useUserProfile hook in UserPoints component 2025-06-08 02:20:25 -04:00
Mo Tarbin
64668147d9 refactor: Remove UserContext as it is no longer needed 2025-06-08 02:19:33 -04:00
Mo Tarbin
e21e71b442 feat: Refactor user profile management and improve token validation
- Introduced `useUserProfile` hook to centralize user profile fetching and management.
- Updated various components to utilize the new `useUserProfile` hook instead of context.
- Enhanced token validation logic in `Fetch` function to prevent unnecessary redirects.
- Added `parseDueDate` function to handle due date parsing with improved logic.
- Cleaned up user profile state management across multiple views and settings.
- Improved loading states and error handling in user-related components.
- remove usercontext and just use react query for userProfile
2025-06-08 02:09:23 -04:00
Mo Tarbin
10f646f125 refactor: Update LoginView to use useUserProfile hook and clean up user profile handling
- fix bug cause navigation loop
2025-06-08 02:07:33 -04:00
Mo Tarbin
187b76e04c feat: Integrate NotificationTemplate component into ChoreEdit and AddTaskModal for enhanced notification management 2025-06-08 02:05:59 -04:00
Mo Tarbin
f2c36cae37 fix: Add overflowX hidden to Box in Sidepanel for improved layout 2025-06-04 00:33:05 -04:00
Mo Tarbin
6c1be53f86 refactor: Rename parameter in CompleteSubTask back to completedAt to match backend https://github.com/donetick/donetick/issues/224 2025-06-03 23:33:55 -04:00
Mo Tarbin
321250f30e refactor: Update due date display logic and fix performer ID reference in ChoreCard component 2025-06-03 00:22:48 -04:00
Mo Tarbin
7559036abe refactor: Update chore grouping and color constants for improved clarity and organization 2025-06-03 00:18:51 -04:00
Mo Tarbin
ddf654a641 refactor: Consolidate chore action handling into ChoreActionMenu component and remove unused code from ChoreCard and CompactChoreCard 2025-06-01 00:47:47 -04:00
Mo Tarbin
cf252c3ec4 refactor: Clean up unused code and improve layout in CompactChoreCard, MyChores, and AddTaskModal components 2025-05-31 19:40:23 -04:00
Mo Tarbin
d65541fb3e refactor: Simplify user data fetching in MyChores component and update performer assignment logic ( cause a racing condition where sometime no task shown) 2025-05-31 17:18:17 -04:00
Mo Tarbin
20ef99cfc7 refactor: Remove debug console logs from WelcomeCard component 2025-05-31 16:46:02 -04:00
Mo Tarbin
f5c3c90f37 fix: Update legend item assignee in CalendarView 2025-05-31 03:42:01 -04:00
Mo Tarbin
34a386abce feat: Implement Multi-Factor Authentication (MFA) flow in LoginView and add MFA settings page
- Added MFA verification modal to handle MFA during login.
- Integrated MFA checks in login and OAuth login processes.
- Created MFASettings component to manage MFA setup, enabling, disabling, and backup codes.
- Updated ProfileSettings to include timezone selection.
- Enhanced CalendarView to display assignee names with avatars.
- Added RichTextEditor enhancements for image uploads based on user account type.
- Minor adjustments to ChoreEdit and ChoreView components for better UX.
2025-05-31 01:36:55 -04:00
Mo Tarbin
05f4c42bf9 Enhance user experience with Plus feature notifications and improve code structure
- Updated ChoreEdit and RepeatSection components to provide clearer messaging for Basic plan users regarding Plus features.
- Introduced CompactChoreCard component to streamline chore display options in MyChores.
- Implemented view mode toggle in MyChores for better user preference handling.
- Refactored StorageSettings to conditionally display storage usage information based on user plan.
- Improved error handling and user feedback across various components.
2025-05-30 14:46:26 -04:00
Mo Tarbin
1510dc9bc2 Only show " Nothing scheduled" when there really nothing to show. fix where it was shown with archive tasks 2025-05-29 01:32:37 -04:00
Mo Tarbin
2a85b621f5 style: update Calendar styles for improved UI consistency; enhance CalendarView layout and chore display logic 2025-05-29 01:02:19 -04:00
Mo Tarbin
97abf2f230 fix: update CompleteSubTask parameter name and adjust body payload; enhance Sidepanel layout and restore ActivitiesCard position; modify WelcomeCard styles for improved UI consistency 2025-05-29 01:02:12 -04:00
Mo Tarbin
1f2d38730d feat: implement ActivitiesCard component to display recent activities with enhanced status and time display
Support the new Status and Performed By
2025-05-29 01:01:07 -04:00
Mo Tarbin
5c000f50aa feat: enhance Sidepanel with chore history integration and improve Calendar styles 2025-05-28 00:45:25 -04:00
Mo Tarbin
581931b679 Improve calendar styles and improve chore display logic in CalendarView 2025-05-28 00:11:46 -04:00
Mo Tarbin
709a91b1db Your commit message 2025-05-27 11:58:52 -04:00
Mo Tarbin
6ddb8d01ec feat: add profile and storage settings components, integrate rich text editor, and implement image compression for uploads 2025-05-27 02:18:59 -04:00
Mo Tarbin
81d3144da2 Fix and populating timezone. https://github.com/donetick/donetick/issues/197 2025-05-26 01:45:56 -04:00
Mo Tarbin
a21774031b Packagelock 2025-05-16 21:16:52 -04:00
Mo Tarbin
de4dc9b9a0 fix: update version to 0.1.101 in package-lock.json 2025-05-16 20:48:08 -04:00
Mo Tarbin
7ae2859c78 fix: update version to 0.1.101 in package.json 2025-05-16 20:38:50 -04:00
Mo Tarbin
8228472031 fix: integrate useResource hook in App component and update queryKey in useResource 2025-05-16 20:38:00 -04:00
Mo Tarbin
8858c7f619 Support cloning task https://github.com/donetick/donetick/issues/200 2025-05-07 00:28:23 -04:00
Mo Tarbin
992d7e3303 fix: update ApiManager to handle navigation on 401 Unauthorized responses and navigation for login 2025-05-07 00:21:36 -04:00
Mo Tarbin
bce135cba8 fix: improve date comparison in CalendarView 2025-05-07 00:19:54 -04:00
Mo Tarbin
8c30bedefb Fix authentication with OIDC 2025-05-07 00:05:44 -04:00
Mo Tarbin
e26f2910f3 style: remove fixed height from task input for better responsiveness 2025-04-24 22:10:30 -04:00