List for cgit developers and users
 help / color / mirror / Atom feed
From: John Keeping <john@metanate.com>
To: Graham Perrin <grahamperrin@freebsd.org>
Cc: cgit@lists.zx2c4.com
Subject: Re: Greater use of the HTML title (for tabs and title bars) in cgit
Date: Sun, 6 Nov 2022 12:44:26 +0000	[thread overview]
Message-ID: <Y2esKjPPoorPHnps@donbot> (raw)
In-Reply-To: <4769ecda-d23b-65a4-132e-a2a0d8e26f13@freebsd.org>

Hi Graham,

On Sun, Nov 06, 2022 at 11:01:25AM +0000, Graham Perrin wrote:
> <https://lists.zx2c4.com/pipermail/cgit/2016-June/003088.html> for 1.0
> included:
> 
> > * Show reverse paths in title bar so that browser tab shows filename.
> 
> Please, are there plans to broaden/refine use of titles?

There are no plans - but patches are welcome :-)

> Early thoughts (with examples):
> 
> The title of <https://cgit.freebsd.org/src/commit/?id=a1017358b35e81ce2057ebf06d00b83cdb7f9ac9>
> could show:
> 
> * part of the first (summary) line of the message, abbreviated … if more
> than fifty characters

This seems useful and is probably easy to add.

> * the branch (not main)

Git commits are not associated with a branch, so unless we have an h=...
query argument I don't see any way to derive the correct value to
display for a branch.


Regards,
John

  reply	other threads:[~2022-11-06 12:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-06 11:01 Graham Perrin
2022-11-06 12:44 ` John Keeping [this message]
2022-11-06 13:53   ` Gianni Ceccarelli
2022-11-06 14:06 ` june

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Y2esKjPPoorPHnps@donbot \
    --to=john@metanate.com \
    --cc=cgit@lists.zx2c4.com \
    --cc=grahamperrin@freebsd.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).