Skip to content

feat: Redesign Sync Monitor and Enforce Provider Configs#155

Merged
hendripermana merged 2 commits into
mainfrom
feature/sync-monitor-redesign
May 27, 2026
Merged

feat: Redesign Sync Monitor and Enforce Provider Configs#155
hendripermana merged 2 commits into
mainfrom
feature/sync-monitor-redesign

Conversation

@hendripermana
Copy link
Copy Markdown
Owner

Description

This PR implements visual improvements and functional enhancements for the Sync Monitor and Provider configurations.

Key Changes

  • Sync Monitor Redesign: Updated the layout and aesthetics to strictly follow the DESIGN.md guidelines.
    • Restructured into a clean section-card pattern.
    • Implemented large pill-rounded geometry (rounded-[24px]) for summary cards.
    • Changed text status indicators into colored pill badges (e.g. badge-positive, badge-negative).
    • Standardized buttons with pill shapes.
    • Removed Tailwind's divide-y to fix a 1px layout jitter bug during hover states, falling back to explicit borders.
  • Provider Credentials Enforcement: Implemented logic so that if a provider (Plaid, Lunchflow, SimpleFIN) lacks valid credentials, the user cannot enable the connection. If toggled on, it will automatically toggle off if unconfigured.
  • Improved Controller Logic: SyncMonitorsController#show now reliably lists only the latest status for each target instead of a messy raw history, using PostgreSQL's DISTINCT ON.

Validation

  • Brakeman shows 0 security vulnerabilities.
  • Controller and Model tests pass successfully.

@hendripermana hendripermana merged commit a341c34 into main May 27, 2026
5 checks passed
@hendripermana hendripermana deleted the feature/sync-monitor-redesign branch May 27, 2026 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant