From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id B61D81F463 for ; Thu, 19 Dec 2019 05:18:01 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/2] improve "&x=t" search results Date: Thu, 19 Dec 2019 05:17:59 +0000 Message-Id: <20191219051801.31310-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: We weren't using SearchThread::thread correctly in SearchView, so make accept SearchThread::thread the WWW $ctx arg, instead (future changes along those lines on the horizon). We now show the percentage relevance in the thread skeleton. This is not bringing us closer to "mairix -t", yet. But it could be expanded into something in-between "mairix -t" behavior and regular "mairix" behavior. Eric Wong (2): searchthread: fix usage of user-supplied parameter view: show percentage in search results thread skeleton lib/PublicInbox/SearchThread.pm | 8 +++++--- lib/PublicInbox/SearchView.pm | 2 +- lib/PublicInbox/View.pm | 23 ++++++++++++++++------- t/psgi_v2.t | 2 +- 4 files changed, 23 insertions(+), 12 deletions(-)