CCExtractor / CCExtractor/taskwarrior-flutter
Update api_service to use WebSockets
- Lenguaje dominante
- Dart
- Estrellas
- 244
- Forks
- 179
- Merge medio
- 12 h 42 min
- PR fusionados (30 d)
- 2
Descripción
### Describe your improvement idea or feature request
The new JobQueue system in CCSync does not directly tell the status of the Job or its response, but uses a WebSocket instead.
Integrate this to the `api_service.dart` using [web sockets library in Flutter](https://pub.dev/packages/web_socket_channel).
### How would you like to see it implemented?
1. The user adds/deletes/marks as completed, deleted just like earlier, but
2. Websocket is used to get the message/status and shows the relevant Snackbar
Similar to [this](https://github.com/CCExtractor/ccsync/pull/71)
### Put here any screenshots or videos (optional)
_No response_
### How can we contact you (optional)
Github/Slack
### Would you like to work on this issue?
None
### By submitting this issue, I have confirmed that:
- [X] I have starred the repo ⭐ and watched 👀 it on GitHub and followed the contribution guidelines.
Guía de contribución
Línea de trabajo
Lee api_service.dart y compara el flujo de WebSocket propuesto con el pull request #71, utilizando la biblioteca web_socket_channel referenciada en la issue. Verifica que las acciones add, delete y complete sigan funcionando y que el estado de JobQueue o los mensajes de respuesta produzcan la Snackbar correspondiente.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- dart, flutter
- Área
- api, mobile
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100