Giter Site home page Giter Site logo

contribute.jquery.org's Introduction

contribute.jquery.org's People

Contributors

agcolom avatar ajpiano avatar arschmitz avatar arthurvr avatar aurelioderosa avatar coliff avatar dcardosods avatar dmethvin avatar ericcarraway avatar fabiosoggia avatar garyjones avatar gibson042 avatar gnarf avatar jamesmgreene avatar jzaefferer avatar kborchers avatar krinkle avatar kswedberg avatar mikesherov avatar pablofiumara avatar rdworth avatar redwolves avatar rwaldron avatar sarogers avatar scottgonzalez avatar sfrisk avatar stuartsan avatar supertassu avatar thibaut avatar tjvantoll avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

contribute.jquery.org's Issues

Move this site to contribute.jquery.org

We should have done this from the outset, but it makes more sense on .org than .com

This repo name needs to be changed, and the urls have to be changed in jquery/jquery-wp-content sites.php and menu_header.php, and the DNS entries have to be updated.

Documentation on setting Git config

We need to document how to set your name and email address in Git. We should link to this from Contributing to Code, Commits and Pull Requests, and even the CLA page.

Community Page

In page/community.md, following the mold of the triage page, put together some information about contributing to the community, including explaining that (obviously) contributing to any of the areas of any project is contributing to the community. The page should go on to explain information about how to get involved with jQuery Events and running local meetups, and link to pages on the site explaining about IRC and support as well.

Support page

In page/support.md, following the mold of the triage page, put together instructions on the basics of contributing support to other users of jQuery projects, e.g., the forums, IRC, stackoverflow, etc. Should include:

  • Links to various resources
  • explaining how support is a great way to learn more about projects without needing to run into the problems yourself, learn about intricacies and edge cases and put them in your toolbox
  • Advice on giving support
    • talking about being patient, how to coax more information out of people
    • avoiding getting frustrated, it's better to say nothing than editorialise
    • help people solve the problems they need help with, i.e., "Not Telling People The Solution Is To Use a Different CMS"

Document how to be a maintainer

We provide information for contributors, but nothing for maintainers. While we don't add people to jQuery Core, we should generally give out more write access to spread the load. I've never seen anyone abuse that "power", while they usually become more engaged in the project, since they now have more authority and try to make that up in the necessary responsibility.

I've started putting together some guidelines for reviewing PRs, should be valid at least for QUnit and mostly jQuery UI: https://gist.github.com/jzaefferer/a93958b48faa55ff84c5

Do we just give maintainers read access to the CLA document? Or is there some other option?

Should this site be on .com or .org?

Before we get too far down the road of actually setting up the subdomain (cc @gnarf37) , we should have one final discussion on whether the URL for this is contribute.jquery.com or contribute.jquery.org.

I don't have strong feelings either way. @dmethvin and I felt OK about .com but something about .org feels logical as well. Wanted to put this out there for discussion before it's finalised, however, so please give your thoughts on this.

CC @scottgonzalez @jzaefferer @rdworth

Add CSS Style Guide

Add a page that outlines the style guide for CSS across all jQuery projects.

Style guides should be moved into a folder

Instead of /js-style-guide/ and /html-style-guide/ we should have a top-level /style-guide/ with /js/ and /html/ inside it. In the future, perhaps we'd add a /css/. This also allows us to have a single style-guide landing page that introduces the concept of sharing all the guides across all foundation projects, and would link to all. It's also consistent with learn.jquery.com/style-guide/

Drop exceptions from JS style guide

Need to look for the others, but the single string argument exceptions needs to go away:

// Nested calls
foo( bar(arg) );

Should be foo( bar( arg ) );

// Single argument string literal, no space
foo("bar");

Should be foo( "bar" ).

// Inner grouping parens, no space
if ( !("foo" in obj) ) {
}

Should be if ( !( "foo" in obj ) ) {

Space omission is allowed when dereferencing an array:
array[0];

Should be array[ 0 ].

This is mostly for syncing with the Core team to see if there are any objections in dropping exceptions.

JS Style Guide: line length exception for comments with long urls or long regex?

Occasionally, the jQuery codebase goes over 100 characters a line for regexes (and potentially long urls in comments). E.g.:

bool: /^(?:checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)$/i,

There are ways to split multiline regexes, but this involves using the constructor and having to double escape backslashes.

Should we make an exception for regex literals and comments? Note I'll be implementing this in JSCS no matter what we decide.

Framed CLA not visible in Firefox

The CLA (http://contribute.jquery.org/CLA/) is not visible in the latest version of Firefox (21.0) on Mac OSX. it is also not visible on Safari 5.1.7 (which is old I admit, but is the latest on Mac OSX 10.6.8). However, it is visible with Safari 6.0.3 on Mac OS X 10.7.5. On both OSs, Chrome will show the form correctly (Version 27.0.1453.116). I am not too worried about Safari 5, but I am about Firefox 21.0.

JS Style Guide: Does top-level indent exception apply to UMD wrappers?

We have this line in the style guide:

If the entire file is wrapped in a closure, the function body is not indented.

Since introducing UMD wrappers in jQuery UI, we use this inconsistently. The wrappers are indented: https://github.com/jquery/jquery-ui/blob/fd7e1e3040ec2c6edb4754135602b5c31678e659/ui/accordion.js#L12

The "factory" isn't: https://github.com/jquery/jquery-ui/blob/fd7e1e3040ec2c6edb4754135602b5c31678e659/ui/accordion.js#L27

We might as well not indent the UMD wrapper.

I noticed this while testing the latest esformatter version with jQuery UI files. esformatter's TopLevelFunctionBlock setting currently doesn't indent any top-level function scope, which used to work well before we introduced the UMD wrappers.

Add heading anchors

e.g. http://contribute.jquery.org/style-guide/js/#type-checks

The wiki supported this, which enabled nice link-ability such as:

http://docs.jquery.com/JQuery_Core_Style_Guidelines#Type_Checks

I'm not sure what format to use, WordPress' slug format would be best imho (to lower case, converting any special characters to dashes).

Maybe it can be done automatically on all content headings from jquery-wp-content, but for now adding here where it would be a regression from the wiki. Especially for coding styling, linking to sections is useful.

Small style guide typos

Received via e-mail:


Howdy, I was reading the JavaScript Style Guide page on your site and found a couple errors.

Both are in the Multi-line Statements section:

  1. In the second example ( ternary operator ), there is a "var" at the beginning which needs removal.
  2. In the third example, there is the misspelling of "fistCondition", which should read "firstCondition". It is my assumption that this is not a hidden Chuck Norris joke as it would counter-indicate the style guide recommendations concerning clarity.

That is all for now, Pete

Getting Started with Open Source

In page/open-sourcemd, we should have a page about the basics of getting started with open source, talking about things like

  • getting comfortable with the command line, even if you've been reluctant to
  • getting used to local development, if you aren't
  • advice for interacting positively and proactively in a project, dealing with people who aren't
  • the idea that contributing goes beyond just writing code and that projects do value the people who write docs, help users, etc.

More ideas welcome. This page is not really supposed to be specific to jQuery and should be useful to anyone who's been using FOSS and wants some background on how to get involved and how to think about what they're signing up for :)

JS style guide: Formatting ternary expressions

We don't have rules on how to format ternary expressions. Accordingly we have quite a few styles for these:

// from core/css.js
// inline
parts = typeof value === "string" ? value.split(" ") : [ value ];

// from core/css.js
// line break after question mark and colon:
return rnumnonpx.test( computed ) ?
    jQuery( elem ).position()[ prop ] + "px" :
    computed;

// from ui/jquery.ui.progressbar.js
// line break after colon:
return this.indeterminate ? false :
            Math.min( this.options.max, Math.max( this.min, newValue ) );

There's probably more variations.

@dmethvin @scottgonzalez @gibson042 do you have preferences on any of these?

JS Style Guide: Clarify object expression in array expression

How should this look like?

var eras = [ {
    "name": "n. Chr.",
    "start": null,
    "offset": 0
} ];

According to the current styleguide, this should be correct. But I suspect the exception for whitespace around object expressions within function arguments also applies to array expressions. Which would look like this instead:

var eras = [{
    "name": "n. Chr.",
    "start": null,
    "offset": 0
}];

Contributing Code page

In page/code.md, following the mold of the triage page, put together instructions on the basics of contributing code to any jQuery project, e.g., forking repos, making pull requests, writing tests, not removing tests, following the style guide, using grunt, etc, with links to all the project repos.

This should probably link to the Won't Fix page, among other things as well.

IRC Page?

Since IRC is so crucial to involvement in our projects, should we have a explaining that very fact, and then links to all of our channels, and resources for getting set up, using a bouncer, etc?

Alternatively, this could be maintained as the content of irc.jquery.com.

We'd link to this page in the header.

Document how to contribute translations

Regarding questions like this: "@qunitjs I would like to translate http://qunitjs.com/ pages into Japanese. Can I have a permission to do it?" https://twitter.com/cssradar/status/313666013185077248

Apart from pointing at the license for the content, we want to figure out how to organize translations. One idea that @rdworth or @gnarf37 had in Vienna was to have a repository per locale, with folders for each site repository (the domain names). That way translations can have their own release cycle and contributors.

This may also become work for brand and infrastructure, so this is just a starting point.

Add bug triage boilerplate example replies

Perhaps on the triage page, or on a separate page linked from it, we should codify our example triage answers for various situations - will be useful for us and new prospective triagers.

Documentation page

In page/documentation.md, following the mold of the triage page, put together instructions on the basics of contributing documentation to any jQuery project, e.g., forking repos, making pull requests, following the style guide, using grunt, etc, with links to all the project repos

Review and Publicize How to Report Bugs

http://contribute.jquery.org/bug-reports/ was ported from MediaWiki and updated to address all projects instead of just core. The content should be reviewed for completeness and links to latest releases and WIP builds for all projects should be included (preferably by linking to pages that will be updated when releases occur).

This page isn't currently discoverable without searching the site.

Contributing to Web Sites page

In page/web.md, following the mold of the triage page, put together instructions on the basics of contributing to jQuery Foundation websites, including:

  • high level overview of jquery-wp-content and content repos, why we made it work that way instead of wikis and a million different wordpress installs
  • outlining dependencies
  • basics of editing workflow and deploy process
  • links to all the website repos
  • when you'll need to edit web-base-template vs a content repo
  • current status of where people should be contributing
  • list of exceptions (sites not on jquery-wp-content, whether they ever will be)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.