mitmproxy/web/src
user77 3500dacba0
mitmweb: honor view_order_reversed for live flows (#8288)
* mitmweb: honor view_order_reversed for live flows

mitmweb only applied view_order_reversed to the initial flow list it
fetches over HTTP. Flows delivered afterwards over the WebSocket were
always appended to the end of the table, so with the option enabled the
newest flow stayed off-screen at the bottom instead of appearing on top.

Track the option in the flows reducer and, when no column sort is active,
insert newly added flows at the front when view_order_reversed is set and
at the back otherwise. This matches the order the server already uses for
the initial list.

Closes #5520

* [autofix.ci] apply automated fixes

* mitmweb: destructure orderReversed in flows reducer for consistency

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-24 20:28:26 +02:00
..
css Web: Remove FontAwesome dependency (#8236) 2026-06-01 10:39:23 +02:00
images Move mitmweb to Vite (#7971) 2025-11-13 18:05:51 +00:00
js mitmweb: honor view_order_reversed for live flows (#8288) 2026-06-24 20:28:26 +02:00