Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Create a plugin interface for wp-admin from Calypso #11620

Closed
wants to merge 31 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
5494750
Create a new project, config, etc for a Jetpack UI section in calypso…
ryelle Feb 13, 2017
e56408e
Use a custom Layout for the jetpack project
ryelle Feb 15, 2017
77db682
Use `hashbang` for the jetpack project (required? in wp-admin)
ryelle Feb 15, 2017
8060664
Build the CSS (and remove old files before running)
ryelle Feb 21, 2017
2331cd5
Add a custom make command for moving files into a local plugin (this …
ryelle Feb 21, 2017
f89558e
Due to wp-admin paths, components need to manually handle click event…
ryelle Feb 21, 2017
b157c7c
Add a custom boot file (can be merged back into main boot as more con…
ryelle Feb 21, 2017
7c966f5
Remove edits to boot file now that a separate file for jetpack exists
ryelle Feb 27, 2017
f4d0b90
Merge branch 'master' into try/jetpack-build-process
ryelle Jun 12, 2017
0b9e943
Move custom boot file into a project
ryelle Jun 12, 2017
237b3e4
Accidentally removed in merge
ryelle Jun 12, 2017
9af6990
Remove unused component
ryelle Jun 12, 2017
e0e7a18
Set up page for hash URLs in wp-admin
ryelle Jun 12, 2017
fec00f9
Update build-jetpack command
ryelle Jun 12, 2017
57bb119
Some hacks to get around missing user and Masterbar
ryelle Jun 12, 2017
8f27ac5
Extension test
johnHackworth Jun 13, 2017
2a0bed0
Extension test
johnHackworth Jun 13, 2017
0b3f9f4
Extension test
johnHackworth Jun 13, 2017
a4441f2
Update configs so that plugin code builds
ryelle Jun 13, 2017
99f8145
Jetpack bundle: styles (#15002)
sirreal Jun 13, 2017
fa22dd8
remove pre-* files
sirreal Jun 13, 2017
84f762e
Render with redux store
seear Jun 13, 2017
2ac1d0c
Remove isomorphic
sirreal Jun 13, 2017
a23e466
Adds a couple of other components examples
johnHackworth Jun 13, 2017
9942cb7
Sass improvements
sirreal Jun 14, 2017
307e0f9
Use non-specific top-level-route
sirreal Jun 14, 2017
1b6de45
Add Jetpack REST API client
oskosk Jun 14, 2017
862bd17
Make the selectedSiteId reducer default to 0 if we're in Jetpack Admin
oskosk Jun 14, 2017
9288ae4
Add MediaSettings card to writing extension
oskosk Jun 14, 2017
7fa3932
Make some data query components not require a siteId prop
oskosk Jun 14, 2017
a0dc995
Update fetchModulesList action be aware of the Jetpack environment an…
oskosk Jun 14, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ env-config.sh
/public/style*.css.map
/public/editor*.css
/public/directly*.css
/public/jetpack*.css
/public/jetpack*.css.map
/public/images/flags/*.svg
/public/images/flags/*.png
/server/devdocs/search-index.js
Expand Down
6 changes: 6 additions & 0 deletions assets/stylesheets/_wpadmin-normalize.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.layout__content {
padding: 0;
}
.button {
height: auto;
}
64 changes: 64 additions & 0 deletions assets/stylesheets/jetpack.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
// namespaceing breaks nested & selectors
// For example, in #wpcom wrapper:
// .foldable-card__content {
// display: none;
// .foldable-card.is-expanded & {
// display: block;
// }
// }
//
// produces
//
// #wpcom .foldable-card__content {
// display: none;
// }
// |------this is a problem
// vvvvvv
// .foldable-card.is-expanded #wpcom .foldable-card__content {
// display: block;
// }
//
// #wpcom {
@import 'shared/normalize';

// External Dependencies
@import 'vendor';

// Shared
@import 'shared/reset'; // css reset before the rest of the styles are defined
@import 'shared/functions'; // functions that we've used from Compass, ported over
@import 'shared/functions/functions'; // sass functions for z-index, etc.
@import 'shared/colors'; // import all of our wpcom colors
@import 'shared/utilities'; // Helper classes
@import 'shared/typography'; // all the typographic rules, variables, etc.
@import 'shared/mixins/mixins'; // sass mixins for gradients, bordius radii, etc.
@import 'shared/extends'; // sass extends for commonly used styles
@import 'shared/animation'; // all UI animation
@import 'shared/forms'; // form styling
@import 'shared/dropdowns'; // dropdown styling
@import 'shared/livechat'; // styles for the popup livechat box
@import 'shared/welcome'; // welcome messages
@import 'shared/infinite-scroll-end'; // Last page marker once infinite scroll has reached end

// Main
@import 'main'; // global layout and responsive styles

// Sections
@import 'sections/updated-confirmation'; // confirmation boxes for posts/pages
@import 'sections/notifications'; // notifications styles
@import 'sections/domain-search'; // Domain Search styles

// Components
@import 'components';

// Extensions
@import 'extensions/woocommerce/style';
@import 'extensions/wp-super-cache/style';

// Devdocs
@import 'devdocs/design/style';
@import 'devdocs/design/syntax';

// WP Admin Environment
@import 'wpadmin-normalize';
// }
Loading