Skip to content

Move notification for repository sync #12699

@agjohnson

Description

@agjohnson

I didn't see where we implemented a notification for this until I hit the UI myself. It felt like UX that was misplaced. I noted in #7185 this should be moved.

This notification is only relevant if the user is trying to interact with the list of remote repositories, which happens on the project creation page and the project settings page. We should limit this display to those pages so the user isn't interrupted if the warning is not relevant to the user.

I don't think the notification system has granularity to only display on a project create view though, we only have filtering by model instances. Worst case, a toast notification is better, but overall notifications should be last resort when building UI. These notifications are very far removed from the UI that it is actually affecting.

Long term, this feature should more obviously be native UI in the project create page and project settings page. Context data could drive a simple refreshing warning on both, or just show the existing refreshing UI as in progress.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ImprovementMinor improvement to code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions