From: | Jorge Solórzano <jorsol(at)gmail(dot)com> |
---|---|
To: | "Jonathan S(dot) Katz" <jkatz(at)postgresql(dot)org> |
Cc: | pgsql-www(at)lists(dot)postgresql(dot)org |
Subject: | Re: Improve style of list search results |
Date: | 2018-06-06 03:32:04 |
Message-ID: | CA+cVU8OofcJJYGO8ytHjhN0PpJ9Op2=Do6wD58p5FDTsRgxu3Q@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-www |
Hi, new patch ready for review.
Remove border.
Sets width to allow line breaks.
Reduce font-size.
Change both template files.
Thanks!
On Tue, Jun 5, 2018 at 12:44 PM Jorge Solórzano <jorsol(at)gmail(dot)com> wrote:
> Hi Jonathan,
>
> Thanks for the feedback!
>
> I'm not clear what do you mean with line breaks something like Google, I
> suppose that the idea is remove the box border.
>
> I will send new patches soon.
>
> Regards,
>
> On Tue, Jun 5, 2018 at 6:41 AM Jonathan S. Katz <jkatz(at)postgresql(dot)org>
> wrote:
>
>> Hi,
>>
>> On Jun 5, 2018, at 2:52 AM, Jorge Solórzano <jorsol(at)gmail(dot)com> wrote:
>>
>> Hello pgweb,
>>
>> This patch improves the style of the list search results giving structure
>> and using the Card style of Bootstrap.
>>
>>
>> Thank you for submitting this patch! I have a few comments:
>>
>> 1. Searches are loaded from two separate files:
>>
>> - templates/search/listsearch.html
>> - templates/search/sitesearch.html
>>
>> So you would need to apply the markup to both files.
>>
>> 2. I do like how it makes the topic of the search results a bit larger,
>> but
>> I’m worried it’s a bit too large. Easy enough to tone down, I believe.
>>
>> 3. I’m not a fan of the box border, it does not feel like it flows well
>> between the search results. I could make an argument that the box
>> does separate the results.
>>
>> I would prefer if we did something more like
>> Google where we had appropriate line breaks.
>>
>> It also escape content of text to avoid problems with mail outputs that
>> gets interpreted as tags.
>>
>>
>> We try to keep our changes atomic, and as such this would
>> need to be submitted as a separate patch.
>>
>> In summary: I think this is in the right direction but needs some work.
>>
>> Thanks!
>>
>> Jonathan
>>
>
Attachment | Content-Type | Size |
---|---|---|
0001-Improve-style-of-list-search-results-using-Bootstrap.patch | text/x-patch | 3.2 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2018-06-06 03:55:06 | Re: Code of Conduct plan |
Previous Message | Dennis Gearon | 2018-06-06 02:20:11 | Re: Code of Conduct plan |