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

Fix: Prevent addition of empty or whitespace-only tasks #1531

Merged
merged 2 commits into from
Oct 23, 2024

Conversation

KashishJuneja101003
Copy link
Contributor

Project-Guidance! ๐ŸŽŠ๐ŸŽˆ

Welcome! ๐ŸŽ‰

Thank you for visiting our repository! We're excited to have you here. If you find this project useful, please consider giving it a star! โญ

๐ŸŽ‰ Have you reviewed the Contributing Guidelines? ๐Ÿค” (Required)

  • YES
  • NO

๐Ÿ“ Description

This pull request addresses a small bug in the to-do list application. Specifically, it modifies the newTask() function to prevent adding tasks that consist of only spaces or are empty. This ensures that users input meaningful tasks.

๐Ÿ”ง Fixes #1459

๐Ÿท๏ธ Initiative Participation (Required)

This pull request is associated with the following initiative. Please choose the one you are contributing to:

  • ๐ŸŒธ GSSoC (Girl Script Summer of Code)
  • ๐ŸŒผ GSSoC 2024 Extd.
  • ๐Ÿ‚ Hacktoberfest 2024
  • โ„๏ธ Script Winter of Code (SWoC)
  • โ›„ Winter of Blockchain (WoB)
  • ๐Ÿ™‹โ€โ™‚๏ธ Personal
  • ๐Ÿ“Œ Other (please specify): _______________

Copy link

@KashishJuneja101003

It's great having you contribute to this project

Thank you for opening a Pull Request ๐Ÿ™Œ , Welcome to Project Guidance ๐Ÿ’– We will review everything and get back to you :)

@Kushal997-das Kushal997-das added Level0 hacktoberfest2024 Your contribution is part of Hacktoberfest 2024! ๐ŸŽ‰ gssoc-ext This level is for GSSOC-Extended. documentation Improvements or additions to documentation labels Oct 23, 2024
@Kushal997-das Kushal997-das merged commit 5ba5075 into Kushal997-das:main Oct 23, 2024
3 checks passed
Copy link

@KashishJuneja101003 Hurray, your PR got merged into our Project-Guidance ๐Ÿฅณ. Thanks a bunch. Feel free to take another Issue. ๐Ÿ’–

@Kushal997-das Kushal997-das added the hacktoberfest-accepted โ€œhacktoberfest-acceptedโ€ label label Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation gssoc-ext This level is for GSSOC-Extended. hacktoberfest2024 Your contribution is part of Hacktoberfest 2024! ๐ŸŽ‰ hacktoberfest-accepted โ€œhacktoberfest-acceptedโ€ label Level0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Empty Space Inputs Accepted as Valid Tasks
2 participants