Commit Graph

38 Commits

Author SHA1 Message Date
Mo Tarbin
b05da7d27c refactor: update NavBar component to include additional public pages and separate AppNavBar and LandingNavBar logic 2026-02-08 11:38:14 -05:00
Mo Tarbin
560cceca9b refactor: simplify menu icon logic in NavBar component 2026-02-08 01:35:45 -05:00
Mo Tarbin
ad45bafd62 feat: Refactor Filter Section and Add Filter View
- Removed unused props and components from FilterSection.
- Introduced FilterView component to manage and display saved filters.
- Implemented swipe functionality for filter actions (edit, delete, pin).
- Enhanced AdvancedFilterBuilder with description and color selection.
- Deleted obsolete SaveFilterModal component.
- Updated NavBar to include a link to the new Filters page.
- Adjusted chore filter hooks for improved functionality and organization.
2026-01-26 17:27:27 -05:00
Mo Tarbin
31cb8f9fab Update import paths for apiClient to use consistent casing 2026-01-21 00:07:13 -05:00
Mo Tarbin
7c8fa27aaf feat: Add unarchive functionality to ChoreView and enhance project management features
- Implemented unarchive button for archived chores in ChoreView.
- Updated chore status handling to disable actions for archived chores.
- Enhanced MyChores component to filter tasks based on project selection, including a default project.
- Improved ProjectModal to streamline project creation and editing with a new footer layout.
- Refactored ProjectView to accurately count tasks for default and user projects.
- Added project selection dropdown in AddTaskModal with default project handling.
- Updated NavBar to handle logout using apiClient.
- Enhanced ProjectSelector to manage projects with a new menu item for project management.
2026-01-17 19:35:36 -05:00
Mo Tarbin
3a074ef6c5 Add Support Project 2026-01-16 12:12:00 -05:00
Mo Tarbin
8edd3774d2 Support Refresh token and improve authentication and security.
Refactor authentication handling and API client integration

- Updated UserProfileAvatar to use 'access_token' instead of 'ca_token' for logout.
- Removed SSEProvider from Contexts and adjusted related imports.
- Introduced useAuth hook for centralized authentication logic, including login, logout, and token management.
- Refactored useSSE to utilize the new useAuth hook for token validation.
- Updated UserQueries to check for token validity using the new method.
- Deleted AuthenticationService as its functionality is now handled by useAuth.
- Created a new ApiClient utility for handling API requests and token management.
- Updated various components and views to use the new ApiClient for API interactions.
- Removed TokenManager and migrated its functionality to the new ApiClient.
- Adjusted LoginView and related components to utilize the new authentication flow.
- Cleaned up unused variables and improved code consistency across components.
2025-12-25 22:54:39 -05:00
Mo Tarbin
04314d507b Fix: https://github.com/donetick/donetick/issues/127
https://github.com/donetick/donetick/issues/277
2025-10-03 00:42:33 -04:00
Mo Tarbin
86b8bbfb5f show API version on navbar 2025-09-28 18:46:56 -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
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
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
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
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
e964985524 Update footer links and add EditThingStateModal component 2025-02-11 20:47:29 -05:00
Mo Tarbin
568f86acd0 Update styling for NavBar and ThingsView components 2025-02-02 01:27:37 -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
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