Commit Graph

47 Commits

Author SHA1 Message Date
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
Mo Tarbin
33d46209ef Add network management features and sync functionality; introduce NetworkBanner component 2025-04-12 01:03:00 -04:00
Mo Tarbin
06288af18d Fix #21 Frontend shows in calendar (Mon-Sun) the tasks delayed by one day 2025-04-06 19:40:12 -04:00
Mo Tarbin
91cb2106a9 Fix #166 Setting priority when creating task doesn't apply 2025-03-22 15:15:40 -04:00
Mo Tarbin
e56893fd64 Add frequency and notification metadata to task input; update NavBar styles for improved layout 2025-03-17 01:02:52 -04:00
Mo Tarbin
a16309c69a - Support nest sub tasks
- Support filters in ChoreGrouper
- completion window only available if due date selected
- Add SortAndGrouping Component : support Filter by Assignee
- update Notification Switch to align left of the text
- Support caching filters
2025-03-05 19:43:32 -05:00
Mo Tarbin
bbea27d380 Bump version to 0.1.95 and add dnd-kit dependencies; implement CompleteSubTask function and enhance chore sorting logic 2025-02-25 23:39:59 -05:00
Mo Tarbin
967d13ebac Fix https://github.com/donetick/donetick/issues/128 2025-02-15 00:04:59 -05:00
Mo Tarbin
e964985524 Update footer links and add EditThingStateModal component 2025-02-11 20:47:29 -05:00
Mo Tarbin
d0b1addc6f Add Custom 404 to allow navigating back to login 2025-02-11 20:46:27 -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
4e64d0b24e fix: Disable redeem button when points exceed available limit 2025-01-18 09:53:32 -05:00
Mo Tarbin
2d4fb2b163 Add description field to ChoreEdit form and Choreview 2025-01-17 00:49:54 -05:00
Mo Tarbin
56f66e9e8f Add useDebounce hook for debouncing input values
Fix parsing
2025-01-16 00:41:04 -05:00
Mo Tarbin
1b7751c5d1 Add LearnMoreButton component for displaying additional information 2025-01-15 01:53:55 -05:00
Mo Tarbin
d3b36238d4 Make sure the title respect upper and lower case 2025-01-14 11:07:27 -05:00
Mo Tarbin
cc11a624ad Update Calendar.css styles for better readability 2025-01-14 02:30:41 -05:00
Mo Tarbin
62696002e6 Add Task Modal for Task in a sentence 2025-01-14 02:12:27 -05:00
Mo Tarbin
4a9f2263f2 Add Sidepanel component for displaying task and calendar view 2025-01-14 02:06:40 -05:00
Mo Tarbin
32583b1a9e Add Points view, Don't allow completion outside the completion window, migrate more things to react query 2024-12-31 02:20:52 -05:00
Mo Tarbin
d4c36e2057 Initial Activity View
Add New Colors.jsx
Allow Dark model Toggle from the Navbar
2024-12-28 18:52:06 -05:00
Mohamad Tarbin
bcd32a8616 Mobile app (#3)
* Initial Capacitor Config and plugins

* Add Android project files and resources

* Add local notification scheduling for chores

* Add NotificationAccessSnackbar component for handling notification preferences

* Add capacitor-preferences to Android project

* Update notification Snackbar

* Add local notification scheduling for chores

* Add ionic.config.json file for custom project configuration

* chore: Add environment variables for production deployment

* Add Support for IOS, pass notificaiton token(push notifications)

* Add Capacitor Device support and refactor notification handling

* Refactor GoogleAuth client IDs to use environment variables

* Remove google-services.json to enhance security by eliminating sensitive data from the repository

* Remove environment files to enhance security by eliminating sensitive data from the repository

* Rename project from fe-template to Donetick in ionic.config.json

* Remove GoogleService-Info.plist and Info.plist to enhance security by eliminating sensitive data from the repository

---------

Co-authored-by: Mo Tarbin <mohamad@Mos-MacBook-Pro.local>
2024-12-26 02:13:47 -05:00
Mo Tarbin
42182371ff Add Support for LabelV2, Add LabelModal and LabelView.
Add React Query
2024-11-23 20:23:59 -05:00
Mo Tarbin
e974568374 Update Fetcher.jsx to include UpdateChoreAssignee function and ChoreCard.jsx to handle assignee change 2024-08-10 02:08:49 -04:00
Mo Tarbin
b7ee1c0f26 Update landing Get start section 2024-07-29 02:55:14 -04:00
Mo Tarbin
7f4e592849 Add SkipChore function to Fetcher utility module, Update Loading Comp 2024-07-16 19:37:18 -04:00
Mo Tarbin
ba3331efe8 Add Footer component to Landing page 2024-07-13 01:54:23 -04:00
Mo Tarbin
e25a6d3be9 Add VITE_IS_LANDING_DEFAULT flag for conditional rendering of landing page 2024-07-09 21:21:00 -04:00
Mo Tarbin
09c25cea0e Add force refresh functionality to NavBar component 2024-07-06 02:34:49 -04:00
Mo Tarbin
2657469964 move to Donetick Org, First commit frontend 2024-06-30 18:55:39 -04:00