Sync Status Dashboard (Local) and manual control

未关闭
#30 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
30/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
html, rails, ruby

调研方向

首先追踪管理 UI 的入口点,以及 issue 中提到的 ManifestChecker、ContentSyncJob 和 SyncProgress 记录。确认同步状态、清单版本、计数、存储使用情况和历史记录是如何暴露的,然后验证 dashboard 控件是否会触发所请求的操作并显示当前结果;取消操作可以单独处理。

由索引模型根据 Issue 内容生成。

描述

cross-app sync

Display sync status in Clinical Edge admin UI

  • Show current sync status with progress bar
  • Display manifest versions: current vs latest <---- we may have difference only before sync process
  • Show last successful sync timestamp
  • Display content summary:
    • Providers count: ContentProvider.count
    • Topics count: Topic.count
    • Files count: TopicFile.count
    • Total size: TopicFile.sum(:file_size)
  • Show ActiveStorage disk usage: ActiveStorage::Blob.sum(:byte_size)

UI controls for sync operations

  • "Check for Updates" button → triggers ManifestChecker
  • "Sync Now" button → enqueues ContentSyncJob
  • "Cancel Sync" button → sets cancellation flag, job checks and aborts <----- could be a separate task
  • Display sync log/history from SyncProgress records
主要语言
HTML
星标
4
派生
0
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

rubyforgood/skillrx-beacon 的其他 Issue

查看 rubyforgood/skillrx-beacon 的全部 Issue

相似的 Issue

更多 Backend & API Design Issue

把新 issue 发到你的邮箱

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