Commit Graph

289 Commits

Author SHA1 Message Date
Mo Tarbin
79382ce6f8 fix: update build-selfhosted script to include package-lock.json cleanup and dependency installation 2025-06-23 01:47:45 -04:00
Mo Tarbin
e9f1b2a9b4 fix: refactor getDefaultNotification to retrieve from localStorage and update notificationMetadata initialization 2025-06-23 00:54:05 -04:00
Mo Tarbin
981513086b fix: update version to 0.1.104 in package.json 2025-06-23 00:50:14 -04:00
Mo Tarbin
9f4bfe75d1 fix: remove rollup from dependencies and optionalDependencies in package.json 2025-06-22 22:08:33 -04:00
Mo Tarbin
dcd8bbbd01 fix: update build-cf script to remove unnecessary node_modules cleanup 2025-06-22 22:04:09 -04:00
Mo Tarbin
cadfa5e034 fix: update build commands and add optional dependencies for cross-platform support 2025-06-22 22:00:40 -04:00
Mo Tarbin
76ea0c4978 fix: update package.json and package-lock.json to include optional rollup and swc dependencies for darwin arm64 2025-06-22 21:51:20 -04:00
Mo Tarbin
c1321203c1 fix: update rollup and swc dependencies for darwin arm64 support 2025-06-22 21:45:33 -04:00
Mo Tarbin
a8388db1c3 add rollup as a dependency in package.json 2025-06-22 17:30:55 -04:00
Mo Tarbin
f0589c2f33 chore: remove unnecessary rollup dependency for darwin arm64 2025-06-22 17:28:20 -04:00
Mo Tarbin
a5722b2445 refactor: simplify notification titles in ThingsView component 2025-06-22 17:24:10 -04:00
Mo Tarbin
18e57e20ed update dependencies to include rollup for darwin arm64 and swc core 2025-06-22 17:22:32 -04:00
Mo Tarbin
5b83bf35d0 update notification handling and improve sorting logic in NotificationTemplate component 2025-06-22 17:21:22 -04:00
Mo Tarbin
97fb8d8561 chore: update package.json to specify Node and npm engine requirements, and add build-cf script for clean build 2025-06-21 01:24:14 -04:00
Mo Tarbin
643a48afec Update package lock 2025-06-21 01:19:40 -04:00
Mo Tarbin
46fb1f0ac0 chore: Bump version to 0.1.103 in package.json 2025-06-21 01:10:46 -04:00
Mo Tarbin
522c5562eb feat: Add dark mode toggle button in HomeHero component 2025-06-21 00:15:27 -04:00
Mo Tarbin
ef8c63c176 Add dark mode screenshot and enhance image styling in HomeHero component 2025-06-21 00:07:31 -04:00
Mo Tarbin
12537ec7f3 feat: Add dark mode support for screenshot in HomeHero component 2025-06-21 00:00:49 -04:00
Mo Tarbin
8b791ed19e Update button variant and remove unnecessary styles in CompactChoreCard 2025-06-20 23:55:18 -04:00
Mo Tarbin
a1fdd0c0d2 fix: Add userId to users array in DemoMyChore component 2025-06-20 23:54:55 -04:00
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