git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] gitweb: bugfix: a.list formatting regression

From
Junio C Hamano <junkio@cox.net>
Date
Aug 22, 2006, 22:34 UTC
Message-ID
<7vr6z8mmb7.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<11562409683011-git-send-email-jnareb@git.vger.kernel.org>
Jakub Narebski <jnareb@git.vger.kernel.org> writes:
Show 19 quoted lines
> From: Jakub Narebski <jnareb@gmail.com>
>
> Fix regression introduced by
> commit 17d07443188909ef5f8b8c24043cb6d9fef51bca.
>
> "a.list" being "bold", makes a myriad of things shown by
> gitweb in bold font-weight, which is a regression from
> pre-17d07443188909ef5f8b8c24043cb6d9fef51bca behavior.
>
> The fix is to add "subject" class and use this class
> to replace pre-format_subject_html formatting of subject
> (comment) via using (or not) <b>...</b> element. This
> should go back to the pre-17d0744318... style.
>
> Regression noticed by Luben Tuikov.
>
> Signed-off-by: Jakub Narebski <jnareb@gmail.com>
> Signed-off-by: Luben Tuikov <ltuikov@yahoo.com>
> ---

I haven't seen an Ack from Luben for the proposed renaming of the class, although I very much like naming things for what they mean (i.e. "subject"), not what they do (i.e. "bold") myself.

It might be worthwhile to do a full sweep of the pages we generate and identify what classes we would want. I have a feeling that we overuse a.list for example -- they are all in some form of list alright but they might benefit from a bit finer logical separatoin. One list is enumaration of refs and another is a chronological sequence of commits.

Then people who would want to tweak the presentation would have an easier time changing only gitweb.css.

Previous: Jakub NarebskiNext: Jakub Narebski
Message 5 of 10 in “gitweb: bugfix: list regression”
  1. gitweb: bugfix: list regressionLuben Tuikov, Aug 22, 2006
  2. Junio C HamanoAug 22, 2006
  3. Jakub NarebskiAug 22, 2006
  4. gitweb: bugfix: a.list formatting regressionJakub Narebski, Aug 22, 2006
  5. Junio C HamanoAug 22, 2006
  6. Jakub NarebskiAug 22, 2006
  7. Junio C HamanoAug 22, 2006
  8. Luben TuikovAug 23, 2006
  9. Luben TuikovAug 23, 2006
  10. Junio C HamanoAug 23, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.