-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Feature/2704 fix aspects #3737
Feature/2704 fix aspects #3737
Conversation
no idea why Travis failed, the log just stops after "installing database_cleaner (0.9.1)", and the mysql cucumber run passed, so if someone has access to a magic rebuild button, I'd appreciate a second run =) |
This looks good, and the build has passed. If there are no objections, I'd like to merge this. :) |
just to explain what I was talking about with the deselect all behaviour, after the first commit, clicking deselect all will deselect all, but it's confusing because neither the stream nor the link change. You can click deselect all again, and then the page refreshes and all aspects are selected. With my change, (third commit) the link toggles to say select all, and the stream is emptied. I can see the argument against emptying the stream and I'm happy to leave that out if people want, but the link should definitely toggle =) Happy to squash the commits / rebase / make other changes if requested |
I'm gonna test this on my localpod really quick to see how this stacks up. It'd be really nice if we could get the functionality we had back before the move over to Backbone. The specific functionality allowed users to click to add/subtract Aspects to the existing stream, rather than filtering them one at a time. I dunno if we'd ever want to have an empty stream, but I think keeping the "Select All" option is important. Maybe we could set it up so that deselecting "Select All" could fall back to the topmost Aspect to filter through? |
I totally agree this is a great feature to fix, it's something I really To clarify, with my changes it all works again. "deselect all"only appears this is a bit tricky to explain in words, if people don't have time to test
|
This would be awesome. A couple of guys at our company who I've demoed Diaspora* to, one of the first comments was "only one aspect at a time?".. The other was "so all aspects are always selected when stream is loaded?" ;) |
I can haz a changelog update please? :) |
changelog update added =) |
Awesome, thanks! |
So I started out trying to improve on the changes by visualsayed in #3194 but it turns out changing things on the ruby / rails side was a total red herring, the problem was/is that none of the correct Aspect javascript was being activated, because the name of the page, at some point, changed from "AspectsIndex" to "StreamsAspects", presumably when the streams controller started taking over from other controllers.
Anyway, all that was need to fix #2704 was to rename the javascript file / page. I've also added a new cucumber test that fails without these changes, and slightly altered the behaviour of the "deselect all" link, because it annoyed me. If anyone has a better way to clear the stream, or thinks it's a bad idea, just say so =)