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

Feature request: Run All Tests button #826

Closed
agrabeli opened this issue Jan 16, 2019 · 25 comments
Closed

Feature request: Run All Tests button #826

agrabeli opened this issue Jan 16, 2019 · 25 comments
Assignees
Labels
ooni/probe-mobile issues related to OONI Probe mobile priority/medium ux

Comments

@agrabeli
Copy link
Member

We have received community requests to include a "Run All Tests" button in the revamped app (on both Android and iOS), to run all OONI Probe tests in sequence, by tapping one button (instead of having to manually run each test individually).

@lorenzoPrimi lorenzoPrimi transferred this issue from ooni/probe-android Jan 17, 2019
@lorenzoPrimi
Copy link

Moved to ooni/probe. @agrabeli please don't use app specific repo for a generic issue

@lorenzoPrimi lorenzoPrimi added the ooni/probe-mobile issues related to OONI Probe mobile label Jan 17, 2019
@lorenzoPrimi
Copy link

For what I understood the only UX needed here is how to manage the 4 tests in one screen.

  • using the same progress bar for the 4 tests
  • using 4 progress bars in the same screen
  • resetting the progress bar, when changing test, as well as changing background color and animation

I personally prefer the last solution, this can also be included in 2.1.
Any thought @elioqoshi ?

@lorenzoPrimi lorenzoPrimi added this to the OONI Probe Mobile 2.1 milestone Jan 30, 2019
@lorenzoPrimi lorenzoPrimi self-assigned this Feb 6, 2019
@elioqoshi elioqoshi self-assigned this Feb 9, 2019
@elioqoshi
Copy link

Sorry, I missed this @lorenzoPrimi

I prefer your last solution as well:

resetting the progress bar, when changing test, as well as changing background color and animation

I'd need to think about a good place where to Run All Tests

@lorenzoPrimi lorenzoPrimi removed this from the OONI Probe Mobile 2.2 milestone Jul 14, 2019
@holantonela-zz
Copy link

+1 to @elioqoshi and @lorenzoPrimi. Resetting the progress bar, when changing test, as well as changing background color and animation seems the ideal flow here.

Do we want a new card on the Dashboard? I think we can include a new card at the end of the list.

I was tempted to put it first, but it's better to promote a bulk test when users already have some experience using Probe before. Also, do we need to include any alert or disclaimer? I'm thinking about data consumption? Maybe, I'm overthinking it. What do you think?

@agrabeli any suggestion for the description?

1

@aadibajpai
Copy link

+1 to @elioqoshi and @lorenzoPrimi. Resetting the progress bar, when changing test, as well as changing background color and animation seems the ideal flow here.

Do we want a new card on the Dashboard? I think we can include a new card at the end of the list.

I was tempted to put it first, but it's better to promote a bulk test when users already have some experience using Probe before. Also, do we need to include any alert or disclaimer? I'm thinking about data consumption? Maybe, I'm overthinking it. What do you think?

@agrabeli any suggestion for the description?

1

Hi Antonela, I was probing probe. I feel an alert or disclaimer might not be necessary since it would be expected that the total bandwidth and time consumed in running all tests would be equal to the sum of both resources if they were run individually. Unless there's some extra resource requirement in running all of them, that info might be redundant.

What would be nice is if there was a data usage estimate too. The middleware and instant messaging tests used exponentially less data than the websites one.

@agrabeli
Copy link
Member Author

Thanks @holantonela , that's a great suggestion! I think including a separate "Run All Tests" card at the end makes sense (at least as an interim solution -- anything else I can think of probably requires a more major UI revamp). I'll share the copy for this new card when I also work on the copy edits based on other tickets (within the relevant spreadsheet where we maintain strings).

I agree with @aadibajpai that we probably don't need to include a disclaimer, but including a data usage estimate would be nice. @hellais @lorenzoPrimi do you think this would be feasible within the next releases?

@elioqoshi elioqoshi removed their assignment Oct 13, 2019
@lorenzoPrimi
Copy link

@holantonela What if instead of making a card (at the botton that would be really less visible) we make an header at the top (like 1/3 of a card size?)
It's all about how much we want to make this button visible.
@agrabeli next release it's impossible as we already have the automatic tests as a new feature

@agrabeli
Copy link
Member Author

On second thought, I think I agree with @lorenzoPrimi 's suggestion (as having a "Run All Tests" card at the end would be less visible). Perhaps we could go with a header at the top per @lorenzoPrimi 's suggestion, or a "Run All Tests" button at the top? (I don't think we need copy for this, other than "Run All Tests")

@hellais
Copy link
Member

hellais commented Oct 14, 2019

I agree that putting the Run all tests at the bottom would burry it a bit.

What if we put the Run all tests card as the first card in the list?

@lorenzoPrimi
Copy link

I would make it slimmer and with a style a bit different than a normal card.

@holantonela-zz
Copy link

Run All Tests seems the best label for me too. If you want to highlight this feature, having it as the first card is the best decision.

I would make it slimmer and with a style a bit different than a normal card.

Why do you want a different style/size @lorenzoPrimi?

@lorenzoPrimi
Copy link

Just to make it different as it's not a single test. And to leave more space for the cards.
Feel free to do some tests to see how it looks like

@holantonela-zz
Copy link

What do you need to move this forward @lorenzoPrimi? is there any blocker?

@lorenzoPrimi
Copy link

From an UX point of view nothing is needed to make a mockup and see how it looks like.
Will be inserted in one of the next sprints

@hellais
Copy link
Member

hellais commented Mar 5, 2020

@holantonela I think it would be great if we could get a high resolution mockup of how this would look in the app.

I guess the main things to figure out are:

  • What color do we want the card to be (each card has a color which is associated to their test group)
  • What icon, if any, we should have in the background of the card itself

I do also wonder, if to save up on a bit of vertical space and to make it clear that this is not yet another test, we should adjust the style of this to be a bit smaller and different from the rest of the cards.

My concern is that by adding another card like that, the user will not be able to see what are all the tests they are about to run as half of the screen is taken up by a "Run all tests" card.

@holantonela-zz
Copy link

@holantonela I think it would be great if we could get a high resolution mockup of how this would look in the app.

Sure thing. Could you point me to the latest editable files?

@hellais
Copy link
Member

hellais commented Mar 6, 2020

Sure thing. Could you point me to the latest editable files?

I can send them to you on the OONI Slack if you are there.
Edit: I sent them to you via email at your t**@a***.me email address.

Thanks a bunch!

@holantonela-zz
Copy link

Thank you @hellais!

So, I made the first attempt here
https://xd.adobe.com/view/d8720b22-d43d-468a-5d1a-5235f45a3714-ae43/

  • using OONI's main blue as a background color
  • using OONI's icon

Let me know what the minimum height device you are considering is so we can contemplate a small size for all cards there. I don't think it makes sense to have a different card size for this one.

@hellais
Copy link
Member

hellais commented Mar 9, 2020

Thanks for putting this together @holantonela !

I think it's OK, but I am still not too convinced by this choice as I think it takes up too much screen real-estate and it doesn't communicate very clearly that you are about to run all the cards and this is not different from the sum of all the rest of cards.

What do you think of instead using a floating action button with the label "Run all tests"?

I think this would do a better job at conveying the relationship between that action and the rest of the cards on the page. It also would be a bit more compact and not take up so much vertical space.

@strugee
Copy link

strugee commented Mar 10, 2020

Maybe the card could be smaller, but have a little triangle to expand a description? That way the description in the mockup would still be available, but it would be visually distinguished since it's smaller.

@holantonela-zz
Copy link

FAB is a great idea if [Run all tests] is the main action in this screen. I have my doubts about it, but maybe it is a strong product move, and we are ok. I made a mockup to see how it looks
https://xd.adobe.com/view/d8720b22-d43d-468a-5d1a-5235f45a3714-ae43/screen/89b260e2-9007-4d03-a626-c013bb2d94ea/fab

Everybody here has strong feelings about making card smaller so I've tried that idea as well
https://xd.adobe.com/view/d8720b22-d43d-468a-5d1a-5235f45a3714-ae43/screen/5fb21689-a884-4f16-812d-3bd57003efad/small-card

@hellais
Copy link
Member

hellais commented Mar 12, 2020

FAB is a great idea if [Run all tests] is the main action in this screen.

Yes I would say running all tests is the main action we would like users to run on this screen. This will ensure we have the best coverage for all the possible tests user can run.

I have my doubts about it, but maybe it is a strong product move, and we are ok. I made a mockup to see how it looks

Thanks for putting together this mockup. I think it works quite well.

Some thoughts on things we could maybe improve are:

  • Having it be static at the bottom of the page means that when you scroll to the bottom it hides some of the cards. Is there some pattern to make it still be prominent, yet have it not obstruct the elements?

  • How would this work on iOS? Is there some pattern for doing that there?

  • What about putting a button like that front and center on the top of the screen? Something like the "Shuffle Play" button in Spotify:

shuffleplay

Everybody here has strong feelings about making card smaller so I've tried that idea as well

I am not a big fan of this option as I am not really convinced by the idea that "Run all tests" should be it's own card as logically it is actually an action performed on the set of all existing cards.

@hellais
Copy link
Member

hellais commented Mar 12, 2020

Another element which I guess we should also consider in the designing a solution for this page, is that I think this impacts also the decision related to: #870.

In there we are proposing to have a dedicated card just for allowing the user to pick which URL they would like to test. I think that if we don't go for the card option in this issue, we may want to also re-evaluate the other option too as the "Run all tests" primary action button would technically apply only to the "Automatic URL list", but not the "Manual URL list" and hence could be a bit confusing.

@holantonela do you have some thoughts on this point or aspect?

@lorenzoPrimi
Copy link

@hellais when scolling fully down the button shouldn't cover any card, there is some footer whitespace that allows the last card do be on top of the "Run all" button

@hellais
Copy link
Member

hellais commented Apr 1, 2020

I documented the approach that I think we should take in relation to this issue, which applies both to this issue and #870 in the following comment: #870 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ooni/probe-mobile issues related to OONI Probe mobile priority/medium ux
Projects
None yet
Development

No branches or pull requests

7 participants