Thread: The release notes page could use a "javascript required" warning
Hi, The page of release notes, https://www.postgresql.org/docs/release/, could use a "javascript is required" warning. (Or the page could be re-engineered to omit the drop-downs and just display the point releases when js is off.) Clicking on a PG version link without javascript turned on does nothing. Regards, Karl <kop@karlpinc.com> Free Software: "You don't pay back, you pay forward." -- Robert A. Heinlein
On Mon, 11 Nov 2024 at 14:47, Jonathan S. Katz <jkatz@postgresql.org> wrote:
On 11/8/24 1:16 PM, Karl O. Pinc wrote:
> Hi,
>
> The page of release notes,
> https://www.postgresql.org/docs/release/,
> could use a "javascript is required" warning.
> (Or the page could be re-engineered to omit
> the drop-downs and just display the point releases
> when js is off.)
>
> Clicking on a PG version link without javascript turned
> on does nothing.
Arguably we can remove the JavaScript and make it just a really long
page that has everything listed out (similar to the way it was in the docs).
Outside of the cleaner look, I'm can't remember why we set up the
interface in this way (and I'm pretty sure the person who did it is
typing this email). I'm not necessarily opposed to just listing
everything out, though the page does get rather long if you're looking
for a really old release announcement (which is likely not too many people).
It shouldn't be overly hard to statically render everything initially, and then have the JS collapse everything.
Dave Page
pgAdmin: https://www.pgadmin.org
PostgreSQL: https://www.postgresql.org
On Mon, Nov 11, 2024 at 3:56 PM Jonathan S. Katz <jkatz@postgresql.org> wrote:
On 11/11/24 9:54 AM, Dave Page wrote:
> It shouldn't be overly hard to statically render everything initially,
> and then have the JS collapse everything.
Yeah, that's what I was looking at. I think we can set the Bootstrap
class to initially be open, and as you say, have a JavaScript func that,
on page load, closes everything.
Shouldn't this be doable without javascript, using <details> and <summary>? Or does that somehow break with the version of bootstrap we use?
//Magnus