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

🚀 Implement Task Management Features: HTML to Full App #57

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

diieggo
Copy link

@diieggo diieggo commented Feb 7, 2024

Descripción del Pull Request:

Cambios Realizados:

  • Funcionalidades Agregadas:
    • Ocultar las secciones main y footer cuando no hay tareas.
    • Crear una nueva tarea usando el input principal con funcionalidades adicionales.
    • Interacciones para una tarea, incluyendo completado/no completado, edición y eliminación.
    • Modo de edición para editar tareas existentes.
    • Contador en el footer para mostrar el número de tareas pendientes.
    • Botón para eliminar todas las tareas completadas.
    • Persistencia de tareas utilizando LocalStorage.
    • Filtros y rutas para mostrar tareas según su estado en la URL.

Detalles Técnicos:

  • Implementación de las 9 funcionalidades siguiendo las especificaciones del modelo de datos recomendado.
  • Uso de métodos como .trim(), .focus(), y manejo de eventos para lograr interactividad eficiente y una experiencia de usuario fluida.
  • Se completaron exitosamente todas las pruebas e2e para verificar el funcionamiento correcto de la App.

Este pull request está listo para su revisión. ¡Gracias! 🌟

Code by Diego Huaccha

Implement to-do list functionality using an array. Additionally, hide elements with 'main' and 'footer' classes when the to-do list is empty.
Enable the ability to add a new task to the to-do list. When a task is entered in the task addition input and 'Enter' is pressed, a new task is created and added to the to-do list array.
Added a function to automatically render the to-do list array. This function is executed on page load and after adding a new task, ensuring the to-do list is consistently updated.
Added functionality to store the to-do list in local storage. This enhancement ensures that the to-do list persists across page reloads, providing a better user experience.
Made a quick fix by updating the local storage key, resolving an issue related to storage. This adjustment ensures proper functioning of the to-do list with the corrected key.
Implemented features for task management in the to-do list. Users can now mark tasks as completed, edit existing tasks, and delete tasks for a more versatile to-do list experience.
Added functionality to the pending tasks counter, ensuring it accurately reflects the number of tasks yet to be completed. This enhancement improves the overall usability of the to-do list.
Introduced a button that allows users to easily remove all completed tasks, enhancing the usability of the to-do list by providing a convenient way to declutter completed items.
Implemented functionality to dynamically toggle the visibility of the 'clear completed' button. The button is now hidden when there are no completed tasks and becomes visible when there are completed tasks, providing a more intuitive user interface.
Added functionality to enable filtering tasks based on the hash in the URL. Now, changing the hash in the URL updates the displayed tasks according to the selected filter (all tasks, pending tasks, completed tasks). This enhances the user experience by providing a convenient way to navigate through different task views.
Refactored the codebase to adhere to a consistent and improved style by applying Prettier code formatting. This enhances readability and maintains a standardized code format across the project.
@diieggo
Copy link
Author

diieggo commented Feb 7, 2024

Deploy con Netlify:

https://mydayapp-platzi-lab.netlify.app/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant