Commit Graph

80 Commits

Author SHA1 Message Date
Mo Tarbin
79dfb11fa4 feat: add device token management and safe area utilities; enhance notification settings and chore components 2025-09-20 22:20:02 -04:00
Mo Tarbin
eded4b2e16 feat: add nudge functionality to chore cards and action menu; enhance user notifications
fix Filtering when imposing user to respect the sort and grouping order
2025-09-18 01:14:51 -04:00
Mo Tarbin
406da9732c Fix broken access to term and privacy pages 2025-09-14 21:55:14 -04:00
Mo Tarbin
43decb21f4 Refactor StorageSettings to use SettingsLayout and improve layout structure; add ThemeSettings component; update TermsView with new terms and structure; enhance ThingsView styling; clean up AddTaskModal by removing experimental feature chip; create CalendarCard component for calendar overview; optimize CustomParsers for repeat parsing; update NavBar for improved navigation and search parameter handling. 2025-09-11 01:17:27 -04:00
Mo Tarbin
fd15235124 Enhance UI with section headers and descriptions for Archived Tasks, Labels, Settings, Things, User Activities, and update NavBar 2025-09-02 17:39:05 -04:00
Mo Tarbin
4e31190291 Add Capacitor Browser dependency and update safe area handling in components 2025-08-30 01:35:38 -04:00
Mo Tarbin
cf4d0565c5 feat: Enhance Signup and Chores functionality
- Added query invalidation on signup to refresh user profile data.
- Improved MyChores component to ensure data is loaded before rendering.
- Introduced dynamic sidepanel configuration with drag-and-drop functionality.
- Created TasksByAssigneeCard to visualize tasks assigned to users.
- Updated MFASettings and Settings components for better structure and usability.
- Implemented SettingsOverview for a comprehensive settings navigation experience.
- Added SidepanelSettings for customizing sidepanel card visibility and order.
- Refactored NavBar to include user profile avatar and improved layout.
2025-08-29 00:50:54 -04:00
Mo Tarbin
defc7a8fa4 Remove unused icon import and comment out 'Upgrade to Plus' ListItemButton in NavBar 2025-08-25 23:58:49 -04:00
Mo Tarbin
6064c88f2c Refactor navigation paths to use '/chores' instead of '/my/chores' across multiple components for consistency 2025-08-25 20:21:06 -04:00
Mo Tarbin
77b3430339 Adjust BottomSheetModal minHeight and add margin to toggle button; add 'Upgrade to Plus' option in NavBar 2025-08-23 17:17:02 -04:00
Mo Tarbin
0f125cd63f Enhance modal components with consistent button sizes and improve calendar styles for better responsiveness and layout 2025-08-23 17:15:18 -04:00
Mo Tarbin
65f84b116f Refactor chore components and enhance scheduling features
- Removed redundant priority color function from CompactChoreCard and imported from Colors utility.
- Replaced FadeModal with ResponsiveModal in MultiSelectHelp for improved modal handling.
- Simplified MyChores component by removing archived chores state and related logic, and added keyboard shortcut for navigating to archived tasks.
- Integrated ResponsiveModal in RedeemPointsModal for consistent modal usage.
- Added quick scheduling options in ChoreActionMenu for better task management, including scheduling for today, tomorrow, weekend, and next week.
- Enhanced CustomParsers to support nth occurrence of days in monthly scheduling.
- Updated NavBar links and navigation logic for improved user experience.
2025-08-22 23:37:30 -04:00
Mo Tarbin
4dcd4483e9 Refactor modals to use ResponsiveModal for improved responsiveness and consistency 2025-08-21 01:39:03 -04:00
Mo Tarbin
0102ce2144 Add BottomSheetModal component and implement calendar view in MyChores 2025-08-21 00:34:00 -04:00
Mo Tarbin
71d5887bcc Refactor calendar components: implement responsive design, enhance layout, and integrate monthly view with chore prioritization 2025-08-20 18:17:12 -04:00
Mo Tarbin
ca9a53bde9 CalendarView component: add priority color to show in the calendar cell, legend display to show two columns instead of one 2025-08-17 22:26:04 -04:00
Mo Tarbin
0a407d869e Fix: include notificationMetadata in chore creation when dueDate is set
Fix: https://github.com/donetick/donetick/issues/273
https://github.com/donetick/donetick/issues/272
2025-07-28 23:57:06 -04:00
Mo Tarbin
7bdfdcc1f8 Fix: text highlighting in SmartTaskTitleInput to support recurring events 2025-07-19 00:49:09 -04:00
Mo Tarbin
1aa9da57aa Update NavBar drawer content positioning for improved layout 2025-07-15 07:58:04 -04:00
Mo Tarbin
9a988e82c4 Refactor z-index management by introducing Z_INDEX constants and updating components to use them for consistent layering 2025-07-14 00:53:56 -04:00
Mo Tarbin
7e98e98ad0 update NetworkBanner positioning and zIndex for improved visibility 2025-07-13 01:30:24 -04:00
Mo Tarbin
b6f07fdf85 adjust NavBar positioning for improved layout and responsiveness 2025-07-13 00:26:53 -04:00
Mo Tarbin
b24ac01493 style: adjust padding-top in NavBar component for improved layout 2025-07-12 16:36:53 -04:00
Mo Tarbin
be21da5e3b implement custom useTimer hook for improved timer functionality 2025-07-12 16:36:41 -04:00
Mo Tarbin
adc2e96bf2 refactor: clean up whitespace and improve comments in StatusBarManager 2025-07-12 02:43:07 -04:00
Mo Tarbin
1612de8231 style: update NavBar component with improved padding and sticky positioning 2025-07-12 02:19:39 -04:00
Mo Tarbin
953c62cc66 feat: Enhance UserPoints component with improved filtering and layout
- Updated UserPoints component to include a more user-friendly filter bar with enhanced styling.
- Added a summary section to display the current filter context.
- Refactored user selection and time period filtering logic for better clarity and performance.
- Improved the layout of points cards and history sections for better visual hierarchy.
- Integrated a bar chart for visual representation of points over time.
- Updated redeem points functionality with better user feedback.

feat: Add keyboard shortcuts in AddTaskModal for improved usability

- Implemented keyboard shortcuts for adding descriptions, subtasks, and due dates.
- Enhanced user experience by providing visual hints for keyboard shortcuts.
- Refactored task creation logic to streamline the process.

fix: Refactor ChoreActionMenu to handle mouse events and improve accessibility

- Added mouse enter and leave event handlers for better interaction feedback.
- Adjusted menu positioning for improved usability.

refactor: Update RichTextEditor to support focus handling from parent components

- Converted RichTextEditor to use forwardRef for better integration with parent components.
- Exposed focus and blur methods for external control.
- Improved image upload handling with better error management.

fix: Adjust SubTask component to handle Enter key behavior correctly

- Modified key event handling to prevent unintended task creation when holding meta or ctrl keys.
- Added autoFocus prop to new task input for better user experience.
2025-07-11 20:10:28 -04:00
Mo Tarbin
baef35d263 refactor: update App component to use QueryClient and improve theme handling; enhance ChoreView and SubTask components with performers data 2025-07-09 21:02:55 -04:00
Mo Tarbin
8b8345d0e6 Refactor modals to use FadeModal component for consistent styling and improved user experience
- fix https://github.com/donetick/donetick/issues/222

- Replaced Modal and ModalDialog with FadeModal in LabelModal, PasswordChangeModal, SelectModal, TextModal, UserModal, WriteNFCModal, RedeemPointsModal, and AddTaskModal.
- Updated modal structure and layout to maintain functionality while enhancing visual consistency.
- Removed unused imports and commented-out code for cleaner codebase.
2025-06-27 01:42:38 -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
d8b5e0f5a1 Enhance CompactChoreCard and MyChores with animated transitions for multi-select and search filter 2025-06-19 02:24:39 -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
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
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
187b76e04c feat: Integrate NotificationTemplate component into ChoreEdit and AddTaskModal for enhanced notification management 2025-06-08 02:05:59 -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
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
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
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
bce135cba8 fix: improve date comparison in CalendarView 2025-05-07 00:19:54 -04:00
Mo Tarbin
0b1208a11c fix: update variable names in renderHighlightedSentence for clarity 2025-04-24 21:56:07 -04:00
Mo Tarbin
261919f17a refactor: update priority parsing to use '!' prefix and enhance highlight handling in CustomParsers 2025-04-24 21:34:07 -04:00
Mo Tarbin
f537a00409 Enhance highlight parsing logic with priority handling and improve repeat match extraction in CustomParsers 2025-04-24 19:50:47 -04:00
Mo Tarbin
f0e0c0e4fc Add SmartTaskInput with Custom Renderer.
Change to use `@tanstack/react-query`
Add Global ErrorProvider
Add limited Support for offline version
Fix issue with calendar display +1 day
2025-04-24 01:03:40 -04:00