Bugzilla UI hackathon #1: July 29; attachments

Kiffin Gish kiffin at gish.demon.nl
Sun Jul 24 16:42:23 UTC 2005


Here's something that be an interesting fix to the 'comments too long'
problem:

 

---kiffin (begin)---

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

 

<html>

<head>

          <title>Bugzilla UI hackathon #1</title>

<style type="text/css">

#idx {

          border: 5px solid red;

          padding: 2px;

          margin-bottom: 5px;

          width: 500px;

          text-align: center;

          visibility: hidden;

          display: none;

}

</style>

</head>

 

<body>

 

<script type="text/javascript">

function keyx(obj, idx, maxlen) {

  if (!document.getElementById) return true;

  var objx = document.getElementById(idx);

  if (!objx) return true;

  var txt = obj.value;

  if (txt.length > maxlen) {

          objx.innerHTML = 'Sorry, but comments no greater than '+maxlen+'
characters';

    objx.style.visibility = 'visible';

    objx.style.display = 'block';

    obj.value = txt.substr(0,maxlen);

    return false;

  } else {

    objx.style.visibility = 'hidden';

    objx.style.display = 'none';

    return true;

  }

}

</script>

 

<h2>Here's an example of how one might use javascript to keep folks from
entering too much text in the certain places.</h2>

 

<b>Additional <u>C</u>omments:</b>

<br>

<a name="add_comment"></a>

<div id="idx"></div>

<textarea wrap="hard" name="comment" id="comment" rows="10" cols="80"

                  accesskey="c" onkeyup="return
keyx(this,'idx',10)"></textarea>

</body>

</html>

 

---kiffin (begin)---

 

Just thought you might be interested.

-- 
Kiffin Rex Gish
Gouda, The Netherlands 

  

-----Original Message-----
From: developers-owner at bugzilla.org [mailto:developers-owner at bugzilla.org]
On Behalf Of Myk Melez
Sent: Saturday, July 23, 2005 09:49
To: developers at bugzilla.org; Asa Dotzler
Subject: Bugzilla UI hackathon #1: July 29; attachments

 


Now that the tree is open for 2.22 development, it's time to start the UI
hackathons.  The first one will be next Friday, July 29, from 10am-6pm PDT
(UTC-07:00).  It'll focus on attachment UI, from the "edit attachment" page
to the "create an attachment" page, the "show bug" attachments table, and
attachment references in comments.  Basically, anywhere there is (or should
be) UI for accessing or manipulating attachments is fair game for hacking.

I'll be on  <ircs://irc.mozilla.org:6697/> MailScanner has detected a
possible fraud attempt from "ircs:" claiming to be MailScanner has detected
a possible fraud attempt from "ircs:" claiming to be irc.mozilla.org in the
#hackathon channel <ircs://irc.mozilla.org:6697/%23hackathon>  for the
entire hackathon to discuss problems, approve solutions, and review patches.
We'll start by looking over existing bugs, brainstorming new ideas,
prioritizing fixes that can happen within a day, and dividing up the work
between available hackers.

Where possible, we'll make decisions by consensus.  Otherwise, we'll air our
respective views, and then I'll make a decision or defer the issue to
further discussion.

I welcome the participation of all Bugzilla hackers and users who want to
contribute to improving this important piece of Bugzilla functionality!

-myk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bugzilla.org/pipermail/developers/attachments/20050724/a5dd81b1/attachment.html>


More information about the developers mailing list