Conversation
|
I like the idea of this. I think it would be a really useful feature. However, I think this PR doesn't quite cover the feature as it would need to be. See this tracker story: https://www.pivotaltracker.com/story/show/41414801 We need a UI component to be able to display this in a "chicklet" like the other filters, but show that it's excluding, rather than including items. (like a circle with a slash through it). It also looks like the only way to do this currently is to add the filter to the URL? We should provide a way for a user to invoke this in the UI. So, much like we have a button next to the filter value for "pinning" the filter, we could have the "negate" button there, too. And this will need unit tests to cover the functionality. But, again, this would be awesome to have. Especially for things like results, where you would like to see all tests except ones that have been already run, for example. |
|
Thanks, @camd . For example, And sorry again, this PR is just a kind of partial solution, not complete at all. |
|
hey @sh1r0 : I just got some time to play with this. I must admit, this is pretty dang cool! It wasn't exactly intuitive for discover-ability to know to click the body to do the negation. We might have the hover text mention that or something? Or just But it works great! and having the text be strike-out is great! This actually worked for me with filtering the on "name" of a test case. You mentioned that keyword filtering though. Can you give me an example of what wasn't working? I think QA would be ecstatic over this feature. :) Would you work to get the tests working in this branch? It would be great to push this through next week. Thanks!!! This is awesome! |
|
Hi @camd , And, I'll try to revise or modify some test cases for this branch. Thanks, |
|
@sh1r0 : Yeah, I don't see it as being useful for ids too much. Hmm... Well, I suppose that being able to filter by an id prefix would be cool in some circumstances. But let's not worry about that for now. Perhaps open a bug that it won't work for ids. But this is really cool! Thanks for doing this! :) |
|
@sh1r0 This looks great! I think we just need to get the tests passing and we are good to merge. Thanks! |
|
Hi @camd , |
|
Sounds great! I can't wait to see it. You're very welcome. :) |
https://bugzilla.mozilla.org/show_bug.cgi?id=931683