Commit Graph

546 Commits

Author SHA1 Message Date
Mo Tarbin
f978c6f7d7 enhance Fetch function to handle different HTTP methods in apiClient 2026-02-07 23:26:55 -05:00
Mo Tarbin
facbf8ec02 replace loading state with LoadingComponent in CircleSettings 2026-02-07 23:26:40 -05:00
Mo Tarbin
ac338e9299 fix: update link to redirect users to the Google Play Store 2026-02-07 23:26:25 -05:00
Mo Tarbin
d18e6412f0 feat: add quick scheduling options in DateModal with chips for today, tomorrow, weekend, and next week 2026-02-07 23:26:17 -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
c9baf04505 Refactor: update condition handling for status selection in AdvancedFilterBuilder
Fix https://github.com/donetick/frontend/issues/59
2026-02-05 10:36:49 -05:00
Mo Tarbin
938fec1ab3 Fix: prevent the layout jump when you start typing https://github.com/donetick/frontend/issues/58 2026-02-05 10:28:17 -05:00
Mo Tarbin
ed9f04332e remove color chip from Project and Label
https://github.com/donetick/frontend/issues/57
2026-02-05 09:23:14 -05:00
Mo Tarbin
c20e8d1aea Refactor: optimize filter sorting with useMemo and integrate useFilters in AdvancedFilterBuilder 2026-02-04 00:22:07 -05:00
Mo Tarbin
3a13f111eb reorganize filter query hooks and remove unused track usage mutation 2026-02-04 00:09:14 -05:00
Mo Tarbin
6c95c683ba migrate filter management to API and implement query hooks for filters 2026-02-04 00:06:44 -05:00
Mo Tarbin
d666f59c1b https://github.com/donetick/donetick/issues/493 2026-02-03 17:57:48 -05:00
Mo Tarbin
28869498ae add points condition evaluation and update filter builder for points selection 2026-02-03 00:46:10 -05:00
Mo Tarbin
81104a3f38 Refactor: simplify filter chip rendering and adjust styles for better usability 2026-02-03 00:45:52 -05:00
Mo Tarbin
48cdbf6b6b remove the icon and show only the color for now 2026-02-02 19:39:08 -05:00
Mo Tarbin
7e9ce00166 have the project id default to whatever select when open new task 2026-02-02 19:33:35 -05:00
Mo Tarbin
c3431b0921 Refactor: update placeholder text for filter name and replace label colors with project colors in ProjectModal 2026-02-02 19:32:25 -05:00
Mo Tarbin
27210317fd Fix: navigate to chores instead of filters via and provide searchparam 2026-01-31 13:06:05 -05:00
Mo Tarbin
312b51a5fd Hide the scroll back on the chip for quick filter 2026-01-31 12:54:45 -05:00
Mo Tarbin
96a649ca9c Scroll to the new condition when adding new field 2026-01-31 12:52:54 -05:00
Mo Tarbin
445d8168e1 if filter selected then remove the advance filter and vera versa 2026-01-31 12:49:26 -05:00
Mo Tarbin
24a219853e update default project description for clarity and remove the default color 2026-01-31 01:23:46 -05:00
Mo Tarbin
9ff94a4402 fix: remove unnecessary blank lines and correct syntax error in importFilters function 2026-01-28 00:00:25 -05:00
Mo Tarbin
448b8fa160 feat: enhance filter functionality and UI improvements
- Added FilterView component for managing custom filters.
- Implemented temporary filter application in MyChores and custom filter hooks.
- Improved sorting of archived chores by updated date.
- Enhanced SortAndGrouping component with keyboard navigation support.
- Updated CustomFilterChips to visually indicate active filters.
- Refactored AdvancedFilterBuilder to improve usability and added listbox positioning.
- Integrated project selection caching in ProjectView for better navigation.
- Cleaned up unused imports and optimized existing code for better performance.
2026-01-27 23:50:49 -05:00
Mo Tarbin
aa46eb4c6d fix: Update notification timing label and refactor notification rendering for improved clarity 2026-01-26 23:08:36 -05:00
Mo Tarbin
7e35fa8710 feat: Enhance FadeModal with title and footer support; update AdvancedFilterBuilder to use fullWidth 2026-01-26 23:08:28 -05:00
Mo Tarbin
66b9e9b5c1 fix: Ensure 'Content-Type' header is set for POST, PUT, and DELETE requests 2026-01-26 23:08:13 -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
Mihály Hóbor
4cb2b34d11 Change comment 2026-01-26 16:32:53 +01:00
Mo Tarbin
2b8482cb06 feat: add custom filter chips and filter section components
- Implemented CustomFilterChips component for displaying and managing custom filters with context menu options for pinning, editing, and deleting filters.
- Created FilterSection component to integrate CustomFilterChips and provide UI for creating advanced filters and displaying active filters.
- Introduced useCustomFilters hook to manage custom filter logic, including loading, saving, updating, and deleting filters.
- Added AdvancedFilterBuilder modal for creating and editing advanced filters with dynamic condition handling.
- Implemented SaveFilterModal for saving filters with preview functionality and validation for filter names.
- Enhanced useChoreFilters and useProjectFilter hooks for improved filter management and state handling.
2026-01-26 01:58:21 -05:00
Mo Tarbin
57bc6ad98e Refactor MyChores component for improved maintainability
Reduced MyChores.jsx from 2,839 to 1,364 lines (52% reduction) by extracting reusable hooks and components.

   Created 6 custom hooks:
   - useMultiSelect: Multi-select mode and selection state management
   - useChoreModals: Centralized modal state management
   - useProjectFilter: Project filtering with localStorage sync
   - useChoreFilters: Multi-layer filtering (project, search, user filters)
   - useKeyboardShortcuts: All keyboard event handling
   - useChoreActions: Chore actions and bulk operations

   Created 3  components:
   - SearchBar: Clean search input with keyboard hints
   - MultiSelectToolbar: Full multi-select toolbar with action buttons
   - ChoreModals: Centralized modal rendering
2026-01-25 21:26:15 -05:00
Mohamad Tarbin
801bc2ab66 Merge branch 'main' into fix-notification-typo 2026-01-25 19:58:31 -05:00
Mihály Hóbor
a14dde8183 Show chore assigned person even if it's our own. 2026-01-25 23:32:04 +01:00
Mo Tarbin
59289a2f40 Merge branch 'dev' 2026-01-21 00:26:18 -05:00
Mo Tarbin
b08d0a76ee fix: Update import path for apiClient to use consistent casing 2026-01-21 00:26:12 -05:00
Mo Tarbin
cc8fdbe4a6 Merge branch 'dev' 2026-01-21 00:19:18 -05:00
Mo Tarbin
64eb477f4f fix: Correct import path formatting for apiClient 2026-01-21 00:19:08 -05:00
Mo Tarbin
68f368dc94 Merge branch 'dev' 2026-01-21 00:16:40 -05:00
Mo Tarbin
219d9b2a59 fix: Update import paths for apiClient to use consistent casing 2026-01-21 00:16:26 -05:00
Mo Tarbin
a7e1506ea0 Merge branch 'dev' 2026-01-21 00:12:55 -05:00
Mo Tarbin
f61cfaa781 fix: Update import path for apiClient to use consistent casing 2026-01-21 00:12:42 -05:00
Mo Tarbin
66de395549 Merge branch 'dev' 2026-01-21 00:09:44 -05:00
Mo Tarbin
31cb8f9fab Update import paths for apiClient to use consistent casing 2026-01-21 00:07:13 -05:00
Mo Tarbin
2aeb6598dc Merge branch 'dev' 2026-01-20 19:40:11 -05:00
Mo Tarbin
9810083304 fix: Correct import path for apiClient in useAuth hook 2026-01-20 19:40:00 -05:00
Mohamad Tarbin
23fd0482c8 Merge pull request #38 from pano9000/main
fix: UI strings - use consistent spacing/capitalization
2026-01-18 12:57:38 -05:00
Mohamad Tarbin
39f9e16a61 Merge pull request #39 from louim/bugfix/week-of-month
Replace nth_day_of_month with week_of_month
2026-01-18 12:56:58 -05:00
Mo Tarbin
c3a5e759b7 Merge branch 'dev' 2026-01-18 12:54:58 -05:00
Mo Tarbin
f9d5aeee91 feat: Add reconnection schedule and timeout configuration to Developer Settings 2026-01-18 12:54:49 -05:00
Mo Tarbin
371631856a feat: Add Developer Settings page and integrate with SSE context for debugging
refactor: Update ApiClient to support dynamic server URL and improve token handling
refactor: Modify TokenStorage to utilize Capacitor for native platforms
refactor: Adjust Fetcher to use updated ApiClient methods
refactor: Enhance SettingsOverview to include Developer Settings option
2026-01-18 12:54:13 -05:00