Automatically group / fold duplicates and recurring events in search results listview widget
Here's a proposal to have some sort of visual grouping/folding feature in GNOME Calendar's search results popover widget. This would serve two types of usecases:
- Related to reducing the amount of irrelevant search results (no point in showing every instance of a recurring event), which may help alleviate #624 and #989.
- Also eventually related to "duplicate" (or I would say, "tandem") events, i.e. #362 when its backend part might be implemented.
The way I see it, combining recurring or duplicated events into one single "folded" result for each would provide a cleaner representation and save tons of screen space for showing actual different results.
This is medium-hard difficulty level. Georges said:
I can think of ways to do that, they're large refactorings of the codebase.
Recurrency is handled by
GcalTimeline
andGcalCalendarMonitor
, which is used by both search and the main window... so we can't simply change how recurrency works in search, as it would affect the main window too. It'd need more internal knobs to fine tune the behaviour.
Ideally it would be beneficial to get mockups how the grouping could visually look like in the search bar (and other areas such as #362). @Teams/Design could have a look at this. Note that it's a "nice to have" feature but not a dealbreaker at this juncture, it's not as strategically urgent as other designs and features (like timezones, meetings, etc.).