You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+63Lines changed: 63 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,69 @@ The `PeerListView` uses Ditto's presence observer to provide real-time updates:
54
54
- No manual refresh required
55
55
56
56
57
+
## `PeerSyncStatusView`
58
+
59
+
The `PeerSyncStatusView` provides a real-time interface for monitoring the synchronization status between your device and connected peers in the Ditto mesh network. This tool queries Ditto's internal `system:data_sync_info` collection to display detailed sync session information, helping developers debug data synchronization issues and monitor sync health.
60
+
61
+
### Usage
62
+
63
+
The `PeerSyncStatusView` can be used as a standalone widget in your Flutter application:
-**Error Handling**: Gracefully handles cases where sync data is unavailable
119
+
57
120
## `DiskUsageView`
58
121
59
122
The `DiskUsageView` provides a comprehensive interface for monitoring Ditto database disk usage and exporting data for debugging or backup purposes. This tool helps developers understand storage consumption and provides convenient export functionality for both database files and logs.
│ └── main_list_view.dart # Main navigation interface
141
183
├── android/ # Android platform files
142
184
├── ios/ # iOS platform files
143
185
├── macos/ # macOS platform files
144
186
├── web/ # Web platform files
145
187
└── pubspec.yaml # Dependencies
146
188
```
147
189
190
+
## Routing Architecture
191
+
192
+
This app uses [Beamer](https://pub.dev/packages/beamer) for navigation, providing a clean and maintainable routing system. All routes are centrally defined to avoid magic strings and ensure consistency.
193
+
194
+
### Route Management
195
+
196
+
Routes are defined in `lib/constants/routes.dart` using top-level constants:
197
+
198
+
```dart
199
+
// Route constants - centralized location for all app routes
0 commit comments