Files
profilarr/docs/diagrams/sync-flow.md
Sam Chau ca84a1c95b feature: merge conflict detection and resolution (#6)
- pulls now correctly identify merge conflicts and enter a merge state
- user resolves each file individually
- commit resolve merge state
- allows users to keep custom changes and pull in updates
- improve commit message component
- seperated commit / add functionality
2025-02-05 16:09:58 +10:30

637 B

Profilarr Sync Flow

flowchart TD
    A[User Opens App] --> B[Check Git Status]
    B --> C{Changes Detected?}
    C -->|No Changes| D[Up to Date]
    C -->|Changes Exist| E{Type of Change}
    E -->|Incoming Only| F[Fast Forward Available]
    E -->|Outgoing Only| G[Push Available*]
    E -->|Both| H{Conflicts?}
    H -->|Yes| I[Show Conflict UI]
    H -->|No| J[Auto-merge]
    I --> K[User Resolves]
    K --> L[Apply Resolution]
    L --> M[Update Git State]
    J --> M
    F --> M
    G --> M

    %% Add note about push restrictions
    N[*Push only available for developers<br/>on specific branches]
    N -.- G