From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id C9A572018A for ; Thu, 30 Jun 2016 09:21:46 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/13] www: hybrid flat+thread conversation view Date: Thu, 30 Jun 2016 09:21:30 +0000 Message-Id: <20160630092143.31651-1-e@80x24.org> List-Id: I've been long-dreaming of this and finally it's at least publishable (I hope :x). This flat view with thread skeletons is 100% more usable than the dumb old one, but a little slower (naturally :<) I was originally hoping to remove the threaded /t/ endpoint conversation view entirely to reduce server/caching overheads but I still find it more usable in some situations. What I still enjoy is being able to toggle between [flat|threaded] views. Eric Wong (13): www: implement hybrid flat+thread conversation view www: use WwwStream for dumping thread and search views view: show thread context in the thread-aware flat view view: merge $state hash with existing $ctx feed: add $INBOX/new.html endpoint view: tweak thread/index header slightly view: show more nearby messages in flat thread view www: reinstate old thread view as an option view: fix up some HTML injection via Message-ID vectors view: default to flat/hybrid thread display view: show thread size when linking to summary view: fixup bad reference to new_msgid www_stream: add response wrapper sub TODO | 2 - lib/PublicInbox/Feed.pm | 51 +++- lib/PublicInbox/SearchView.pm | 141 +++++----- lib/PublicInbox/View.pm | 590 +++++++++++++++++++++++------------------- lib/PublicInbox/WWW.pm | 22 +- lib/PublicInbox/WwwStream.pm | 20 +- t/view.t | 3 +- 7 files changed, 464 insertions(+), 365 deletions(-)