Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Buttons of forms come in two orders; use cancel first, main action last everywhere

Abierto
#647 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

@guidol-ive ya está trabajando en esto.

Desde el 28/10/2026.

  • #648 de @guidol-ive — abierto

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
20/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Estancado
Stack tecnológico
javascript, php
Área
design, frontend

Línea de trabajo

Read text.php, festival.php, and mailinglist.php to locate the edit text, festival settings, and mailing list edit forms. Compare their button order with the stated convention, then place cancel before the main action in each remaining form. The issue links open PR #648, so check its changes to see whether this work is already underway.

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

Descripción

Component: User interface Impact: Low Level: Easy Type: Bug Value: Users

Problem

The buttons of a form come in two orders, depending on the screen.

Main action first, then cancel Cancel first, then the main action
Edit text page (text.php) Translate text page (text.php)
Festival settings (festival.php) All settings screens (settings.php, 9 places)
Edit mailing list (mailinglist.php) Mailing list addresses and mailing (mailinglist.php)
Login popup (users.php) Edit article, moderate comment (peer_reviewed_article.php)
Recover account popup (users.php) New page popup (pages.php)

So a user who clicks the button in the usual place sometimes cancels instead of saving.

The recover account popup also looks different from the login popup: a table with unstyled browser buttons instead of the login-wrapper with class="button".

Choice

One order everywhere: cancel (or back) first, the main action last. A destructive action, such as delete, goes before cancel.

  • This is the order of the Apple Human Interface Guidelines and of Material Design for dialogs and forms. The design of the Markdown editor (#520) refers to the Apple HIG and its dialogs already use this order.
  • Most screens of Hypha already follow it (settings, translate, article, new page).
  • Themes put the buttons in document order (the default theme does not float them), so the order in the code is the order on screen.

Fix

  • text.php (edit), festival.php (settings) and mailinglist.php (edit): cancel before save.
  • The login form: cancel before log in. Done in PR #646, which reworks that form.
  • Recover account: the layout of the login form, with cancel first. Done in PR #644, which reworks that popup.
Lenguaje dominante
JavaScript
Estrellas
5
Forks
9
Merge medio
18 h 49 min
PR fusionados (30 d)
13

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

  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 PlanBCode/hypha

Todos los issues de PlanBCode/hypha

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.