From: | Sahil Harpal <sahilharpal1234(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Daniel Gustafsson <daniel(at)yesql(dot)se>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, PostgreSQL WWW <pgsql-www(at)postgresql(dot)org> |
Subject: | Re: Pgarchives message thread page design |
Date: | 2022-08-09 10:52:28 |
Message-ID: | CAKi=nneF2aAPX3KM9eTyEq=dG+s3LoBd9FGO-PJe39bVYH3ONw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-www |
I have made a few changes in the layout and also added a copy to clipboard
feature for message id as suggested in the -www discussion.
I used *navigator.clipboard.writeText(copyText.innerHTML);* for copying
purposes.
This method works well in the development server but not in the production.
I don't know the exact reason but I think it may be because it requires a
secure origin and the test server is running on the http, but I'm not
sure.. Could anyone please help me with this and also verify whether using
the above method would support the all stable version of browsers or not.
On Mon, 8 Aug 2022 at 19:48, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Daniel Gustafsson <daniel(at)yesql(dot)se> writes:
> > On 8 Aug 2022, at 11:05, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> wrote:
> >> The other is usability of the message-id: I think it would be very
> >> useful to have a button next to the message-id field, such that it
> >> copies the message-ID to the system clipboard, without url-escaping (@
> >> -> %40 and so on), so that it can be used for local message-id
> >> searching; also without the rest of the archive URL.
>
> > +1, that would be very helpful.
>
> +1, I'd use that all the time (mainly for copying message-IDs into
> commit messages).
>
> regards, tom lane
>
From | Date | Subject | |
---|---|---|---|
Next Message | Jonathan S. Katz | 2022-08-11 13:24:01 | known issue with 2022-08-11 PDFs |
Previous Message | Tom Lane | 2022-08-08 14:18:42 | Re: Pgarchives message thread page design |