Tuesday, July 10, 2018

I fixed some Lino Welfare test suite failures caused by #2433.

Responsive-friendly TicketDetail layout

The lino_noi.lib.tickets.TicketDetail is now “responsive-friendly”. I upgraded Jane.

Note that yesterday we had this:

general1a = """
summary id:6
user end_user
site ticket_type
description
"""

And I said that “summary id:6” is equivalent to “summary:50 id:6” but that was wrong, actually it is “summary:21 id:6”. The default preferred_width for a lino.core.elems.CharFieldelement is 1 + min(20, max(3, self.field.max_length or 0)), so for fields having max_length 20 or more the preferred default width is 21.