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

Remove workspace specific views #153513

Closed
3 of 4 tasks
sandy081 opened this issue Jun 28, 2022 · 9 comments
Closed
3 of 4 tasks

Remove workspace specific views #153513

sandy081 opened this issue Jun 28, 2022 · 9 comments
Assignees
Labels
debt Code quality issues *out-of-scope Posted issue is not in scope of VS Code workbench-views Workbench view issues

Comments

@sandy081
Copy link
Member

sandy081 commented Jun 28, 2022

Workspace specific views are so confusing that currently toggling the visibility of these views are same as for other views. We can either introduce UI gesture mentioning that toggle the view for this workspace or change these views as other views. Currently we have following workspace specific views:

readonly workspace?: boolean;

Can you please validate your views and let me know if these views need to be workspace scoped or not. If there is no need for workspace scope then I would like to remove this property.

@sandy081 sandy081 added debt Code quality issues workbench-views Workbench view issues labels Jun 28, 2022
@sandy081 sandy081 added this to the July 2022 milestone Jun 28, 2022
@sandy081 sandy081 self-assigned this Jun 28, 2022
@lszomoru lszomoru self-assigned this Jun 28, 2022
@sandy081
Copy link
Member Author

sandy081 commented Jul 4, 2022

@connor4312 I do not see a reason why Test Explorer has to be a workspace specific view and it is expected that if I hide this view, the visibility shall be stored across workspaces just like other views. So, I would go ahead and remove this as workspace view.

@lszomoru lszomoru modified the milestones: July 2022, June 2022 Jul 4, 2022
@connor4312 connor4312 self-assigned this Jul 5, 2022
@connor4312 connor4312 removed their assignment Jul 5, 2022
@alexr00
Copy link
Member

alexr00 commented Jul 25, 2022

Discussed this a few weeks ago. Remote Explorer views and Ports view should be fine to make non-workspace.

@alexr00
Copy link
Member

alexr00 commented Jul 25, 2022

Actually, looking further, Remote Explorer is intentionally workspace to prevent #112200

@alexr00
Copy link
Member

alexr00 commented Jul 25, 2022

I will still remove workspace from the Ports view, but it is needed for views in Remote Explorer.

alexr00 added a commit that referenced this issue Jul 25, 2022
alexr00 added a commit that referenced this issue Jul 25, 2022
@sandy081
Copy link
Member Author

but it is needed for views in Remote Explorer.

@alexr00 May I know the exact purpose in the remote explorer?

@alexr00
Copy link
Member

alexr00 commented Jul 27, 2022

Yes, it fixes #112200. Without workspace specific views, you can end up with incorrect Remote Explorer views showing when you have multiple windows open.

@sandy081
Copy link
Member Author

@alexr00 But I am under the impression that visibility of the remote views is controlled by the remote viewlet. If so, I am wondering how does the visibility state matters. To summarise, the question is how does the remote viewlet depends on the visibility state of the views?

@alexr00
Copy link
Member

alexr00 commented Aug 25, 2022

@sandy081 if I recall correctly it is because the view visibility state is synced across windows. Example:

  1. Open window 1 and connect to a WSL remote.
  2. Remote explorer in window 1 shows only WSL related views in the remote explorer.
  3. Open window 2 and open the remote explorer. Use the remote explorer drop down to pick SSH. Window 2 now shows SSH views in the remote explorer.
  4. If the remote explorer doesn't use workspace specific views, then the SSH view visibility state gets synced across windows.
  5. Go back to window 1. It will now, incorrectly, show SSH views in the remote explorer.

@sandy081 sandy081 removed this from the August 2022 milestone Aug 25, 2022
@sandy081 sandy081 added this to the September 2022 milestone Aug 25, 2022
@sandy081 sandy081 modified the milestones: September 2022, October 2022 Sep 27, 2022
@alexr00 alexr00 modified the milestones: October 2022, November 2022 Oct 21, 2022
@alexr00 alexr00 modified the milestones: November 2022, Backlog Nov 22, 2022
@sandy081 sandy081 added the *out-of-scope Posted issue is not in scope of VS Code label Jan 10, 2024
@VSCodeTriageBot
Copy link
Collaborator

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.

If you wonder what we are up to, please see our roadmap and issue reporting guidelines.

Thanks for your understanding, and happy coding!

@VSCodeTriageBot VSCodeTriageBot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
debt Code quality issues *out-of-scope Posted issue is not in scope of VS Code workbench-views Workbench view issues
Projects
None yet
Development

No branches or pull requests

6 participants