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

Improve the interaction for 'viewed files' in the Changes View #3287

Closed
egamma opened this issue Feb 2, 2022 · 5 comments · Fixed by #3326
Closed

Improve the interaction for 'viewed files' in the Changes View #3287

egamma opened this issue Feb 2, 2022 · 5 comments · Fixed by #3326
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug on-testplan polish
Milestone

Comments

@egamma
Copy link
Member

egamma commented Feb 2, 2022

Toggling the viewed state for a file in the Changes view is not intuitive:

image

After clicking the 'checked' inline action, the toggle action moves around and is replaced with very different icon.
image

@miguelsolorio
Copy link
Contributor

Also worth pointing out that we use a mixture of checks, would be nice to consolidate/make it a bit more consistent:

@alexr00 alexr00 added bug Issue identified by VS Code Team member as probable bug polish labels Feb 3, 2022
@lychung7
Copy link

Below we changed the toggle icons to checks and filled checks, and we also introduced color state changes. For accessibility reasons and for those who have colors turned off, we kept the check label next to the Modified label. To address Miguel's point on consistency, we are using the same check as the one in front of the pull request name in the screenshot he shared.

Screen.Recording.2022-02-15.at.8.46.21.AM.mov

@miguelsolorio
Copy link
Contributor

Love how clear the checks are, it would be nice if the position of the icons could stay the same so it could be an easy "toggle" which makes me wonder if we can find a decorator for "not yet reviewed" so the position stays consistent?

@alexr00
Copy link
Member

alexr00 commented Feb 16, 2022

What if we swap the "git" decoration (M, D, A, etc.) for the check?
Recording 2022-02-16 at 12 48 06

I've also changed the order of the buttons so that the "mark as viewed" button is closer to the decoration that changes.

@lychung7
Copy link

@misolori we had also explored an indicator next to the file name for when the file hasn't been marked as viewed yet. Although the dot is used in other scenarios in list views. I think what @alexr00 suggested for swapping could also be a good idea! Users might not need to see the git decorations after they mark them as viewed.

Screen.Recording.2022-02-16.at.7.51.27.AM.mov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug on-testplan polish
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants