feat(sync): follow the visit sync on the dashboard

Show the "Syncing with Steam" badge while a visit sync runs, then
reload the sync changes banner and the library.
This commit is contained in:
lobo committed 2026-10-04 19:05:23 +02:00
1 parent 8aa3181c37
commit e5091de50e
6 files changed
+97 -5

No files matched your search

+4
View File
@@ -16,6 +16,10 @@ describe('bannerOf', () => {
expect(bannerOf(result())).toBeNull();
});
it('showsNothingForAnEmptyLoginSync', () => {
expect(bannerOf(result({startedBy: 'LOGIN'}))).toBeNull();
});
it('saysNothingChangedForAnEmptyManualSync', () => {
expect(bannerOf(result({startedBy: 'MANUAL'}))).toEqual({mode: 'nothing'});
});