Add a line in the activity bar between Positron icons and extension icons

Abierto
#17,518 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
45/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript
Área
frontend

Línea de trabajo

Start with the activity bar and the view container (view group) registration, and find where the icon order is decided. Work behind the workbench.experimental.uiRevamp flag. Done when a separator sits between Positron's built-in and Posit extension icons and other extensions' icons, and no icon is hidden. Confirm the drag-across-separator behavior with maintainers first, since it is an open question.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

area: ui usability

Part of #17419. Behind workbench.experimental.uiRevamp.

Terms

  • Primary side bar: the side bar on the left of the window.
  • Activity bar: the column of icons beside the primary side bar.
  • View group: one or more views that open together, like Explorer or Source Control. Each view group in the primary side bar has one icon in the activity bar. VS Code calls a view group a view container.

Summary

Add a separator line to the activity bar. Icons for view groups built into Positron sit above the separator line. Icons for view groups that extensions add sit below the separator line.

Why

The activity bar mixes icons for Positron's own view groups with icons for view groups from extensions, in one list. The list gets longer with every extension a user installs. Nothing tells the user which icons are part of Positron and which icons came from an extension. Users who want fewer icons today have to hide icons one by one, which can hide features the user needs later.

A separator line keeps every icon where users can reach it, and makes a long activity bar easier to scan.

Proposed behavior

  • A horizontal separator line in the activity bar divides the icons into two sets.
  • Above the separator line: icons for view groups that are part of Positron. That covers view groups built into Positron, such as Explorer, Search, Source Control, Run and Debug, Data Connections, Packages, and Extensions. It also covers view groups from Posit's own extensions, such as Posit Publisher and Posit Assistant.
  • Below the separator line: icons for view groups that other extensions add, such as GitHub Pull Requests.
  • When the user installs an extension that adds a view group, the new icon goes below the separator line. Posit's own extensions are the exception, and their icons go above the separator line.
  • When the activity bar is at the top of the window, the separator line is vertical.
  • The user can drag an icon across the separator line.
  • Only the activity bar gets a separator line. The tabs in the secondary side bar and the bottom panel do not.
  • This change does not hide or remove any icon.

Open questions

  • When the user drags an icon across the separator line, does the separator line move, or does the icon join the other set? This is a technical question to answer during implementation.
Lenguaje dominante
TypeScript
Estrellas
4.4k
Forks
207
Merge medio
1 d 7 h
PR fusionados (30 d)
341

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de posit-dev/positron

Todos los issues de posit-dev/positron

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.