CCExtractor / CCExtractor/taskwarrior-flutter

Update api_service to use WebSockets

未关闭
#434 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Dart
星标
244
派生
179
平均合并
12 小时 42 分钟
30 天内合并 PR
2

描述

### 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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。