Commit 718f01d
authored
Der Feed lädt zehn Beiträge, und wie viele es sind, entscheidet das Mitglied (#1998)
Eine Ankunft trug vierzig Karten, von denen zehn im Dokument standen und die
restlichen dreißig der Socket unaufgefordert nachschob. Das automatische
Nachladen ist weg: eine Seite ist jetzt genau das, was gefragt wurde, und alles
Weitere holt der Druck auf "Mehr laden".
Wie lang diese Seite ist, sagt eine neue Voreinstellung (`Vutuv.Prefs`,
`feed_page_size`, voreingestellt 10, bis 250) — dieselbe Zahl für die Ankunft,
jedes Nachladen, einen Quellenwechsel und einen geöffneten Kalendertag, statt
der vier verschiedenen, die hier standen. Eine Karte kostet echte Serverzeit
(am 05.09.2026 auf der Produktion gemessen, verschränktes A/B über je zehn
Abrufe: 188 ms für ein Dokument mit zehn Karten gegen 101 ms für dieselbe Seite
ohne), und abwägen kann das nur, wer beides erlebt: die Wartezeit und die
Knopfdrücke. Zu ändern unter der Zeitleiste selbst und auf der neuen Seite
/settings/feed.
Der Kalendertag verliert dabei seine eigene Hundertergrenze. Sie hat nur für
die Tage zwischen der Seitengröße und hundert etwas bewirkt — und das waren
genau die, für die ein `?day=`-Link 300 bis 850 ms und 1,3 MB kostete; wer den
ganzen Tag will, hat den Knopf dafür weiter darunter.
Diesen Text hat ein KI-Agent in meinem Namen geschrieben. Ich weiß, dass das
problematisch ist.
Claude-Session: https://claude.ai/code/session_01NmkMzEZBiSXhjGiYMtVpfw1 parent 18cdcf1 commit 718f01d
28 files changed
Lines changed: 2421 additions & 1781 deletions
File tree
- .claude/rules
- docs/architecture
- lib
- vutuv_web
- components
- controllers
- live/post_live
- templates/settings
- views
- vutuv
- accounts
- priv
- gettext
- de/LC_MESSAGES
- en/LC_MESSAGES
- it/LC_MESSAGES
- repo/migrations
- test/vutuv_web
- controllers
- live
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | | - | |
380 | | - | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
381 | 383 | | |
382 | 384 | | |
383 | 385 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
31 | 36 | | |
32 | 37 | | |
33 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
343 | 347 | | |
344 | 348 | | |
345 | 349 | | |
| |||
580 | 584 | | |
581 | 585 | | |
582 | 586 | | |
583 | | - | |
| 587 | + | |
584 | 588 | | |
585 | 589 | | |
586 | 590 | | |
| |||
831 | 835 | | |
832 | 836 | | |
833 | 837 | | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
834 | 845 | | |
835 | 846 | | |
836 | 847 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
92 | 115 | | |
93 | 116 | | |
94 | 117 | | |
| |||
188 | 211 | | |
189 | 212 | | |
190 | 213 | | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
191 | 217 | | |
192 | 218 | | |
193 | 219 | | |
| |||
209 | 235 | | |
210 | 236 | | |
211 | 237 | | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
212 | 245 | | |
213 | 246 | | |
214 | 247 | | |
| |||
271 | 304 | | |
272 | 305 | | |
273 | 306 | | |
| 307 | + | |
274 | 308 | | |
275 | 309 | | |
276 | 310 | | |
| |||
493 | 527 | | |
494 | 528 | | |
495 | 529 | | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
496 | 556 | | |
497 | 557 | | |
498 | 558 | | |
| |||
0 commit comments