Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add filter, enhanced fetching, enhanced mobile experience #3

Merged
merged 1 commit into from
Oct 19, 2024

Conversation

hafidzmrizky
Copy link
Owner

This pull request introduces several new features and improvements, including the addition of a filter functionality for to-do items, UI enhancements, and various code optimizations. The most important changes are listed below:

New Features

  • Added a filter functionality for to-do items, including a new Filter component and integration with the Header component. (src/components/todo/popup/Filter.tsx, src/components/Header.tsx, src/pages/index.tsx) [1] [2] [3] [4]

UI Enhancements

  • Updated the Calendar component to have a full height. (src/components/calendar/Calendar.tsx)
  • Modified the ActivityDesktopTodo component to adjust its height and layout for better responsiveness. (src/components/todo/ActivityDesktopTodo.tsx)
  • Enhanced the ActivityTodo component to sort tasks by status and date, and adjusted its height. (src/components/todo/ActivityTodo.tsx) [1] [2]

Code Optimizations

  • Implemented a debounce function to optimize network requests when filtering to-do items. (src/pages/index.tsx)
  • Refactored the API endpoint to handle status filtering and improved parameter handling. (src/pages/api/todo/index.ts) [1] [2]

Dependency Updates

  • Added react-select to the project dependencies in package.json. (package.json)

@hafidzmrizky hafidzmrizky self-assigned this Oct 19, 2024
@hafidzmrizky hafidzmrizky added the enhancement New feature or request label Oct 19, 2024
@hafidzmrizky hafidzmrizky merged commit c1bce39 into main Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant