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
Customize selection for candidate needles + full diff view #1622
Customize selection for candidate needles + full diff view #1622
Conversation
Martchus
commented
Apr 16, 2018
- Still WIP. Missing:
- Select 'None' again
- Actually implement 'Full diff'
- Show whether needle is excluded
- Fix tests
- Built on top of Migrate to Bootstrap 4 #1619 (comment).
- Can be tested on e212, eg. http://e212.suse.de/tests/11171#step/disable_grub_timeout/6.
- Main point is that the combo box content is now fully customizable.
Codecov Report
@@ Coverage Diff @@
## master #1622 +/- ##
==========================================
+ Coverage 88.59% 88.62% +0.02%
==========================================
Files 124 124
Lines 9270 9276 +6
==========================================
+ Hits 8213 8221 +8
+ Misses 1057 1055 -2
Continue to review full report at Codecov.
|
428fe10
to
626cdbd
Compare
please rebase - hopefully the tests pass then too :) |
For consistency
626cdbd
to
2343e46
Compare
Rebased - if the tests pass that means we don't really tests that part of the UI yet. Maybe I should add some tests at least for the menu. And besides, I should also test this on staging first and you maybe want some adjustments. |
Especially the case when the same needle is shown under two different tags.
Copying is still possible (os-autoinst#1606 (comment)).
The automatic tests pass now. It can also be tested manually on e212, eg. under http://e212.suse.de/tests/11979#step/kontact/20 there's an example with multiple tags. The following should work now:
The following things are still TODO but could also be improved in a further PR (so this one doesn't become too big):
|
Use this PR to update the tour - so we get feedback on the usefulness of this feature :) |
and having openQA in openQA tests moving the screenshot slider sounds like a place where no man has gone before ;) |
Good idea. If we want to keep the tour feature, we should refactor it. Sticking with the current "coding style" would be very messy if we add more tours. However, for now I would keep it. Let's see what feedback we get first.
Match the output in the initial state is likely enough. But if I wanted to move the slider, I'd likely try to inject some JavaScript code for that instead of moving the slider by hand :-) |
Now, that I've looked into it, I doubt that making a tour for this is easy and worth the effort. Things which make it difficult:
To summarize: I don't think this feature is a good place to start for extending the tour feature. Especially when we're still investigating it and want to collect feedback. It would be much effort and likely we would provide a tour which doesn't work very well due to the complexity. Note that these problems don't apply to all features we possibly want to show in a tour. The maintenance effort for the tour is also low (we've just migrated to Bootstrap 4). So I would keep the tour and try it out later when we introduce a new feature where it makes more sense. If we later decide to keep the tour, I would opt for the 'tour fixtures' approach. |
If the tour can't be used for such a thing - then let's drop it. Not in this PR though |
I'm not saying that. It would take extra effort like introducing 'tour fixtures'. And that does not make sense for a first test. And the mentioned points really don't apply to any feature we might want to show. For instance, if we don't have to care which job to pick, we could just use But I just want to clarify this. It is up to you to decide whether the tour is worth the effort. |
commit 74e334c Merge: 585746f b89dfa8 Author: Stephan Kulow <stephan@kulow.org> AuthorDate: Wed Apr 18 15:02:42 2018 +0200 Commit: GitHub <noreply@github.com> CommitDate: Wed Apr 18 15:02:42 2018 +0200 Merge pull request #1622 from Martchus/improve_candidate_needles_further_bootstrap_4 Customize selection for candidate needles + full diff view
commit 74e334c Merge: 585746f b89dfa8 Author: Stephan Kulow <stephan@kulow.org> AuthorDate: Wed Apr 18 15:02:42 2018 +0200 Commit: GitHub <noreply@github.com> CommitDate: Wed Apr 18 15:02:42 2018 +0200 Merge pull request #1622 from Martchus/improve_candidate_needles_further_bootstrap_4 Customize selection for candidate needles + full diff view
commit 74e334c Merge: 585746f b89dfa8 Author: Stephan Kulow <stephan@kulow.org> AuthorDate: Wed Apr 18 15:02:42 2018 +0200 Commit: GitHub <noreply@github.com> CommitDate: Wed Apr 18 15:02:42 2018 +0200 Merge pull request #1622 from Martchus/improve_candidate_needles_further_bootstrap_4 Customize selection for candidate needles + full diff view
commit 74e334c Merge: 585746f b89dfa8 Author: Stephan Kulow <stephan@kulow.org> AuthorDate: Wed Apr 18 15:02:42 2018 +0200 Commit: GitHub <noreply@github.com> CommitDate: Wed Apr 18 15:02:42 2018 +0200 Merge pull request #1622 from Martchus/improve_candidate_needles_further_bootstrap_4 Customize selection for candidate needles + full diff view