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

Category with color #25

Merged
merged 37 commits into from
Jul 23, 2022
Merged

Conversation

ahaneef29
Copy link
Contributor

This PR added color option feature for category title, User can choose the predefined color while creating category and also user can change the color on update as well.

@saleem-hadad
Copy link
Member

Thank you @ahaneef29 for the contribution. Can you also provide some screenshots and fix the unit tests?

@ahaneef29
Copy link
Contributor Author

@saleem-hadad Updated existing test case and with sample image.

Screenshot 2022-07-16 at 6 55 35 PM

@ahaneef29
Copy link
Contributor Author

ahaneef29 commented Jul 18, 2022

@saleem-hadad update test case, but still keep failing?

@saleem-hadad
Copy link
Member

I'll check

routes/api.php Outdated Show resolved Hide resolved
composer.lock Outdated Show resolved Hide resolved
resources/css/app.css Outdated Show resolved Hide resolved
@saleem-hadad
Copy link
Member

@ahaneef29 I guess the test is failing because now we have the default color is badge-gray?

@ahaneef29
Copy link
Contributor Author

ahaneef29 commented Jul 23, 2022

@saleem-hadad fixed the test cases.! Thank you for pointing out

Yes. This is also a good place to have the default color.

Co-authored-by: Saleem Hadad <[email protected]>
@ahaneef29
Copy link
Contributor Author

@saleem-hadad Updated as per your suggestion and all test passed

@ahaneef29
Copy link
Contributor Author

@saleem-hadad Updated

@saleem-hadad
Copy link
Member

Thank you very much @ahaneef29 for the hard & beautiful work. 🌹😍

@saleem-hadad saleem-hadad merged commit eb79fc7 into hisabi-app:main Jul 23, 2022
@ahaneef29
Copy link
Contributor Author

@saleem-hadad Thank you very much for wonderful support.

@saleem-hadad
Copy link
Member

saleem-hadad commented Jul 23, 2022

Most welcome. Now I'm thinking that we can use the categories' colors in the dashboard to make it consistent
Screen Shot 2022-07-24 at 2 10 35 AM

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.

2 participants