[TECHNICAL] Clean-up `GraphShareFragment`

Abierto
#5,053 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
58/100
Tipo de issue
Refactorización
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
android, kotlin
Área
mobile

Línea de trabajo

Read GraphShareFragment and SpaceMembersFragment to locate the four named removal handlers and their confirmation dialogs. Reorder GraphShareFragment so overrides precede private functions, then extract a helper both fragments can reuse. Done when the duplicated dialog is shared and the refactor causes no behavior change.

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

Descripción

Contributions are welcome Technical
Description

In GraphShareFragment override and private functions are currently interleaved.

  1. Reorder the class so all override functions come first, followed by all private fun functions.
  2. onRemoveShare and onRemovePublicLink build an identical confirmation AlertDialog, differing only in title, message, and action. The same duplicated dialog also exists in SpaceMembersFragment (onRemoveMember and onRemovePublicLink). Extract a shared helper reused by both fragments.

No behavior change — pure refactor

Lenguaje dominante
Kotlin
Estrellas
4.2k
Forks
3.1k
Merge medio
3 d 9 h
PR fusionados (30 d)
16

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 owncloud/android

Todos los issues de owncloud/android

Issues similares

Más issues de Kotlin

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.