Making WordPress.org


Ignore:
Timestamp:
07/19/2016 07:42:02 PM (8 years ago)
Author:
obenland
Message:

Plugin Directory: Proof of concept React components.

This is pretty much the culmination of me playing around with React for a week,
learning along the way. It's a best of from tutorials, Human Made's
Feelingrestful Theme, and various other inspirations I got along the way.

I'm committing this not with the intention of cementing a way to build a JS
client for the Plugin Directory but much rather open this approach up for tips
and feedback on how to proceed. I'd like to find out if React is even working
for our needs, learn how to get the most out of it for our purposes, and learn
how best to implement it for this project.

To see the React client in action and make changes to it, uncomment the
wp_enqueue_script() line in functions.php that enqueues the client JS file.
Then run npm install and grunt watch from the command line in the theme's
root directory. Please see README.md for further details.

See #1719.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/sass/site/_header.scss

    r3676 r3695  
    102102    .search-form {
    103103        display: inline-block;
     104        font-size: 0;
    104105        width: 100%;
    105106
     
    116117            border-left: none;
    117118            border-radius: 0 2px 2px 0;
     119            @include font-size( ms-unitless( ms(0) ) );
    118120            display: none;
    119             margin-left: -6px;
    120121            vertical-align: bottom;
    121122
     
    176177                box-shadow: none;
    177178                display: block;
    178                 font-size: inherit;
     179                @include font-size( ms-unitless( ms(0) ) );
    179180                margin: 0 auto;
    180181                max-width: 100%;
Note: See TracChangeset for help on using the changeset viewer.