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

expired task toggle & task-count not consistent with visible-state of expired tasks #10

Closed
mftaff opened this issue May 4, 2017 · 2 comments
Labels

Comments

@mftaff
Copy link
Owner

mftaff commented May 4, 2017

A helper method is needed to check whether expired-tasks are collapsed or not, and based on that to display either show expired or hide expired. As well as to display task count as current_user.tasks.unexpired.count (for when expired is hidden) or current_user.tasks.count (for when expired is also being displayed)

I think the helper method needs to be all jquery/AJAX as It is dependent on the state of an element...

@mftaff mftaff added the bug label May 4, 2017
@mftaff
Copy link
Owner Author

mftaff commented May 4, 2017

maybe moveover the toggle function from bootstrap to jquery this will make the entire toggling system all jquery

@mftaff
Copy link
Owner Author

mftaff commented May 4, 2017

Only the button was updated to be dynamic. The task count was deemed unnecessary

@mftaff mftaff closed this as completed May 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant