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

Show a "Page not found" page for unknown URLs

Cerrado Apto para principiantes
#59 8 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@Salypse ya está trabajando en esto.

Desde el 22/10/2026.

  • #60 de @Guilherme-M-Mateus — cerrado sin fusionar
  • #91 de @Salypse — fusionado

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
72/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
javascript, react, tailwindcss
Área
frontend

Línea de trabajo

Empieza por la ruta comodín de client/src/App.jsx y la página Login para seguir el enrutamiento, el hook de autenticación y los estilos de los botones de la aplicación; luego añade la página en client/src/pages/NotFound.jsx. Verifica los dos estados con sesión iniciada y confirma que / y las rutas conocidas enumeradas siguen funcionando como se describe. El trabajo estará terminado cuando las URL desconocidas conserven su dirección y muestren el botón de dashboard o de inicio de sesión correspondiente.

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

Descripción

difficulty: easy enhancement frontend good first issue hacktoberfest
Context

Any URL the app doesn't know (for example /taks) silently redirects to /login. If you're logged in, the Login page then sends you on to the Dashboard. Either way, nobody is told that the page they asked for doesn't exist.

Files likely involved
  • client/src/App.jsx (the <Route path="*"> at the bottom of the routes)
  • New: client/src/pages/NotFound.jsx
Acceptance criteria
  • Unknown URLs show a "Page not found" page instead of redirecting. The URL in the address bar stays as it was.
  • The page has a short message and one button: Go to Dashboard when logged in, Go to Login when logged out (use useAuth()).
  • It matches the app's style (dark background, same fonts and button style as the Login page).
  • / still redirects to /login as it does today.
How to test
  1. Logged out, open http://localhost:3000/nothing-here: the new page shows, with a button to Login.
  2. Log in, then open http://localhost:3000/tasks/oops: the page shows, with a button to the Dashboard.
  3. /, /login, /dashboard, /tasks and /profile all behave as before.

New here? 👋 Good first issues are reserved for people making their first few open-source contributions. Comment below to ask to work on this issue, and wait to be assigned. Then follow CONTRIBUTING.md for setup and how to open a pull request. Questions are welcome in the comments or in Discussions.

Lenguaje dominante
JavaScript
Estrellas
3
Forks
2
Merge medio
9 h 29 min
PR fusionados (30 d)
40

Preparar el entorno

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 KEX-03/taskflow

Todos los issues de KEX-03/taskflow

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.