Re: Threadview for messages: really cool but big flaw

Lists: pgsql-www
From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-www(at)postgreSQL(dot)org
Subject: Threadview for messages: really cool but big flaw
Date: 2013-06-17 01:09:44
Message-ID: 51BE61D8.5040502@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-www

Folks,

I just noticed the nifty "threadview" drop-down on each message in the
archives, which would really make my life a lot easier as CFM ... except
that it's unreadable for long threads. Look here for example:

http://www.postgresql.org/message-id/CAB7nPqTAfWy_VY6PKdM_eg7snG9Z2+MAH+N85FW7AGDNgUmqsw@mail.gmail.com

The basic issue is that, on a long discussion thread, indenting pushes
the thread off the right side of the page. What if we just removed the
indenting?

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.comsql


From: "Jonathan S(dot) Katz" <jonathan(dot)katz(at)excoventures(dot)com>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: pgsql-www(at)postgreSQL(dot)org
Subject: Re: Threadview for messages: really cool but big flaw
Date: 2013-06-17 02:29:00
Message-ID: 65BAAB64-19EB-4584-AC49-0FA87CBFDCF1@excoventures.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-www

On Jun 16, 2013, at 9:09 PM, Josh Berkus wrote:

> Folks,
>
> I just noticed the nifty "threadview" drop-down on each message in the
> archives, which would really make my life a lot easier as CFM ... except
> that it's unreadable for long threads. Look here for example:
>
> http://www.postgresql.org/message-id/CAB7nPqTAfWy_VY6PKdM_eg7snG9Z2+MAH+N85FW7AGDNgUmqsw@mail.gmail.com
>
> The basic issue is that, on a long discussion thread, indenting pushes
> the thread off the right side of the page. What if we just removed the
> indenting?

Probably would be better to set the CSS property "overflow-x" to "auto" as opposed to hidden - that way we can keep the indenting to show the progression of the thread but we can still scroll and see the info.

Jonathan


From: "Jonathan S(dot) Katz" <jonathan(dot)katz(at)excoventures(dot)com>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: pgsql-www(at)postgreSQL(dot)org
Subject: Re: Threadview for messages: really cool but big flaw
Date: 2013-06-17 02:57:47
Message-ID: 6D1E4B3E-9627-4DC1-AEB7-FAC21FB65E65@excoventures.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-www

On Jun 16, 2013, at 10:29 PM, Jonathan S. Katz wrote:

> On Jun 16, 2013, at 9:09 PM, Josh Berkus wrote:
>
>> Folks,
>>
>> I just noticed the nifty "threadview" drop-down on each message in the
>> archives, which would really make my life a lot easier as CFM ... except
>> that it's unreadable for long threads. Look here for example:
>>
>> http://www.postgresql.org/message-id/CAB7nPqTAfWy_VY6PKdM_eg7snG9Z2+MAH+N85FW7AGDNgUmqsw@mail.gmail.com
>>
>> The basic issue is that, on a long discussion thread, indenting pushes
>> the thread off the right side of the page. What if we just removed the
>> indenting?
>
> Probably would be better to set the CSS property "overflow-x" to "auto" as opposed to hidden - that way we can keep the indenting to show the progression of the thread but we can still scroll and see the info.

Here is a patch for exactly that. This is in the pgarchives project

Jonathan

Attachment Content-Type Size
overflow.patch application/octet-stream 1.7 KB
unknown_filename text/plain 1 byte

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: PostgreSQL WWW <pgsql-www(at)postgresql(dot)org>
Subject: Re: Threadview for messages: really cool but big flaw
Date: 2013-06-17 05:47:11
Message-ID: CABUevEwZU7xsyxDW8rYy256X4+wR3OB_jFqd0ARt=T6ZSQc9Mw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-www

On Mon, Jun 17, 2013 at 3:09 AM, Josh Berkus <josh(at)agliodbs(dot)com> wrote:
> Folks,
>
> I just noticed the nifty "threadview" drop-down on each message in the
> archives, which would really make my life a lot easier as CFM ... except
> that it's unreadable for long threads. Look here for example:
>
> http://www.postgresql.org/message-id/CAB7nPqTAfWy_VY6PKdM_eg7snG9Z2+MAH+N85FW7AGDNgUmqsw@mail.gmail.com
>
> The basic issue is that, on a long discussion thread, indenting pushes
> the thread off the right side of the page. What if we just removed the
> indenting?

Wouldn't that kill the main thing that control is there to show, which
is the message's placement in the thread? It would just look like a
random order then...

On principle, I like Jonathans suggestion better, but maybe I'm missig
something?

--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/


From: Magnus Hagander <magnus(at)hagander(dot)net>
To: "Jonathan S(dot) Katz" <jonathan(dot)katz(at)excoventures(dot)com>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, PostgreSQL WWW <pgsql-www(at)postgresql(dot)org>
Subject: Re: Threadview for messages: really cool but big flaw
Date: 2013-06-17 05:47:57
Message-ID: CABUevEzCj+S-6n9sgsWBGtNU1FRyLdg1mqCqKNNokAsFrHhKkw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-www

On Mon, Jun 17, 2013 at 4:57 AM, Jonathan S. Katz
<jonathan(dot)katz(at)excoventures(dot)com> wrote:
> On Jun 16, 2013, at 10:29 PM, Jonathan S. Katz wrote:
>
>> On Jun 16, 2013, at 9:09 PM, Josh Berkus wrote:
>>
>>> Folks,
>>>
>>> I just noticed the nifty "threadview" drop-down on each message in the
>>> archives, which would really make my life a lot easier as CFM ... except
>>> that it's unreadable for long threads. Look here for example:
>>>
>>> http://www.postgresql.org/message-id/CAB7nPqTAfWy_VY6PKdM_eg7snG9Z2+MAH+N85FW7AGDNgUmqsw@mail.gmail.com
>>>
>>> The basic issue is that, on a long discussion thread, indenting pushes
>>> the thread off the right side of the page. What if we just removed the
>>> indenting?
>>
>> Probably would be better to set the CSS property "overflow-x" to "auto" as opposed to hidden - that way we can keep the indenting to show the progression of the thread but we can still scroll and see the info.
>
> Here is a patch for exactly that. This is in the pgarchives project

Hmm. Can we find a way to do that that doesn't actually modify the
jquery-ui code? That's going to be a PITA for upgrades. Surely there
should be a way to override it form our own stylesheets?

--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/


From: "Jonathan S(dot) Katz" <jonathan(dot)katz(at)excoventures(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, PostgreSQL WWW <pgsql-www(at)postgresql(dot)org>
Subject: Re: Threadview for messages: really cool but big flaw
Date: 2013-06-17 14:17:25
Message-ID: 17AC0F0C-7B68-496C-865A-70741F45B242@excoventures.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-www

On Jun 17, 2013, at 1:47 AM, Magnus Hagander wrote:

> On Mon, Jun 17, 2013 at 4:57 AM, Jonathan S. Katz
> <jonathan(dot)katz(at)excoventures(dot)com> wrote:
>> On Jun 16, 2013, at 10:29 PM, Jonathan S. Katz wrote:
>>
>>> On Jun 16, 2013, at 9:09 PM, Josh Berkus wrote:
>>>
>>>> Folks,
>>>>
>>>> I just noticed the nifty "threadview" drop-down on each message in the
>>>> archives, which would really make my life a lot easier as CFM ... except
>>>> that it's unreadable for long threads. Look here for example:
>>>>
>>>> http://www.postgresql.org/message-id/CAB7nPqTAfWy_VY6PKdM_eg7snG9Z2+MAH+N85FW7AGDNgUmqsw@mail.gmail.com
>>>>
>>>> The basic issue is that, on a long discussion thread, indenting pushes
>>>> the thread off the right side of the page. What if we just removed the
>>>> indenting?
>>>
>>> Probably would be better to set the CSS property "overflow-x" to "auto" as opposed to hidden - that way we can keep the indenting to show the progression of the thread but we can still scroll and see the info.
>>
>> Here is a patch for exactly that. This is in the pgarchives project
>
> Hmm. Can we find a way to do that that doesn't actually modify the
> jquery-ui code? That's going to be a PITA for upgrades. Surely there
> should be a way to override it form our own stylesheets?

Revision attached.

Attachment Content-Type Size
overflow.patch application/octet-stream 723 bytes
unknown_filename text/plain 1 byte

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: "Jonathan S(dot) Katz" <jonathan(dot)katz(at)excoventures(dot)com>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, PostgreSQL WWW <pgsql-www(at)postgresql(dot)org>
Subject: Re: Threadview for messages: really cool but big flaw
Date: 2013-06-17 20:42:15
Message-ID: CABUevEzW4_uCuXdLoofQeTvczne=bKiVL8zvSE6+wGY8rLH9FA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-www

On Mon, Jun 17, 2013 at 4:17 PM, Jonathan S. Katz
<jonathan(dot)katz(at)excoventures(dot)com> wrote:
> On Jun 17, 2013, at 1:47 AM, Magnus Hagander wrote:
>
>> On Mon, Jun 17, 2013 at 4:57 AM, Jonathan S. Katz
>> <jonathan(dot)katz(at)excoventures(dot)com> wrote:
>>> On Jun 16, 2013, at 10:29 PM, Jonathan S. Katz wrote:
>>>
>>>> On Jun 16, 2013, at 9:09 PM, Josh Berkus wrote:
>>>>
>>>>> Folks,
>>>>>
>>>>> I just noticed the nifty "threadview" drop-down on each message in the
>>>>> archives, which would really make my life a lot easier as CFM ... except
>>>>> that it's unreadable for long threads. Look here for example:
>>>>>
>>>>> http://www.postgresql.org/message-id/CAB7nPqTAfWy_VY6PKdM_eg7snG9Z2+MAH+N85FW7AGDNgUmqsw@mail.gmail.com
>>>>>
>>>>> The basic issue is that, on a long discussion thread, indenting pushes
>>>>> the thread off the right side of the page. What if we just removed the
>>>>> indenting?
>>>>
>>>> Probably would be better to set the CSS property "overflow-x" to "auto" as opposed to hidden - that way we can keep the indenting to show the progression of the thread but we can still scroll and see the info.
>>>
>>> Here is a patch for exactly that. This is in the pgarchives project
>>
>> Hmm. Can we find a way to do that that doesn't actually modify the
>> jquery-ui code? That's going to be a PITA for upgrades. Surely there
>> should be a way to override it form our own stylesheets?
>
> Revision attached.

Applied, thanks.

--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/


From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: "Jonathan S(dot) Katz" <jonathan(dot)katz(at)excoventures(dot)com>, Josh Berkus <josh(at)agliodbs(dot)com>, PostgreSQL WWW <pgsql-www(at)postgresql(dot)org>
Subject: Re: Threadview for messages: really cool but big flaw
Date: 2013-06-17 21:00:39
Message-ID: 20130617210039.GI3537@eldon.alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-www

Magnus Hagander wrote:

> Applied, thanks.

Uh. What is this supposed to have done?

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services


From: "Jonathan S(dot) Katz" <jonathan(dot)katz(at)excoventures(dot)com>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, Josh Berkus <josh(at)agliodbs(dot)com>, PostgreSQL WWW <pgsql-www(at)postgresql(dot)org>
Subject: Re: Threadview for messages: really cool but big flaw
Date: 2013-06-17 21:02:09
Message-ID: 4D1B3CBE-353A-4002-855A-375C9FAF874F@excoventures.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-www

On Jun 17, 2013, at 5:00 PM, Alvaro Herrera wrote:

> Magnus Hagander wrote:
>
>> Applied, thanks.
>
> Uh. What is this supposed to have done?

http://www.postgresql.org/message-id/CAB7nPqTAfWy_VY6PKdM_eg7snG9Z2+MAH+N85FW7AGDNgUmqsw@mail.gmail.com

Click on the message view list. You can now horizontally scroll and see all the names in the thread.

Jonathan


From: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
To: "Jonathan S(dot) Katz" <jonathan(dot)katz(at)excoventures(dot)com>
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>, Josh Berkus <josh(at)agliodbs(dot)com>, PostgreSQL WWW <pgsql-www(at)postgresql(dot)org>
Subject: Re: Threadview for messages: really cool but big flaw
Date: 2013-06-17 21:12:31
Message-ID: CAMkU=1wzKQZnQCpcbzSzV7im2fAi1ij5=jpNi9jHhdGqdMAHcQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-www

On Mon, Jun 17, 2013 at 2:02 PM, Jonathan S. Katz <
jonathan(dot)katz(at)excoventures(dot)com> wrote:

> On Jun 17, 2013, at 5:00 PM, Alvaro Herrera wrote:
>
> Magnus Hagander wrote:
>
> Applied, thanks.
>
>
> Uh. What is this supposed to have done?
>
>
>
> http://www.postgresql.org/message-id/CAB7nPqTAfWy_VY6PKdM_eg7snG9Z2+MAH+N85FW7AGDNgUmqsw@mail.gmail.com
>
> Click on the message view list. You can now horizontally scroll and see
> all the names in the thread.
>

It does that in FF and IE, but not in Chrome.

Cheers,

Jeff


From: "Jonathan S(dot) Katz" <jonathan(dot)katz(at)excoventures(dot)com>
To: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>, Josh Berkus <josh(at)agliodbs(dot)com>, PostgreSQL WWW <pgsql-www(at)postgresql(dot)org>
Subject: Re: Threadview for messages: really cool but big flaw
Date: 2013-06-17 21:13:37
Message-ID: E38613AD-7C1A-40CD-8046-736003E33147@excoventures.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-www

On Jun 17, 2013, at 5:12 PM, Jeff Janes wrote:

> On Mon, Jun 17, 2013 at 2:02 PM, Jonathan S. Katz <jonathan(dot)katz(at)excoventures(dot)com> wrote:
> On Jun 17, 2013, at 5:00 PM, Alvaro Herrera wrote:
>
>> Magnus Hagander wrote:
>>
>>> Applied, thanks.
>>
>> Uh. What is this supposed to have done?
>
> http://www.postgresql.org/message-id/CAB7nPqTAfWy_VY6PKdM_eg7snG9Z2+MAH+N85FW7AGDNgUmqsw@mail.gmail.com
>
> Click on the message view list. You can now horizontally scroll and see all the names in the thread.
>
> It does that in FF and IE, but not in Chrome.

I tested it in Chrome and it works for me. What version are you using? Are you sure the stylesheet was not cached?

Jonathan


From: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
To: "Jonathan S(dot) Katz" <jonathan(dot)katz(at)excoventures(dot)com>
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>, Josh Berkus <josh(at)agliodbs(dot)com>, PostgreSQL WWW <pgsql-www(at)postgresql(dot)org>
Subject: Re: Threadview for messages: really cool but big flaw
Date: 2013-06-17 21:16:47
Message-ID: CAMkU=1w5Qxt3SnWAgBtiwf-UL_Hbrc4zf3+Mtg=+YF+RddiKWA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-www

On Mon, Jun 17, 2013 at 2:13 PM, Jonathan S. Katz <
jonathan(dot)katz(at)excoventures(dot)com> wrote:

> On Jun 17, 2013, at 5:12 PM, Jeff Janes wrote:
>
> On Mon, Jun 17, 2013 at 2:02 PM, Jonathan S. Katz <
> jonathan(dot)katz(at)excoventures(dot)com> wrote:
>
>> On Jun 17, 2013, at 5:00 PM, Alvaro Herrera wrote:
>>
>> Magnus Hagander wrote:
>>
>> Applied, thanks.
>>
>>
>> Uh. What is this supposed to have done?
>>
>>
>>
>> http://www.postgresql.org/message-id/CAB7nPqTAfWy_VY6PKdM_eg7snG9Z2+MAH+N85FW7AGDNgUmqsw@mail.gmail.com
>>
>> Click on the message view list. You can now horizontally scroll and see
>> all the names in the thread.
>>
>
> It does that in FF and IE, but not in Chrome.
>
>
> I tested it in Chrome and it works for me. What version are you using?
> Are you sure the stylesheet was not cached?
>

It must have been the latter. After going through all meta-keys in
combination with F5, it now scrolls.

Thanks,

Jeff


From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Cc: "Jonathan S(dot) Katz" <jonathan(dot)katz(at)excoventures(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>, Josh Berkus <josh(at)agliodbs(dot)com>, PostgreSQL WWW <pgsql-www(at)postgresql(dot)org>
Subject: Re: Threadview for messages: really cool but big flaw
Date: 2013-06-17 21:35:50
Message-ID: 20130617213550.GK3537@eldon.alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-www

Jeff Janes escribió:

> It must have been the latter. After going through all meta-keys in
> combination with F5, it now scrolls.

Yep, same here, I see the scrollbar now. Thanks.

Here's an idea to make this a little narrower: we don't need the email
address of the poster, only the name. Also, how about removing the
seconds field for the time?

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services