question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Change how we ask questions

See original GitHub issue

Currently we ask question as:

1. Select packages to update: [list of all packages]
=>
2. Select bump type for package [patch, minor, major]
=>
Repeat step two for each package

This means that the number of questions you have to think about is 1 + packages-bumped, and scales up with larger system changes.

Proposed new format is:

1. Select packages to update: [list of all packages]
=>
2. Which of these packages are a major change? [list of selected packages]
=>
3. Which of these packages are a minor change? [list of selected packages - major changed packages)
=>
4. The rest (list them) will be a minor change - is this okay?

This reduces the questions to always 4.


Other concerns:

This makes it too easy to mass-update We previously removed a bunch of questions because while being the most correct in querying individual information is good, decision overloading users gets worse results than being a bit smarter.

If I am updating less than three packages, I will get asked more questions We could theoretically avoid this by switching to the old format for 1 or 2 packages, but I would like to have a consistent predictable experience when updating packages.

Could we ask one question only?

If we had one Very Complicated question that looked like:

Select the bump type of all packages:
pkgA *none* | patch | minor | major
pkgB *none* | patch | minor | major

and could cursor both up+down and left+right, you could just use one set of selects to choose EVERYTHING.

I… don’t actually like this. It feels like to get all the answers right you need to hold too much information in your head at once, once again upping the complexity cost of getting your changeset ‘right’.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Novinycommented, May 29, 2019

bangs head quietly on keyboard

Despite quote tweeting it, I read ‘I strongly agree’ as ‘I strongly disagree’ like 5 times. 🙏 for asking more about it.

Speaking of select all and select all changed…

Yeah, this is way better behavior. At the moment, this console manipulation is handed over to inquirer, so would need to see if we can add hotkeys to that.

It would be good to be able to select all, and then de-select as needed, or select all changed then check that meets your expectations.

0reactions
emmatowncommented, May 29, 2019

Speaking of select all and select all changed, I think they should be changed so rather than items in the the select, when you press a, all of the items should be selected and c should select all the changed items.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How One Question Can Change Your Focus | by Jessi Christian
Try to ask yourself a question that you know you can give yourself a positive answer to. How about: “What am I good...
Read more >
How Does Asking Questions Create Change?
This works by first expecting people to learn existing standards, and then asking them to: 1) spot a problem (step into the batters'...
Read more >
Want to make an impact? Change your questioning habits.
“Asking questions keeps people engaged, which is paramount when you are trying to influence someone's thinking or behavior.
Read more >
Changing the Way You Ask Questions Can Make You More ...
The questions we ask can shape our perspective, help us learn, and allow us to leverage and enrich our relationships.
Read more >
The Power of Why: How Asking the Right Questions Can ...
There is great power in inquiry – in asking the right questions to seek understanding, create breakthrough change, or improve performance.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found