The bars show fullscreen only where it works, and name every control
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- Medio día
- Aptitud para principiantes
- 70/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- accessibility, frontend
Línea de trabajo
Start with the fullscreen button in src/deck-engine/DeckChromeViewer.tsx and DeckChromePresenter.tsx, then the isFullscreen initial value in DeckController.tsx. Hide the button when document.fullscreenEnabled is false, add aria-label={EXIT_DECK_LABEL} to the presenter's Exit button, and move the compact bar's ✕ and chevron sizes into named constants in viewerBarLayout.ts. Done when a wide browser without the Fullscreen API shows no fullscreen button, and the engine's tests pass.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Why
There are three small gaps in the bars.
- Fullscreen.
src/deck-engine/DeckChromeViewer.tsxandDeckChromePresenter.tsxdraw the fullscreen button at every non-compact width, even in a browser with no Fullscreen API (document.fullscreenEnabledis false, as on an iPhone held in landscape). There the button does nothing, which reads as broken.DeckController.tsxalso startsisFullscreenatfalse, even when the page is already fullscreen. - Names. The presenter bar's Exit button has no
aria-label, unlike the viewer's, which usesEXIT_DECK_LABEL. - Glyph sizes. On the compact bar, Exit's ✕ and the chevrons share one 20px size. Exit is the control most often reached for in a hurry; a slightly larger ✕ (22px) and slightly smaller chevrons (18px) make it easier to find.
What changes
- Both bars render the fullscreen button only when
document.fullscreenEnabledis true, checked once. isFullscreenstarts from!!document.fullscreenElement.- The presenter's Exit gets
aria-label={EXIT_DECK_LABEL}. - On the compact bar, Exit's ✕ is 22px and the chevrons are 18px, each as a named constant beside the bar's other sizes in
viewerBarLayout.ts.
Done when
- At a wide width, a browser without the Fullscreen API shows no fullscreen button, and F does nothing.
- Every presenter-bar button has an accessible name.
- The engine's tests pass.
Out of scope
- The presenter's previous and next glyphs, which issue 18 covers.
- Any layout change.
- Lenguaje dominante
- TypeScript
- Estrellas
- 1
- Forks
- 0
- Merge medio
- 30 min
- PR fusionados (30 d)
- 9
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de johnfrog76/connected-deck
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
johnfrog76/connected-deck#21 ·
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
johnfrog76/connected-deck#19 ·
-
enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
johnfrog76/connected-deck#18 · 3 comentarios ·
-
The in-deck settings sheet is the form's tight variant: mode names on one line, a small drawerAbiertoenhancement
Dificultad 3/5 1-2 días Aptitud para principiantes 70/100
johnfrog76/connected-deck#23 ·
-
enhancement
Dificultad 3/5 Medio día Aptitud para principiantes 66/100
johnfrog76/connected-deck#20 ·
Todos los issues de johnfrog76/connected-deck
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
-
bug needs triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
DSpace/dspace-angular#6511 ·
Los mantenedores suelen responder en 1 día
-
area: frontend area:byok bug severity:low
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
Phone app shows Unknown for a remote machine whose key changedPosiblemente ocupada @janicduplessis la tomó hoy. Abiertoarea: mobile priority: P3 type: bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
appandflow/stim#5006 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Area - Local to Cloud Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
microsoft/vscode-mssql#23209 ·
Los mantenedores suelen responder en 1 día