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

feat: Add Think Time editor #20

Merged
merged 4 commits into from
Jul 8, 2024
Merged

Conversation

2Steaks
Copy link
Collaborator

@2Steaks 2Steaks commented Jul 4, 2024

Closes https://github.com/grafana/k6-cloud/issues/2506

This PR adds the ThinkTime component to the Think Time tab on the generate page

Screenshot 2024-07-04 at 14 48 50 Screenshot 2024-07-04 at 14 48 58 Screenshot 2024-07-04 at 14 49 04 Screenshot 2024-07-04 at 14 59 26

@2Steaks 2Steaks self-assigned this Jul 4, 2024
@2Steaks 2Steaks marked this pull request as ready for review July 4, 2024 13:49
Comment on lines +134 to +138
<Callout.Text wrap="balance">
It is advisable not to use this option if you have included
groups, as it may cause unexpected delays between requests, even
within a group.
</Callout.Text>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Llandy3d do we still want to have this callout? The notes from June 25 say: Groups - no bother of sleep between requests, but I'm not sure how to interpret it

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yap, we still want the callout!
As for that note, sorry for that, it means how the workflow goes for the QA, if they are using groups, they don't bother about setting sleep between requests. So we shouldn't allow to select both group think time & request think time

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if they are using groups, they don't bother about setting sleep between requests.

Can't we hide the option to set sleep between request when there are groups then?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure hiding functionality would be a good thing, from the spec we want to encourage/warn users but leave them the flexibility of doing it anyways 🤷 (we can discuss it further, it's a good topic for the next sync)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, let's discuss this in a sync

@@ -0,0 +1 @@
v18
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should probably be v20, because electron bundles 20.9.0 with the app

@going-confetti going-confetti self-requested a review July 8, 2024 10:36
@going-confetti going-confetti merged commit df71a1d into main Jul 8, 2024
1 check passed
@going-confetti going-confetti deleted the feat/time-to-think-editor branch July 8, 2024 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants