Commit 5f12431
feat: show additional rooms in notes when deduplicating calendar events (#210)
* Initial plan
* feat: add additional rooms to notes when events are deduplicated
When the same lecture has multiple duplicate calendar entries with
different room locations (same summary and start time), the deduplication
now preserves the additional room information by including them in the
event's description/notes field.
The format is:
Additional rooms:
<room1>
<room2>
<original description>
Co-authored-by: kordianbruck <[email protected]>
* refactor: prevent duplicate room names in additional rooms list
Use a map to track seen locations and prevent duplicates from appearing
in the additional rooms section of the description.
Co-authored-by: kordianbruck <[email protected]>
* Add missing argument.
---------
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: kordianbruck <[email protected]>
Co-authored-by: Kordian Bruck <[email protected]>
Co-authored-by: Kordian Bruck <[email protected]>1 parent 44b1ac2 commit 5f12431
2 files changed
+58
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
281 | | - | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
282 | 300 | | |
283 | 301 | | |
284 | 302 | | |
| |||
300 | 318 | | |
301 | 319 | | |
302 | 320 | | |
303 | | - | |
304 | | - | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
305 | 340 | | |
306 | 341 | | |
307 | 342 | | |
| |||
342 | 377 | | |
343 | 378 | | |
344 | 379 | | |
345 | | - | |
| 380 | + | |
346 | 381 | | |
347 | 382 | | |
348 | 383 | | |
| |||
388 | 423 | | |
389 | 424 | | |
390 | 425 | | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
391 | 432 | | |
392 | 433 | | |
393 | 434 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
72 | 83 | | |
73 | 84 | | |
74 | 85 | | |
| |||
94 | 105 | | |
95 | 106 | | |
96 | 107 | | |
97 | | - | |
| 108 | + | |
98 | 109 | | |
99 | 110 | | |
100 | 111 | | |
| |||
153 | 164 | | |
154 | 165 | | |
155 | 166 | | |
156 | | - | |
| 167 | + | |
157 | 168 | | |
158 | 169 | | |
159 | 170 | | |
| |||
0 commit comments