rubyforgood / rubyforgood/skillrx-beacon

Sync Status Dashboard (Local) and manual control

Open
#30 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

cross-app sync
Dominant language
HTML
Stars
4
Forks
0
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the admin UI entry point and the ManifestChecker, ContentSyncJob, and SyncProgress records named in the issue. Confirm how sync status, manifest versions, counts, storage usage, and history are exposed, then verify that the dashboard controls trigger the requested operations and display current results; cancellation may be handled separately.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, rails, ruby
Domain
backend, database, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.