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

Timeline pin state #94092

Closed
kieferrm opened this issue Apr 1, 2020 · 6 comments
Closed

Timeline pin state #94092

kieferrm opened this issue Apr 1, 2020 · 6 comments
Assignees
Labels
timeline Timeline view issues verification-needed Verification of issue is requested verified Verification succeeded
Milestone

Comments

@kieferrm
Copy link
Member

kieferrm commented Apr 1, 2020

Issue Type: Feature Request

Testing #93819

Related to #94091.

  1. Open a timeline from a file in the explorer
  2. Hover over the timeline titlebar
    -> you see

image

The unpin icon has a couple of issues:
-> The action icon indicates the current state: "I don't follow the active editor" rather than the action it represents.
-> The eye icon to me is not obvious. I have to use it to figure out what it's doing.

I propose we explore using the concept of "pinning" with an appropriate visual presentation.

VS Code version: Code - Insiders 1.44.0-insider (d7d1147, 2020-03-31T08:22:34.682Z)
OS version: Darwin x64 18.7.0
Remote OS version: Linux x64 5.0.0-1022-azure
Remote OS version: Linux x64 5.0.0-1022-azure

@miguelsolorio
Copy link
Contributor

Funny, I also filed #94049 today and agree

@eamodio
Copy link
Contributor

eamodio commented Apr 1, 2020

I'm a little concerned with using the "pinned" metaphor, as I would expect "pinning" a view, would stop the view from collapsing or something along those lines. I feel like what you are doing is tracking or following -- and we use the follow terminology with the Outline view -- "Follow Cursor"

Visual Studio use the "Track" terminology -- they have a "Track Active Item in Solution Explorer" setting

@eamodio eamodio added timeline Timeline view issues under-discussion Issue is under discussion for relevance, priority, approach labels Apr 1, 2020
@miguelsolorio
Copy link
Contributor

The action Toggle Active Editor Following is really oddly phrased, especially since the "follow" concept is really new to the editor. Follow Cursor is different because as you move your cursor the view gets updated. That is not the case in the timeline view because the view doesn't change at all. The action basically means "Stay here and don't move/change", and that resembles the "pinned" metaphor more. I'd almost argue that the "follow" metaphor contradicts the Outline view because it doesn't follow you wherever you go, which is what that actual word means.

I think something like "Pin Active Editor" feels more appropriate.

@eamodio
Copy link
Contributor

eamodio commented Apr 3, 2020

I'm confused -- this is very similar to the Follow Cursor of the Outline view -- just less granular, instead of following the cursor position exactly it is following the cursor focus. And the view will update automatically as focus changes, just like the Outline does when the cursor and/or focus changes.

eamodio pushed a commit that referenced this issue Apr 3, 2020
eamodio pushed a commit that referenced this issue Apr 3, 2020
eamodio pushed a commit that referenced this issue Apr 3, 2020
eamodio pushed a commit that referenced this issue Apr 3, 2020
@eamodio
Copy link
Contributor

eamodio commented Apr 3, 2020

If we do decide to switch to a "pin" metaphor we will need a pin/unpin icon -- we currently only have 1

@miguelsolorio
Copy link
Contributor

We can certainly create a new "pin" and "unpin" icon. I think this comes down whether that's the direction we want to head towards (which I'm personally in favor of doing).

@eamodio eamodio removed the under-discussion Issue is under discussion for relevance, priority, approach label Apr 15, 2020
@eamodio eamodio added this to the April 2020 milestone Apr 15, 2020
@eamodio eamodio closed this as completed Apr 15, 2020
@miguelsolorio miguelsolorio added the verification-needed Verification of issue is requested label Apr 27, 2020
@JacksonKearl JacksonKearl added the verified Verification succeeded label Apr 29, 2020
@github-actions github-actions bot locked and limited conversation to collaborators May 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
timeline Timeline view issues verification-needed Verification of issue is requested verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

4 participants