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 creation of empty habits #3

Open
1 task
paulbgtr opened this issue Dec 6, 2024 · 2 comments
Open
1 task

Fix: Prevent creation of empty habits #3

paulbgtr opened this issue Dec 6, 2024 · 2 comments

Comments

@paulbgtr
Copy link

paulbgtr commented Dec 6, 2024

Bug Description

Users could create empty habits in the habit tracker.

Fix Description

Disabled the create button when there's no habit name and applied opacity-50 style.

Implementation Details

  • Disabled button when habit name is empty
  • Added opacity-50 style to visually indicate disabled state

Screenshot of Fix

image
image

PR Status

  • I've implemented this fix and can submit a PR if needed
@thestonechat
Copy link
Owner

That's nice, wanna submit a PR?

@paulbgtr
Copy link
Author

ty. yea, i'm about to to that

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

No branches or pull requests

2 participants