mirror of
https://github.com/narrrl/proton-drive-linux.git
synced 2026-11-04 00:47:00 +01:00
feat(gui): activity log redesign
Group the feed by day with a time column and filter chips, fold a conflict logged on every daemon run into one row with a count, and put the conflicts still open in a Needs attention section. Conflict rows open the Sync page's resolve dialog and read as resolved once the copy is gone.
This commit is contained in:
1 parent
f457fa68fc
commit
fe8fb8cdcf
4 files changed
+518
-80
No files matched your search
@@ -586,10 +586,16 @@ fn build_window(app: &adw::Application) {
|
||||
content: activity_widgets.content.clone(),
|
||||
status: activity_widgets.status.clone(),
|
||||
retry: activity_widgets.retry.clone(),
|
||||
group: activity_widgets.group.clone(),
|
||||
rows: RefCell::new(Vec::new()),
|
||||
attention: activity_widgets.attention.clone(),
|
||||
attention_rows: RefCell::new(Vec::new()),
|
||||
days: activity_widgets.days.clone(),
|
||||
inflight: Cell::new(false),
|
||||
key: RefCell::new(None),
|
||||
items: RefCell::new(Vec::new()),
|
||||
filter: Cell::new(ActivityFilter::All),
|
||||
conflicts: RefCell::new(None),
|
||||
conflicts_inflight: Cell::new(false),
|
||||
conflicts_at: Cell::new(None),
|
||||
},
|
||||
takeout: TakeoutState {
|
||||
archives: RefCell::new(Vec::new()),
|
||||
@@ -648,7 +654,7 @@ fn build_window(app: &adw::Application) {
|
||||
wire_shared_by_me(&ui, &shared_by_me_widgets.retry);
|
||||
wire_devices(&ui, &devices_widgets.retry, &devices_widgets.restore);
|
||||
wire_locations(&ui, &locations_widgets.retry, &locations_widgets.add_folder);
|
||||
wire_activity(&ui, &activity_widgets.retry);
|
||||
wire_activity(&ui, &activity_widgets.retry, &activity_widgets.filters);
|
||||
wire_takeout(&ui, &takeout_widgets);
|
||||
wire_refresh(
|
||||
&ui,
|
||||
|
||||
Reference in new issue
Block a user