Jump back to prior pause #3885
Replies: 6 comments 6 replies
-
From @Andarist
|
Beta Was this translation helpful? Give feedback.
-
I wonder what we can do with comments to make them easier to bookmark interesting spots too. |
Beta Was this translation helpful? Give feedback.
-
I like all of this. There's no question that part of being in flow is jumping across multiple locations, so having some quick way to traverse back could be huge. And the editable breakpoints idea is interesting. I would have thought that knowing the exact hitpoint out of 20 isn't particularly common, but you're saying sometimes it's helpful? If so, yeah, I think that sounds great. |
Beta Was this translation helpful? Give feedback.
-
March 15, 2022: In the broad bucket of "it should be easier to jump around" we're doing a lot of little improvements. Just flagging that this is a discussion point that fits into that bucket. |
Beta Was this translation helpful? Give feedback.
-
Hello! This issue has a pending PR so I want to summarise it for everyone. Paging @Andarist ! -- The original insight: it's hard to distinguish print statements@Andarist pointed out that "in the console we get all the logpoints for a given line - but its hard to distinguish between them." There are a lot of ways to handle this, but that's the core insight. 1. Implementation idea: control-Z to "undo" and jump back Anderist pointed out the flaw of this: "Cmd+z idea partially addresses this - but it's not always the last pause point that i want." He reiterates that the issue is having lots of logs and not knowing how to get to the right one. 2. Implementation idea: allow jumping directly to a hit via an editable textfield We did this about a month ago, yay! 3. Implementation idea: optionally show counter labels in the console Anderist also said: "Another idea to solve this and some other minor issues - expose smth like $replay.hitCounter. " We explored this in this PR. Design recommendationCmd-z is not recommended Command-Z means "undo." If you type something in the console, then type something into the filter, then rename the Replay, command-Z will back out every one of those changes, which is a standard pattern in modern software. If we use command-Z, we'd need it to work seamlessly with standard command-Z behaviour. I don't recommend it. Option + right/left arrow is not recommended Option + modifier key is also a reserved action. On Mac, it jumps someone forward a word at a time in any text area. This means any time our cursor is in a textfield or text area, we'll be working against the grain of how textfields work in all modern software. Command-[ can work Command-[ is what browsers have always used to mean "go backward," which makes it a compelling choice. This means we'll be working against the grain of every keyboard shortcut-using browser user because we're suppressing core system functionality. (e.g if you come from stack overflow to replay, then press command-[, nothing will happen and that will be confusing to some people.) But in the gray area of web apps, that's a reasonable tradeoff. |
Beta Was this translation helpful? Give feedback.
-
Hey Everyone! The pending pr was opened by me. That's why I feel, it's my responsibility to complete it. Here's my suggestion that I would like to propose. Implementation Idea: ( its a combination of Implementation 2 and 3 )
|
Beta Was this translation helpful? Give feedback.
-
Users should be able to press cmd-z and jump back to the last pause location.
Beta Was this translation helpful? Give feedback.
All reactions