public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
From: Robert Lupton the Good <rhl@astro.Princeton.EDU>
To: Yngve Svendsen <yngve.svendsen@clustra.com>
Cc: gnats-announce@sources.redhat.com,
	gnats-devel@sources.redhat.com, bug-gnats@gnu.org
Subject: patch to gnatsweb 2.9.0
Date: Mon, 10 Sep 2001 12:13:00 -0000	[thread overview]
Message-ID: <15261.4288.443936.741169@kaze.Princeton.EDU> (raw)
In-Reply-To: <5.1.0.14.2.20010908181818.00b43c20@10.10.1.1>

[-- Attachment #1: Type: text/plain, Size: 1711 bytes --]

I've finally got around to forward-porting some of my 2.7 changes.

Here's a patch that:

	1/ Adds a button to load stored queries; they can then
	be modified and submitted.  This provides a way to edit
	stored queries.

(Note: this uses a hidden atribute 'full_cmd' to avoid making the
submit/delete/load stored query too wide with long labels)

	2/ Supports a callback
		cb('init_prefs', '');
	to set values in %global_prefs after init_prefs has run.


	3/ Include the date that a query was submitted in the result
	page.  This is very useful when the query is printed and filed
	away.

	This is only done if $global_prefs{'show date'} is true
	(default: 1).  I'm not quite sure that I did this in the
	approved manor.


I did not update the docs; your discussion of stored queries is pretty
short, and I didn't know how you want to do this.  Here's some sample HTML:

<dl>
<dt><b>submit stored query</b> (button and combobox)
<dd>If there are stored queries (done on the <a href="#qmatches">Query Results Page</a>),
    this selects one of them.  If no queries are stored, then
    this field is not displayed.
<dt><b>delete stored query</b> (button and combobox)
<dd>If there are stored queries (done on the <a href="#qmatches">Query Results Page</a>),
    this deletes one of them.  If no queries are stored, then
    this field is not displayed.
<dt><b>load stored query</b> (button and combobox)
<dd>If there are stored queries (done on the <a href="#qmatches">Query Results Page</a>),
    this loads one of them into the various fields on this page as if you'd
    just typed them in; this allows you to edit a stored query.
    If no queries are stored, then this field is not displayed.
</dl>

			R



[-- Attachment #2: patch1 --]
[-- Type: text/html, Size: 9012 bytes --]

  reply	other threads:[~2001-09-10 12:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-08  9:23 Announcing " Yngve Svendsen
2001-09-10 12:13 ` Robert Lupton the Good [this message]
2001-09-13  8:21 ` Robert Lupton the Good
2001-09-14  2:11   ` Yngve Svendsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=15261.4288.443936.741169@kaze.Princeton.EDU \
    --to=rhl@astro.princeton.edu \
    --cc=bug-gnats@gnu.org \
    --cc=gnats-announce@sources.redhat.com \
    --cc=gnats-devel@sources.redhat.com \
    --cc=yngve.svendsen@clustra.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).