Commit Graph

25 Commits

Author SHA1 Message Date
Mo Tarbin
fc91894336 Refactor localization handling across components
- Updated LocalizationContext to consolidate date and time formatting functions into a single `fmt` object.
- Modified ChoreCardHelpers to accept a time format parameter for due date text.
- Adjusted ChoreView, RepeatSection, TimePassedCard, and other components to utilize the new `fmt` object for date and time formatting.
- Enhanced HistoryCard and TimerEditModal to use the new localization functions for consistent date and time display.
- Refined Settings and CircleSettings to leverage the updated localization methods for subscription and member date displays.
- Improved ThingsHistory and UserActivities to format dates and times using the new localization structure.
- Ensured CalendarCard and CalendarDual components utilize the new formatting functions for better readability.
2026-03-08 23:08:37 -04:00
Mo Tarbin
1fc1d69dae feat: add MoreVert icon button for toggle actions in multiple components 2026-02-15 23:21:44 -05:00
Mo Tarbin
af401e7b27 refactor: replace react-swipeable-list with @meauxt/react-swipeable-list across multiple views 2026-02-15 23:17:09 -05:00
Mo Tarbin
0beb876cb4 refactor: update color and background properties in multiple views for consistency 2026-02-08 16:33:32 -05:00
Mo Tarbin
373096b339 Rewrite the Swiping Logic and update the Project, Labelm Things,Chore and all swipe card/view 2026-02-07 23:26:06 -05:00
Mo Tarbin
f27bbd318f Refactor chore management to use React Query hooks for timer and chore actions
- Replaced direct API calls with React Query hooks in ChoreView, ChoreCard, CompactChoreCard, and TimerDetails components for better state management and error handling.
- Updated ArchivedTasks to utilize useUnArchiveChore hook for restoring archived chores.
- Enhanced NotificationSetting to include device registration logic and improved user feedback for push notifications.
- Refactored TimerEditModal and TimerDetails to streamline timer session updates and deletions using hooks.
- Improved ChoreActionMenu to handle archiving and unarchiving chores with hooks.
- Adjusted various components to use getSafeBottomStyles for consistent bottom padding.
- Cleaned up unused imports and optimized loading states across components.
2025-09-21 12:46:03 -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
6eda3c68a8 Refactor chore management features to support approval and rejection workflows
- Updated RepeatSection to use occurrences instead of dayOccurrences for scheduling.
- Enhanced ChoreCard and CompactChoreCard to include approve/reject functionality for pending chores.
- Implemented user role checks for approval/rejection capabilities.
- Improved UI elements to reflect pending approval states with appropriate icons.
- Modified ChoreHistory and ThingsHistory components for better data representation and layout.
- Cleaned up unused imports and commented-out code for better readability.
2025-08-17 22:27:58 -04:00
Mo Tarbin
c9178db87d Enhance Settings, Things History, User Activities, and User Points views
- Integrated RevenueCat for subscription management in Settings.
- Added subscription and user deletion modals in Settings.
- Improved analytics display in Things History with update frequency and trend calculations.
- Enhanced User Activities timeline with a more structured layout.
- Revamped User Points section with a leaderboard and detailed points analytics.
- Introduced responsive design elements and improved user experience across various components.
- Add permission for Camera to support uploading photo via camera
2025-08-04 22:25:30 -04:00
Mo Tarbin
4f444bd3c9 Feature: implement useThingHistory hook and refactor ThingsHistory component for improved data fetching and rendering 2025-07-20 10:41:14 -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
a5722b2445 refactor: simplify notification titles in ThingsView component 2025-06-22 17:24:10 -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
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
Mo Tarbin
e964985524 Update footer links and add EditThingStateModal component 2025-02-11 20:47:29 -05:00
Mo Tarbin
d56c7a3bb4 Add loading spinner to ThingsHistory component 2025-02-02 10:47:47 -05:00
Mo Tarbin
568f86acd0 Update styling for NavBar and ThingsView components 2025-02-02 01:27:37 -05:00
Mo Tarbin
ba149d0e96 Make label Clickable
Fix changing URL for selfhosted
Update styling for calendar and thingview
2025-02-01 01:51:20 -05:00
Mo Tarbin
5e590bfe9f Fix Bug with Card being always white 2024-11-23 20:04:58 -05:00
Mo Tarbin
ee5763b197 refactor History 2024-11-03 22:37:37 -05:00
Mo Tarbin
71bad5a19f chore: Refactor ThingsHistory component and add styling improvements 2024-07-04 02:00:20 -04:00
Mo Tarbin
5e54da8271 Update button re-enable timeout to 3 seconds, update thing history 2024-07-01 22:12:19 -04:00
Mo Tarbin
2657469964 move to Donetick Org, First commit frontend 2024-06-30 18:55:39 -04:00