Re: any and all CSS bugs, suggestions and snippets welcomed

 
From: "Dada Mail" <dada@PROTECTED>
Date: July 25th 2005

Does this sound like a good commenting convention to add into our
devs' "best practices"? Or is it better left as just my thing, or left
out altogether?

That's fine I think, although most comments in the code are going to
be for developers, so it may be redundant:

It may be easier to recognize that a comment, is a comment, and
then state what it's for (optionally)

For example, I've also started to use the, "TODO" comment, for things
I haven't quite finished, for example, in mail cgi:

 # TODO - why isn't his here? Why aren't we reading it from the  

pref?! my $add_to_black_list = $q->param('add_to_black_list') || 0;

or:

 # TODO: these three lines need to be one
 my $test_test = $args{'-Bulk_Test'};
 chomp($test_test);
 unless($test_test == 1){

I can then Grok this and put it in my Big list of TODO's

 http://cvs
sourceforge
net/viewcvs
py/*checkout*/mojomail/ 

dada_mail_stable/dada/extras/developers/TODOlist txt?rev=1 43

Which is a horrid mess, but so is my desk :)

If you want to start using an optional label for comments
specifically for developers, I think we can do that, but I would
rename it something like, "DEVELOPERS" or, "DEV", but not,
"DEVCOMMENT" It's just that it's context is already a comment

We can also use the label, "HACK" :) For example, DADA::Mail::Send:

     #hack
     #Mail::Address should

 *Address* (pun) this, but it  

doesn't why? why? why? # Why, it's a bug in Mail::Address, and it's not getting
fixed grr!

     my $ln = $self->{list_info}->{list_name};
        $ln = DADA::App::Guts::escape_for_sending($ln);
     #/hack

Also, let's keep this optional :)

Making that change will be a bit more involved than a simple,
template-wide search-and-replace but for me that's a good thing, because the
other tweaks required [there's also a bit of code in a few of the
Perl files and in default_js js also, I think] will give me a better
feel for what's where in the program So I'm on the job :-)

OK, for the moment, I'd rather not have to use classes for each of
the different form widgets - it'll never ever get applied to every
single thing - the buttons are bad enough, but it makes you have to
stop and think I'd rather accept the consequences of the current
stylings, or take out the css that's causing it - whichever the
majority things it's best - I'm leaning towards accepting the
consequences, as IE 7 is coming out soon :)

P S - If anyone who's using Dada Mail 2 9 0 or later is looking for a short-term fix for the IE checkbox/radio-button border problem in
the meantime, the only solution, alas, is to remove all border
properties from the CSS file's "input" and "input:focus" selectors, and let the input controls just revert to their default styles

Although a hack, doesn't IE allow you to put conditional statement
commentss in css? It may not be worth the trouble, but we could state
the right way first and then the fallback way for IE (or the other
way around, who knows :) )

Justin Simoni

  • This mailing list is a public mailing list - anyone may join or leave, at any time.
  • This mailing list is a group discussion list (unmoderated)
  • Start a new thread, email: dadadev@dadamailproject.com

This is the developer discussion mailing list for Dada Mail.

If you are just looking for support Dada Mail, consult the message boards at:

https://forum.dadamailproject.com

Documentation for Dada Mail:

https://dadamailproject.com/d

Specifically, see the Error FAQ:

https://dadamailproject.com/d/FAQ-errors.pod.html

To post to this list, send a message to:

mailto:dadadev@dadamailproject.com

All subscribers of this list may post to the list itself.

Topics that are welcome:

  • Constructive critiques on the program (I like, "x", but, "y" needs some work - here's an idea on how to make this better...)
  • Bug/Error reports
  • Bug fixes
  • Request For Comments on any changes to the program
  • Help customizing Dada Mail for your own needs
  • Patches
  • Language Translations
  • Support Documentation/Doc editing, FAQ's, etc.
  • Discussion of any changes that you would like to be committed to the next version of Dada Mail -

Dada Mail is on Github:

https://github.com/justingit/dada-mail/

If you would like to fork, branch, send over PRs, open up issues, etc.

Privacy Policy:

This Privacy Policy is for this mailing list, and this mailing list only.

Email addresses collection through this mailing list are used explicitly to work within this email discussion list.

We only collect email addresses through our Closed-Loop Opt-In system.

We don't use your email address for any other purpose.

We won't be sharing your email address with any other entity.

Unsubscription can be done at any time. Please contact us at: justin@dadamailproject.com for any help regarding your subscription, including removal from the mailing list.

All mailing list messages sent from us will include a subscription removal link, which will allow you to remove yourself from this mailing list automatically, and permanently.

All consent to use your email address for any other purpose stated at the time of the mailing list subscription will also be revoked upon mailing list removal.