The core code keeps a pretty strict policy of not requiring JS for any functionality (i.e. there is always a non-JS fallback available). It isn't so much that we expect a lot of people to not use JS, but it just tends to force you towards a good, accessible design. It is up to individual plugin authors as to if they want to continue this policy, but I would be sure to mark things clearly if you do not.
--Noah > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of rob > Sent: Friday, June 11, 2010 10:33 AM > To: Trac Development > Subject: [Trac-dev] New plugin - sum fields > > I recently posted my first Trac plugin: > > http://trac-hacks.org/wiki/SumFieldsPlugin > > It selectively sums fields in a custom query. We needed this for > rolling up effort (story points) based on different filterings and > groupings such as by milestone (for velocity) or owner (for load > balancing). > > I implemented the plugin using JavaScript/jQuery (versus all Python/ > Genshi) which appears to be non-standard. However if you look at the > code you'll see it's pretty simple. Is there a better way of > implementing it? > > More generally, how frowned upon is it to implement Trac plugins using > jQuery and other JS libs (e.g., jquery-ui, tinymce)? I've built other > plugins that I would happy to contribute but first want to make sure > I'm building them the best way. > > Thanks! > - Rob > > -- > You received this message because you are subscribed to the Google > Groups "Trac Development" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to trac- > [email protected]. > For more options, visit this group at > http://groups.google.com/group/trac-dev?hl=en. -- You received this message because you are subscribed to the Google Groups "Trac Development" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en.
