Commit Graph

707 Commits

Author SHA1 Message Date
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
Mihaly Hobor
4271159294 Merge branch 'main' into feature/swagger 2026-01-28 18:28:22 +01: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
8ec8816e45 Merge pull request #27 from Tirzono/fix-notification-typo
fix: change Notificaiton to Notification
2026-01-25 19:59:27 -05:00
Mohamad Tarbin
801bc2ab66 Merge branch 'main' into fix-notification-typo 2026-01-25 19:58:31 -05:00
Mohamad Tarbin
5fec87e688 Merge pull request #43 from natea/main
fix: remove optional=false from .npmrc to fix esbuild installation
2026-01-25 19:52:53 -05:00
Mohamad Tarbin
9490c00f9f Merge pull request #36 from SlIdE42/patch-1
Fix missing HTML title
2026-01-25 19:35:05 -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
Mohamad Tarbin
b742cda635 Merge pull request #47 from hoborm/feature/windows-developer-build
Add windows developer build
2026-01-22 22:50:54 -05:00
Mihaly Hobor
2e92acbfd5 Exclude swagger for service worker fallback 2026-01-22 23:17:02 +01:00
Mihaly Hobor
7af904d860 Add windows developer build 2026-01-22 23:15:16 +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
242f382da3 chore: Remove empty optionalDependencies section from package.json 2026-01-21 00:09:38 -05:00
Mo Tarbin
a879bd09b4 feat: Add android build script and baseline-browser-mapping dependency 2026-01-21 00:09:15 -05:00
Mo Tarbin
ed273fbfce chore: Bump version to 0.1.120 in package.json 2026-01-21 00:08:08 -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