Open Bug 1620701 Opened 4 years ago Updated 2 years ago

Label the instant eval preview area and point to the pref

Categories

(DevTools :: Console, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: Harald, Unassigned)

References

(Blocks 1 open bug)

Details

User Story

When hitting issues with instant eval, I want to be able to find out how this feature is called and where the setting is, so that I can disable it.

When looking for enabling/disabling the feature, I want to find a name feature I can recognize, so that I can toggle the right pref.

Draft tooltip for the instant eval area. I am open for other ideas:

"Instant evaluation previews the result of the current console expression without side-effects. Enabled/disable in Console settings."

r? on the wording for the tooltip.

Flags: needinfo?(victoria)

Ah, good idea!

Might be a bit more clear to say:

Instant Evaluation shows the the result of the current expression without side effects. Enable/disable in Console settings.

Will most people know what "side effects" means here?

Chrome's docs say "DevTools does not eager evaluate if the expression causes side effects." Is ours different in that it does evaluate expressions with side effects, but does not evaluate the side effects themselves?

Flags: needinfo?(victoria) → needinfo?(hkirschner)

Trying this one to use side-effect-free (https://www.google.com/search?q=side-effect-free) in closer relation to the expression:

Instant evaluation shows the result of side-effect-free JavaScript expressions while you type. Enabled/disable in Console settings.

Flags: needinfo?(hkirschner)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.