Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
348 commits
Select commit Hold shift + click to select a range
80cf736
Merge pull request #6258 from Automattic/update/settings-labels
eliorivero Feb 2, 2017
a40d46d
Merge pull request #6252 from Automattic/update/remove-icon-disconnec…
eliorivero Feb 2, 2017
be492ba
Merge pull request #6256 from Automattic/update/verification-tools-su…
eliorivero Feb 2, 2017
e3ac662
Debug: update help text
eliorivero Feb 2, 2017
91b8c85
General: remove unused method
eliorivero Feb 2, 2017
906d0d8
Debug: redirect to settings page after disconnection
eliorivero Feb 2, 2017
289bc9e
Replace 'types' with 'type' (#6261)
MichaelArestad Feb 2, 2017
8c125fb
Removes trailing periods from settings labels (#6259)
MichaelArestad Feb 2, 2017
42017d5
Merge pull request #6255 from Automattic/update/remove-disconnect-link
eliorivero Feb 2, 2017
0f71bdb
Simplifies and fixes label spacing in settings
MichaelArestad Feb 2, 2017
d9eefa6
Removed redundant setting explanation (#6268)
MichaelArestad Feb 2, 2017
d0935de
Moved support links out of FormFieldset and into SettingsGroup correc…
MichaelArestad Feb 2, 2017
ddfaf64
Settings UI: add a link to Sharing in Calypso. If it's not connected,…
eliorivero Feb 2, 2017
fa6f178
Settings UI: update Sharing link to not display icon when it goes to …
eliorivero Feb 3, 2017
92e07f1
Settings UI: remove updated settings notice after 2 seconds, fixes #6204
eliorivero Feb 3, 2017
621d64c
Settings UI: refactor updateSettings action to consolidate it with ex…
eliorivero Feb 3, 2017
a958c6c
Merge pull request #6285 from Automattic/update/remove-notices-after-…
eliorivero Feb 3, 2017
234a10c
Merge pull request #6274 from Automattic/add/sharing-link-settings-nav
eliorivero Feb 3, 2017
a098fc0
Updated design of brute force protection settings group (#6271)
MichaelArestad Feb 3, 2017
5f3e5b8
New settings card for Ads module
dbspringer Feb 7, 2017
05e365b
Removing extra comma
dbspringer Feb 8, 2017
b3dd96b
Formatting updates
dbspringer Feb 8, 2017
904a1c8
Merge branch 'master' into feature/settings-overhaul
zinigor Feb 10, 2017
d6e9f35
Add eslint gulp task, which includes lodash function import rule
dereksmart Feb 9, 2017
205d6ae
eslint: fix ERRORS (round 1)
dereksmart Feb 9, 2017
ffd4697
eslint: fix ERRORS (Round 2)
dereksmart Feb 10, 2017
75a4238
upgrade yarn.lock
dereksmart Feb 10, 2017
476fe77
Merge pull request #6349 from Automattic/add/calypso-eslint
eliorivero Feb 10, 2017
8685ab2
Travis: New test to check for eslint rules (#6366)
dereksmart Feb 10, 2017
78c6936
Settings: fixes remaining font size and spacing issues
MichaelArestad Feb 11, 2017
473304e
Update layout of XML sitemaps to bring it a little closer to Calypso
MichaelArestad Feb 11, 2017
7d99577
Remove unnecessary description for Custom Content Types
MichaelArestad Feb 10, 2017
d2d43e6
Stats settings: update label text for advanced options
MichaelArestad Feb 10, 2017
5f9b62f
Add proofreading legend
MichaelArestad Feb 10, 2017
3b558f4
Fixes settings info popover collision with labels
MichaelArestad Feb 10, 2017
3694436
Settings UI: move Connections to dashboard. Updated NavigationSetting…
eliorivero Feb 3, 2017
50ee66b
GUI tests: add tests for DashConnections component
eliorivero Feb 3, 2017
1e12fc2
Settings UI: update markup and styles to use DashItem
eliorivero Feb 3, 2017
b7fe648
Settings UI: make Connections visible for non-admins so they can link…
eliorivero Feb 6, 2017
4336cae
Merge pull request #6287 from Automattic/update/move-connections-to-a…
eliorivero Feb 13, 2017
ff3a48d
Merge pull request #6391 from Automattic/add/proofreading-legend-2
eliorivero Feb 13, 2017
eb99819
Merge pull request #6390 from Automattic/update/stats-label-copy-2
eliorivero Feb 13, 2017
6f0df0e
Merge pull request #6392 from Automattic/fix/popover-collision-2
eliorivero Feb 13, 2017
9de8500
Merge pull request #6389 from Automattic/remove/custom-content-types-…
eliorivero Feb 13, 2017
0dc4862
Merge pull request #6319 from Automattic/add/settings-overhaul-ads
eliorivero Feb 13, 2017
7b59440
Settings UI - ESLint: update link with target blank so it passes vali…
eliorivero Feb 13, 2017
a20dff0
Merge pull request #6378 from Automattic/update/xml-sitemaps-layout
eliorivero Feb 13, 2017
7dc25c1
Merge pull request #6377 from Automattic/fix/remaining-settings-spacing
eliorivero Feb 13, 2017
e587800
Settings UI: use sentence case for the setting cards that were using …
eliorivero Feb 14, 2017
8f0d5fb
Combined all settings tabs into one component.
zinigor Dec 23, 2016
6844690
Added search blur behaviour.
zinigor Jan 17, 2017
81e3103
Added new search term selector.
zinigor Jan 19, 2017
26315e1
Cleaned out old search component.
zinigor Jan 23, 2017
febd2f8
Added a 'nothing found notification'.
zinigor Feb 14, 2017
460d15a
Changed a message on empty search string.
zinigor Feb 14, 2017
94c4f86
Removed engagement tab remains and fixed tests for GUI.
zinigor Feb 14, 2017
a38c6aa
Dashboard: make scan notice clickable when threats detected
dereksmart Feb 14, 2017
d390164
Added changes that were lost during rebase.
zinigor Feb 14, 2017
a548d74
Build module headings (#6408)
dereksmart Feb 14, 2017
d1233fc
Fixed a typo.
zinigor Feb 14, 2017
609112c
Fixed concatenated strings and added context where needed.
zinigor Feb 14, 2017
db8b432
Added back properties lost in rebase.
zinigor Feb 14, 2017
6e8c6f2
Merge pull request #5997 from Automattic/add/unified-search
eliorivero Feb 14, 2017
215c86c
Endpoints: whitelist option for Markdown for posts. Remove code that …
eliorivero Feb 14, 2017
8c1ba3d
Settings UI: allow to toggle Markdown for posts and for comments inde…
eliorivero Feb 14, 2017
bb39581
Masthead: new nav buttons/links (#6407)
dereksmart Feb 15, 2017
14adcaa
Ads: update ads settings group labels and copy (#6401)
MichaelArestad Feb 15, 2017
03d0068
Merge pull request #6396 from Automattic/update/deactivate-markdown-p…
eliorivero Feb 15, 2017
9ca94b0
Merge branch 'master' into feature/settings-overhaul
zinigor Feb 15, 2017
7e5f0dc
Fix eslint error for target=_blank security check
dereksmart Feb 15, 2017
7ae61c1
Settings UI: update markup to adapt to changes in notices markup in dops
eliorivero Feb 2, 2017
7844b95
Settings UI: restore status 'is-info' property
eliorivero Feb 15, 2017
ed033a2
use sentence case
dereksmart Feb 15, 2017
78fba33
Settings UI: don't show progress notices.
eliorivero Feb 3, 2017
5cce34d
Merge pull request #6410 from Automattic/fix/client-side-i18n
eliorivero Feb 15, 2017
1a9bcb3
Merge pull request #6404 from Automattic/add/scan-dash-notification-t…
eliorivero Feb 15, 2017
3ce1136
Use CompactFormToggle instead of passing a prop that is no longer acc…
dereksmart Feb 15, 2017
d07615f
Settings UI: update support links to match Calypso style
eliorivero Feb 16, 2017
060937d
Custom Content Types: updated labels and description
MichaelArestad Feb 14, 2017
53ff203
Settings UI: only link to testimonial/portfolio screen in WP Admin if…
eliorivero Feb 15, 2017
bc6ca3b
Merge pull request #6400 from Automattic/update/ccc-labels
eliorivero Feb 17, 2017
c1ea5bf
Merge pull request #6270 from Automattic/update/vaultpress-in-setting…
eliorivero Feb 17, 2017
8c2a105
Added a proof of concept banner to the Antispam settings.
zinigor Jan 27, 2017
4e73943
Added banners with initial copy.
zinigor Feb 2, 2017
f645dba
Added a link to the plans comparison page.
zinigor Feb 2, 2017
cc2c2b3
Fixed the VideoPress banner and some lint errors.
zinigor Feb 17, 2017
169fcbd
GUI Tests: fix tests for SettingsCard component
eliorivero Feb 17, 2017
e9e2b4f
Settings UI: remove external icon from learn more links. Update GUI t…
eliorivero Feb 20, 2017
f57e648
Merge pull request #6189 from Automattic/add/banner-component
zinigor Feb 20, 2017
50b5cf3
Merge pull request #6423 from Automattic/update/remove-progress-notices
eliorivero Feb 20, 2017
84ba4cb
Update dependencies to include url-loader and update yarn.lock
dereksmart Feb 21, 2017
5257ca6
Merge pull request #6430 from Automattic/update/support-links-calypso
eliorivero Feb 21, 2017
3bbccb4
Preview different Plan UI's with a radio toggle (#6452)
dereksmart Feb 21, 2017
6b23c8c
Settings UI - At a Glance: add link to wpcom in Monitor card (#6433)
eliorivero Feb 21, 2017
55798bb
Settings UI: if site is not connected and user can't do it, show noti…
eliorivero Feb 21, 2017
18ed27c
Make the Main component update itself if the user's linked status has…
oskosk Feb 22, 2017
b23c3a1
Merge pull request #6470 from Automattic/fix/unlinked-admin-can-view-…
eliorivero Feb 24, 2017
a5e478e
Merge branch 'master' into feature/settings-overhaul
zinigor Feb 27, 2017
b1b1180
Settings: removed status prop from the beta banner (#6509)
MichaelArestad Feb 27, 2017
62c5b51
Settings: Updated to use "Color scheme" in two places (#6510)
MichaelArestad Feb 27, 2017
adf5454
Add build step to linting. (#6495)
zinigor Feb 28, 2017
702dc3c
Settings: updated Learn more links to be a bit shorter with correct p…
MichaelArestad Feb 28, 2017
03041ec
DashItem: fix disabled overflow text shadow (#6518)
MichaelArestad Feb 28, 2017
c89ab16
Dev Card: Add new actions for mocking user roles & permissions (#6498)
dereksmart Feb 28, 2017
c53e8dd
Settings: removed stray green focus style (#6519)
MichaelArestad Feb 28, 2017
b1b0882
Settings: fix toggle indents and move settings explanation on the smi…
MichaelArestad Feb 28, 2017
17e9944
Settings: change brute force label from Current to lowercase current …
MichaelArestad Feb 28, 2017
aa3d596
Settings: updates size of p text to be 14px (#6512)
MichaelArestad Feb 28, 2017
8649885
upgrade yarn.lock
dereksmart Feb 28, 2017
0dd61ee
Merge branch 'master' into feature/settings-overhaul
samhotchkiss Mar 1, 2017
7c2a493
Fix undefined variable (#6547)
dereksmart Mar 2, 2017
908ecc0
fix undefined variable during registration
dereksmart Mar 3, 2017
7be71f5
Updated color variables and explanation text class (#6521)
MichaelArestad Mar 6, 2017
b536106
Fixed spacing of dashboard settings toggle (#6543)
MichaelArestad Mar 6, 2017
3a8da4b
Settings UI: Add Google Analytics settings card (#6544)
dereksmart Mar 7, 2017
1d94214
Settings: Always use mystery man as avatar default. Fix user avatar d…
eliorivero Mar 7, 2017
d67180a
Settings: replace global with WP standard function
eliorivero Mar 7, 2017
9e57237
Settings: remove unused function jetpack_master_user_data(). Update p…
eliorivero Mar 7, 2017
261bd69
update yarn.lock
dereksmart Mar 8, 2017
1985d19
Settings UI: put Protect options into foldable card
eliorivero Mar 7, 2017
7558702
Merge pull request #6597 from Automattic/update/protect-foldable-card
eliorivero Mar 8, 2017
3a06305
Settings UI: update color of settings card header to match Calypso (#…
eliorivero Mar 9, 2017
65b8221
Settings: add spacing for dev mode notice text in mobile size (#6619)
eliorivero Mar 9, 2017
30fca6b
Settings UI: Put advanced settings in foldable cards (#6550)
dereksmart Mar 9, 2017
005abb0
Photon: updated tiled galleries descriptive text (#6620)
MichaelArestad Mar 10, 2017
c22bdde
Settings UI: don't show blank page if user triggers Skip to main cont…
eliorivero Mar 13, 2017
b3fc322
Merge pull request #6642 from Automattic/fix/skip-content-toolbar-a11y
eliorivero Mar 13, 2017
fab1d38
Merge pull request #6592 from Automattic/fix/force-mystery-connections
eliorivero Mar 13, 2017
9164e35
Upgraded yarn.lock.
zinigor Mar 14, 2017
5f57170
Fix the search component exit behaviour. (#6424)
zinigor Mar 14, 2017
c680b5b
Merge branch 'master' into feature/settings-overhaul
zinigor Mar 14, 2017
620fb70
Settings UI: Put advanced settings in foldable cards (#6550)
dereksmart Mar 9, 2017
2647f24
GUI Tests: verify that a non admin can access After the Deadline sett…
eliorivero Mar 3, 2017
9de3eaa
Settings UI: don't show Sharing tab to contributors. The reducer user…
eliorivero Mar 3, 2017
e5ed761
Endpoints: fix permission issue that wouldn't allow non admins to set…
eliorivero Mar 6, 2017
7a9404b
Settings: if user can't manage AtD and PbE, don't show the main toggle
eliorivero Mar 6, 2017
0dcc321
Settings UI: show only the minimum to subscriber users. Remove Settin…
eliorivero Mar 10, 2017
54944ec
Settings UI: make AtD look fully disabled for non admins if module is…
eliorivero Mar 10, 2017
a406ae9
Settings UI: don't display the dev version notice to subscribers
eliorivero Mar 11, 2017
7a0ac93
Settings UI - Non admin: when AtD or PbE are disabled don't show thei…
eliorivero Mar 14, 2017
2a654a2
Settings UI - Non admin: if non admin is unlinked, display a clickabl…
eliorivero Mar 14, 2017
83c6478
GUI Tests: update to pass tests after rebasing
eliorivero Mar 14, 2017
520426d
Merge pull request #6559 from Automattic/update/non-admin-settings
eliorivero Mar 14, 2017
e577555
Settings UI: Add VideoPress settings card (#6655)
dereksmart Mar 15, 2017
373d67b
Made banners only show when site data is not being fetched.
zinigor Mar 15, 2017
2b5efdf
Made Akismet point disappear on personal plan.
zinigor Mar 15, 2017
f255ee2
Make sure undefined routes go somewhere (to /dashbaord) (#6656)
dereksmart Mar 15, 2017
45bde3c
Updated yarn.lock.
zinigor Mar 15, 2017
9beeec9
Settings UI: introduce new reducer isSiteConnected that returns only …
eliorivero Mar 15, 2017
f16837b
Remove Settings links and buttons from disconnected views. (#6549)
zinigor Mar 15, 2017
3a3d751
Uses callToAction for existing banners, modifies captions.
zinigor Mar 15, 2017
1298c49
Remove transition status notices for activating modules on the dashbo…
dereksmart Mar 15, 2017
c43b018
Added conditional hiding of settings card chidren.
zinigor Mar 15, 2017
f488ecc
Settings UI: update banner action button label to be Upgrade instead …
eliorivero Mar 15, 2017
82f0f59
Merge pull request #6659 from Automattic/update/banners
eliorivero Mar 15, 2017
563e081
Settings UI: Replace some settings external links with clickable card…
dereksmart Mar 15, 2017
c871ffb
Settings UI: Fix behavior of Save buttons and children toggles (#6665)
dereksmart Mar 15, 2017
f07de22
Settings: fixes various font size issues
MichaelArestad Mar 15, 2017
c851079
Merge pull request #6681 from Automattic/fix/settings-font-size-issues
eliorivero Mar 16, 2017
eda4d63
Remove "login" from Jetpack (#6676)
MichaelArestad Mar 16, 2017
bd60758
Dev Tools: add the ability to mock threats for security scanning.
eliorivero Mar 16, 2017
aa51fc8
Settings UI: align learn more icons, mobile and desktop
eliorivero Mar 15, 2017
d035cc2
Settings UI: evenly space toggle explanation
eliorivero Mar 15, 2017
ab5ea0c
Settings UI: vertically align the toggle with its label
eliorivero Mar 15, 2017
e1c81cb
Settings UI: align toggles and notice in dash items, also solves bad …
eliorivero Mar 15, 2017
773cd60
Settings UI: indent Photon toggle explanation
eliorivero Mar 15, 2017
d969149
Settings UI: update texts for Protect settings card header and descri…
eliorivero Mar 15, 2017
134a1f0
Settings UI: updated spacing and alignment of info icon inside foldab…
eliorivero Mar 16, 2017
7202fb8
Merge pull request #6664 from Automattic/update/styles-align
eliorivero Mar 16, 2017
78d024a
Settings UI: introduce actions for scan settings card
eliorivero Mar 16, 2017
3e74b3f
Merge pull request #6688 from Automattic/add/mock-threats
eliorivero Mar 16, 2017
9f1a6b5
Tell screen readers that the Main section might change and should be …
ryelle Mar 17, 2017
9e5a345
Endpoints: allow to save Akismet key
eliorivero Mar 17, 2017
f892143
Adds SettingsCard for stats settings (#6691)
MichaelArestad Mar 17, 2017
2797889
Settings UI: convert Infinite Scroll toggles into radio options for m…
eliorivero Mar 17, 2017
b210bd1
Show upgrade prompt on Backup AAG card when on free version
dereksmart Mar 17, 2017
dab7fc1
Sometimes VP will be active without a plan. Let's make sure to not s…
dereksmart Mar 17, 2017
bcc0d0f
Merge pull request #6692 from Automattic/update/infinite-scroll-options
eliorivero Mar 17, 2017
f62c05c
Merge pull request #6687 from Automattic/update/security-actions-badge
eliorivero Mar 17, 2017
df3fcde
Endpoints: when /settings is called by GET method, include settings f…
eliorivero Mar 17, 2017
5135a17
Endpoints: add a key 'akismet' to list of settings returned by endpoi…
eliorivero Mar 17, 2017
de2f29f
Merge pull request #6693 from Automattic/add/akismet-save-key
eliorivero Mar 20, 2017
0e5ddf3
Settings UI: remove checkbox setting. Introduce input field to enter …
eliorivero Mar 17, 2017
8af8b8c
Merge branch 'master' into feature/settings-overhaul
dereksmart Mar 20, 2017
c009138
Endpoints: allow to clear the Akismet API key field.
eliorivero Mar 20, 2017
4210c5c
Settings UI: display message stating validity of API key. Don't show …
eliorivero Mar 20, 2017
4dc79e4
Add accessibility linter rules
ryelle Mar 14, 2017
b1f061d
Fix issues flagged by new accessibility linter
ryelle Mar 14, 2017
6dba314
Settings UI: hide valid/invalid message when text input is cleared
eliorivero Mar 21, 2017
f713060
Endpoints: add new endpoint /module/<service>/key/check to check the …
eliorivero Mar 21, 2017
dd49a50
Settings UI: add actions/reducers to check the validity of an Akismet…
eliorivero Mar 21, 2017
fe2ba32
Endpoints: add new one supporting POST method that receives a key to …
eliorivero Mar 21, 2017
afceaae
Settings UI: allow to pass a key to check against a service on the fly.
eliorivero Mar 21, 2017
3c653a0
Settings UI: when key is first retrieved block input field and show m…
eliorivero Mar 21, 2017
849a41f
Settings UI: only show explanation message under input field when key…
eliorivero Mar 21, 2017
79f0f48
Merge branch 'master' into feature/settings-overhaul
dereksmart Mar 21, 2017
ec3788f
Fix render of main page to reroute to jumpstart and if on correct path
dereksmart Mar 22, 2017
a75bd88
Endpoints: check that user can manage_options to use the API key chec…
eliorivero Mar 22, 2017
d9cecb4
Remove unused rule for saving mobile theme options (#6716)
dereksmart Mar 22, 2017
c4ae7f2
Add upgrade banner for wordads (#6708)
dereksmart Mar 22, 2017
6ca10b3
Update yarn.lock
eliorivero Mar 22, 2017
9e7a76c
Settings UI: new support block. Update info for HEs gravatars to incl…
eliorivero Mar 22, 2017
85de470
Settings UI: don't enable the Save settings button if the key entered…
eliorivero Mar 22, 2017
8f9b193
Settings UI: Add masterbar card (#6715)
dereksmart Mar 22, 2017
68e6ec6
Settings UI: update foldable card text based on API key validity
eliorivero Mar 22, 2017
f061d84
Add a toggle for the sitemaps feature (#6718)
dereksmart Mar 22, 2017
9b5ab1b
Settings UI - Endpoint: don't accept any whitespace. Disable save but…
eliorivero Mar 22, 2017
3bb6afe
Settings UI: allow to save an empty key for Akismet key. This is only…
eliorivero Mar 23, 2017
f844ee4
Settings UI: fix support block triple render (#6723)
eliorivero Mar 23, 2017
bda448a
Endpoints: allow checking for a key when the current key is invalid
eliorivero Mar 23, 2017
fc6d094
Merge pull request #6717 from Automattic/fix/jumpstart
eliorivero Mar 23, 2017
ce5cf20
Merge pull request #6696 from Automattic/update/akismet-api-key-input
eliorivero Mar 23, 2017
ccf49a2
Revise upgrade banner text (#6680)
MichaelArestad Mar 24, 2017
de1bda7
Settings UI: update disconnection dialog (#6729)
eliorivero Mar 24, 2017
271b249
Fix PHP Notice
Mar 24, 2017
ef44461
Fix spacing issuer in masterbar description
Mar 24, 2017
cc23952
Merge pull request #6650 from Automattic/add/eslint-a11y-rules-so
eliorivero Mar 24, 2017
31506c3
refactor pro-status component to be more DRY and readable...
dereksmart Mar 24, 2017
72b8b7c
Merge branch 'master' into feature/settings-overhaul
samhotchkiss Mar 24, 2017
4d73745
Change Activate to Upgrade (#6741)
samhotchkiss Mar 24, 2017
2141032
Remove video upgrade card from Premium to Business (#6740)
samhotchkiss Mar 24, 2017
478e738
Settings UI: don't show Sitemaps settings if site discourages search …
eliorivero Mar 24, 2017
6d6fbcf
Fix link URL under masterbar card
dereksmart Mar 24, 2017
f395f2f
fix subscriptions view email followers logic -- show link to link use…
dereksmart Mar 24, 2017
e5504dc
fix broken line break in SEO card
dereksmart Mar 24, 2017
1f3f97d
fix yarn error, undefined var
dereksmart Mar 24, 2017
07ae2f6
Build: suppress for now the a11y errors since DOPS needs a few fixes.…
eliorivero Mar 24, 2017
14f2484
Settings UI: remove avatars from support block
eliorivero Mar 24, 2017
decfb27
Merge pull request #6748 from Automattic/delete/support-block-avatars
eliorivero Mar 24, 2017
705cec3
Settings UI: don't initiate a new site data query since there's alrea…
eliorivero Mar 24, 2017
6ab9034
Adds a new route and tab for /sharing
dereksmart Mar 24, 2017
b95fb20
Reorder tab, fix page make publicize available for editors
dereksmart Mar 24, 2017
ef16e93
Settings UI: don't alert user twice about unsaved settings
eliorivero Mar 24, 2017
140a7b1
fix no newline
dereksmart Mar 24, 2017
304143a
use isAkismetKeyValid for key check, make sure to not show upgrade pr…
dereksmart Mar 24, 2017
2b17ca7
Settings UI: move Sitemaps into its own card
eliorivero Mar 24, 2017
b93574c
fix lint errors. Use wp-admin settings if in dev mode
dereksmart Mar 24, 2017
02bd408
Settings UI: fix reducer name
eliorivero Mar 24, 2017
cddecab
remove unused variable causing lint errors
dereksmart Mar 24, 2017
e5295dc
Settings UI: allow user to configure buttons in WP Admin if site is i…
eliorivero Mar 24, 2017
6007d3a
Merge pull request #6749 from Automattic/fix/disconnection-dialog-lat…
dereksmart Mar 24, 2017
c95c16b
Merge pull request #6751 from Automattic/fix/double-alert-unsaved-set…
dereksmart Mar 24, 2017
9e55ec1
Merge pull request #6739 from Automattic/refactor/pro-status
eliorivero Mar 24, 2017
4e6b487
Merge pull request #6746 from Automattic/update/new-card-sitemaps
dereksmart Mar 24, 2017
7da6e88
fix upgrade CTA text on support card banner
dereksmart Mar 24, 2017
ffc418c
Remove tests for sharing tab: it now behaves as all other tabs and th…
dereksmart Mar 24, 2017
6add1c3
Settings UI: add Stats banner when it's inactive
eliorivero Mar 24, 2017
1e1e62b
Merge pull request #6750 from Automattic/add/sharing-tab
dereksmart Mar 24, 2017
0214c9a
Merge branch 'master' into feature/settings-overhaul
dereksmart Mar 24, 2017
03a328c
Merge pull request #6752 from Automattic/add/stats-banner-traffic-tab
dereksmart Mar 24, 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
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_inc/client/**/test/*.js
91 changes: 49 additions & 42 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,79 +1,86 @@
{
"parser": "babel-eslint",
"extends": "wpcalypso/react",
"env": {
"browser": true,
"es6": true,
"mocha": true,
"node": true
"node": true,
"jquery": true
},
"ecmaFeatures": {
"jsx": true,
"modules": true
},
"plugins": [
"eslint-plugin-react"
"eslint-plugin-react",
"lodash"
],
"rules": {
"array-bracket-spacing": [ 1, "always" ],
"brace-style": [ 1, "1tbs" ],
// REST API objects include underscores
"camelcase": 0,
"comma-dangle": 0,
"comma-spacing": 1,
// Allows returning early as undefined
"consistent-return": 0,
"dot-notation": 1,
"eqeqeq": [ 2, "allow-null" ],
"eol-last": 1,
"curly": 1,
"computed-property-spacing": [ 1, "always" ],
"func-call-spacing": 1,
"indent": [ 1, "tab", { "SwitchCase": 1 } ],
"jsx-quotes": [ 1, "prefer-double" ],
"key-spacing": 1,
// Most common is "Emitter", should be improved
"new-cap": 1,
"no-cond-assign": 2,
"keyword-spacing": 1,
"lodash/import-scope": [ 2, "method" ],
"max-len": 0, // Ignored for Jetpack
"new-cap": [ 1, { "capIsNew": false, "newIsCap": true } ],
"no-else-return": 1,
"no-empty": 1,
// Flux stores use switch case fallthrough
"no-fallthrough": 0,
"no-lonely-if": 1,
"no-mixed-requires": 0,
"no-mixed-spaces-and-tabs": 1,
"no-multiple-empty-lines": [ 1, { "max": 1 } ],
"no-extra-semi": 1,
"no-multiple-empty-lines": [ 1, { max: 1 } ],
"no-multi-spaces": 1,
"no-nested-ternary": 1,
"no-new": 1,
"no-process-exit": 1,
"no-restricted-imports": [ 1, "lib/sites-list", "lib/mixins/data-observe" ],
"no-restricted-modules": [ 1, "lib/sites-list", "lib/mixins/data-observe" ],
"no-shadow": 1,
"no-spaced-func": 1,
"no-trailing-spaces": 1,
"no-underscore-dangle": 0,
// Allows Chai `expect` expressions
"no-unused-expressions": 0,
"no-unused-vars": 1,
// Teach eslint about React+JSX
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
// Allows function use before declaration
"no-use-before-define": [ 2, "nofunc" ],
// We split external, internal, module variables
"one-var": 0,
"operator-linebreak": [ 1, "after", { "overrides": { "?": "ignore", ":": "ignore" } } ],
"no-var": 1,
"object-curly-spacing": [ 1, "always" ],
"operator-linebreak": [ 1, "after", { "overrides": {
"?": "before",
":": "before"
} } ],
"padded-blocks": [ 1, "never" ],
"quote-props": [ 1, "as-needed" ],
"prefer-const": 1,
"quote-props": [ 1, "as-needed", { "keywords": true } ],
"quotes": [ 1, "single", "avoid-escape" ],
"react/jsx-curly-spacing": [ 1, "always" ],
"react/jsx-no-bind": 1,
"react/jsx-space-before-closing": 1,
"react/no-danger": 1,
"react/no-did-mount-set-state": 1,
"react/no-did-update-set-state": 1,
"react/no-is-mounted": 1,
"react/prefer-es6-class": 1,
"semi": 1,
"semi-spacing": 1,
"space-after-keywords": [ 1, "always" ],
"space-before-blocks": [ 1, "always" ],
"space-before-function-paren": [ 1, "never" ],
// Our array literal index exception violates this rule
"space-in-brackets": 0,
"space-in-parens": [ 1, "always" ],
"space-infix-ops": [ 1, { "int32Hint": false } ],
// Ideal for "!" but not for "++"
"space-unary-ops": 0,
// Assumed by default with Babel
"strict": [ 2, "never" ],
"space-unary-ops": [ 1, {
"overrides": {
"!": true
}
} ],
"template-curly-spacing": [ 1, "always" ],
"valid-jsdoc": [ 1, { "requireReturn": false } ],
// Common top-of-file requires, expressions between external, interal
"vars-on-top": 1,
"yoda": 0
"wpcalypso/i18n-ellipsis": 1,
"wpcalypso/i18n-no-collapsible-whitespace": 1,
"wpcalypso/i18n-no-this-translate": 1,
"wpcalypso/i18n-no-variables": 1,
"wpcalypso/i18n-mismatched-placeholders": 1,
"wpcalypso/import-docblock": 1,
"wpcalypso/jsx-gridicon-size": 1,
"wpcalypso/jsx-classname-namespace": 0 // Ignored for Jetpack
}
}
2 changes: 2 additions & 0 deletions .svnignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.eslintrc
.eslintignore
.git
.gitignore
.sass-cache
Expand Down
11 changes: 5 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ env:
global:
- WP_TRAVISCI=phpunit

cache:
directories:
- ~/.yarn
- ~/.nvm
cache: yarn

# Next we define our matrix of additional build configurations to test against.
# The versions listed above will automatically create our first configuration,
Expand All @@ -28,9 +25,11 @@ cache:
matrix:
include:
- php: "5.6"
env: WP_TRAVISCI="npm run test-client"
env: WP_TRAVISCI="yarn lint"
- php: "5.6"
env: WP_TRAVISCI="npm run test-gui"
env: WP_TRAVISCI="yarn test-client"
- php: "5.6"
env: WP_TRAVISCI="yarn test-gui"
- php: "5.2"
- php: "5.3"
- php: "5.5"
Expand Down
1 change: 0 additions & 1 deletion _inc/client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ Action types dispatched during the UI lifecycle are listed in `state/action-type
* **getApiRootUrl( state )**
* **getConnectUrl( state )**
* **getCurrentVersion( state )**
* **getHappinessGravatarIds( state )**
* **getInitialStateStatsData( state )**
* **getJetpackNotices( state )**
* **getJetpackStateNoticesErrorCode( state )**
Expand Down
15 changes: 9 additions & 6 deletions _inc/client/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ import Main from 'main';
// Initialize the accessibile focus to allow styling specifically for keyboard navigation
accessibleFocus();

const Initial_State = window.Initial_State;

Initial_State.locale = JSON.parse( Initial_State.locale );

if ( 'undefined' !== typeof Initial_State.locale[ '' ] ) {
Expand Down Expand Up @@ -61,14 +63,15 @@ function render() {
<Route path='/dashboard' name={ i18n.translate( 'At A Glance' ) } component={ Main } />
<Route path='/apps' name={ i18n.translate( 'Apps', { context: 'Navigation item.' } ) } component={ Main } />
<Route path='/plans' name={ i18n.translate( 'Plans', { context: 'Navigation item.' } ) } component={ Main } />
<Route path='/settings' name={ i18n.translate( 'General', { context: 'Navigation item.' } ) } component={ Main } />
<Route path='/general' name={ i18n.translate( 'General', { context: 'Navigation item.' } ) } component={ Main } />
<Route path='/engagement' name={ i18n.translate( 'Engagement', { context: 'Navigation item.' } ) } component={ Main } />
<Route path='/settings' name={ i18n.translate( 'Settings', { context: 'Navigation item.' } ) } component={ Main } />
<Route path='/discussion' name={ i18n.translate( 'Discussion', { context: 'Navigation item.' } ) } component={ Main } />
<Route path='/security' name={ i18n.translate( 'Security', { context: 'Navigation item.' } ) } component={ Main } />
<Route path='/appearance' name={ i18n.translate( 'Appearance', { context: 'Navigation item.' } ) } component={ Main } />
<Route path='/traffic' name={ i18n.translate( 'Traffic', { context: 'Navigation item.' } ) } component={ Main } />
<Route path='/writing' name={ i18n.translate( 'Writing', { context: 'Navigation item.' } ) } component={ Main } />
<Route path='/search' component={ Main } />
<Route path="*" />
<Route path='/sharing' name={ i18n.translate( 'Sharing', { context: 'Navigation item.' } ) } component={ Main } />
<Route path='/wpbody-content' component={ Main } />
<Route path='/wp-toolbar' component={ Main } />
<Route path="*" component={ Main } />
</Router>
</Provider>
</div>,
Expand Down
153 changes: 0 additions & 153 deletions _inc/client/appearance/index.jsx

This file was deleted.

8 changes: 4 additions & 4 deletions _inc/client/apps/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const Apps = ( props ) => {
</div>
</div>
<div className="jp-landing-apps__clouds jp-clouds-top">
<img src={ imagePath + '/white-clouds.svg' } />
<img src={ imagePath + '/white-clouds.svg' } alt="" />
</div>
</div>

Expand All @@ -56,7 +56,7 @@ const Apps = ( props ) => {
props.userCanManagePlugins
? <div className="jp-landing-apps__feature">
<div className="jp-landing-apps__feature-col jp-landing-apps__feature-img">

<svg width="300" height="200" viewBox="0 0 1005 700" xmlns="http://www.w3.org/2000/svg" xmlnsXlink="http://www.w3.org/1999/xlink" aria-labelledby="wpcomPlugins" role="img"><title id="wpcomPlugins">{ __( 'Image of managing your sites plugins on your WordPress.com dashboard' ) }</title><defs><rect id="a" width="1005" height="700" rx="8"/><rect id="b" width="335" height="233" rx="8"/><path id="c" d="M40 19.9996V0H0v39.9992h40z"/><path id="e" d="M40 19.9996V0H0v39.9992h40z"/><path id="g" d="M40 19.9996V0H0v39.9992h40z"/><path id="i" d="M40 19.9996V0H0v39.9992h40z"/><path id="k" d="M40 19.9996V0H0v39.9992h40z"/></defs><g fill="none" fill-rule="evenodd"><g><rect fill="#F3F6F8" width="1005" height="700" rx="8"/><use fill="#F3F6F8" xlinkHref="#a"/></g><g><rect fill="#E9EFF3" width="1005" height="65" rx="8"/><path d="M27.5 31c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5zm50 0c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5zm-25 0c-4.1425 0-7.5-3.3575-7.5-7.5s3.3575-7.5 7.5-7.5 7.5 3.3575 7.5 7.5-3.3575 7.5-7.5 7.5z" fill="#4F748E"/></g><path fill="#0087BE" d="M0 47h1005v65H0"/><g><path fill="#FFF" d="M196 176h614v85H196z"/><g transform="translate(740 199)"><mask id="d" fill="#fff"><use xlinkHref="#c"/></mask><path d="M18 31.5352l-9.768-9.768 3.536-3.534L18 24.4652l17.316-17.316c-3.67-4.368-9.166-7.15-15.316-7.15-11.046 0-20 8.956-20 20 0 11.046 8.954 20 20 20s20-8.954 20-20c0-3.056-.706-5.942-1.932-8.532L18 31.5352z" fill="#4AB866" mask="url(#d)"/></g><path fill="#87A6BC" d="M211 191h55v55h-55z"/><path d="M244.5 213v-7.5c0-.828-.672-1.5-1.5-1.5s-1.5.672-1.5 1.5v7.5h-6v-7.5c0-.828-.672-1.5-1.5-1.5s-1.5.672-1.5 1.5v7.5H228v6c0 4.1865 2.4555 7.7895 6 9.4755V234h9v-5.5245c3.5445-1.686 6-5.289 6-9.4755v-6h-4.5z" fill="#FFF"/><path fill="#87A6BC" d="M286 197h225v18H286z"/><path fill="#A8BECE" d="M286 225h165v14H286z"/><g><path fill="#FFF" d="M196 271h614v85H196z"/><g transform="translate(740 294)"><mask id="f" fill="#fff"><use xlinkHref="#e"/></mask><path d="M18 31.5352l-9.768-9.768 3.536-3.534L18 24.4652l17.316-17.316c-3.67-4.368-9.166-7.15-15.316-7.15-11.046 0-20 8.956-20 20 0 11.046 8.954 20 20 20s20-8.954 20-20c0-3.056-.706-5.942-1.932-8.532L18 31.5352z" fill="#4AB866" mask="url(#f)"/></g><path fill="#87A6BC" d="M211 286h55v55h-55z"/><path d="M244.5 308v-7.5c0-.828-.672-1.5-1.5-1.5s-1.5.672-1.5 1.5v7.5h-6v-7.5c0-.828-.672-1.5-1.5-1.5s-1.5.672-1.5 1.5v7.5H228v6c0 4.1865 2.4555 7.7895 6 9.4755V329h9v-5.5245c3.5445-1.686 6-5.289 6-9.4755v-6h-4.5z" fill="#FFF"/><g><path fill="#87A6BC" d="M286 292h225v18H286z"/><path fill="#A8BECE" d="M286 320h165v14H286z"/></g></g><g><path fill="#FFF" d="M196 366h614v85H196z"/><g transform="translate(740 389)"><mask id="h" fill="#fff"><use xlinkHref="#g"/></mask><path d="M18 31.5352l-9.768-9.768 3.536-3.534L18 24.4652l17.316-17.316c-3.67-4.368-9.166-7.15-15.316-7.15-11.046 0-20 8.956-20 20 0 11.046 8.954 20 20 20s20-8.954 20-20c0-3.056-.706-5.942-1.932-8.532L18 31.5352z" fill="#4AB866" mask="url(#h)"/></g><path fill="#87A6BC" d="M211 381h55v55h-55z"/><path d="M244.5 403v-7.5c0-.828-.672-1.5-1.5-1.5s-1.5.672-1.5 1.5v7.5h-6v-7.5c0-.828-.672-1.5-1.5-1.5s-1.5.672-1.5 1.5v7.5H228v6c0 4.1865 2.4555 7.7895 6 9.4755V424h9v-5.5245c3.5445-1.686 6-5.289 6-9.4755v-6h-4.5z" fill="#FFF"/><g><path fill="#87A6BC" d="M286 387h225v18H286z"/><path fill="#A8BECE" d="M286 415h165v14H286z"/></g></g><g><path fill="#FFF" d="M196 461h614v85H196z"/><g transform="translate(740 484)"><mask id="j" fill="#fff"><use xlinkHref="#i"/></mask><path d="M18 31.5352l-9.768-9.768 3.536-3.534L18 24.4652l17.316-17.316c-3.67-4.368-9.166-7.15-15.316-7.15-11.046 0-20 8.956-20 20 0 11.046 8.954 20 20 20s20-8.954 20-20c0-3.056-.706-5.942-1.932-8.532L18 31.5352z" fill="#4AB866" mask="url(#j)"/></g><path fill="#87A6BC" d="M211 476h55v55h-55z"/><path d="M244.5 498v-7.5c0-.828-.672-1.5-1.5-1.5s-1.5.672-1.5 1.5v7.5h-6v-7.5c0-.828-.672-1.5-1.5-1.5s-1.5.672-1.5 1.5v7.5H228v6c0 4.1865 2.4555 7.7895 6 9.4755V519h9v-5.5245c3.5445-1.686 6-5.289 6-9.4755v-6h-4.5z" fill="#FFF"/><g><path fill="#87A6BC" d="M286 482h225v18H286z"/><path fill="#A8BECE" d="M286 510h165v14H286z"/></g></g><g><path fill="#FFF" d="M196 556h614v85H196z"/><g transform="translate(740 579)"><mask id="l" fill="#fff"><use xlinkHref="#k"/></mask><path d="M18 31.5352l-9.768-9.768 3.536-3.534L18 24.4652l17.316-17.316c-3.67-4.368-9.166-7.15-15.316-7.15-11.046 0-20 8.956-20 20 0 11.046 8.954 20 20 20s20-8.954 20-20c0-3.056-.706-5.942-1.932-8.532L18 31.5352z" fill="#4AB866" mask="url(#l)"/></g><path fill="#87A6BC" d="M211 571h55v55h-55z"/><path d="M244.5 593v-7.5c0-.828-.672-1.5-1.5-1.5s-1.5.672-1.5 1.5v7.5h-6v-7.5c0-.828-.672-1.5-1.5-1.5s-1.5.672-1.5 1.5v7.5H228v6c0 4.1865 2.4555 7.7895 6 9.4755V614h9v-5.5245c3.5445-1.686 6-5.289 6-9.4755v-6h-4.5z" fill="#FFF"/><g><path fill="#87A6BC" d="M286 577h225v18H286z"/><path fill="#A8BECE" d="M286 605h165v14H286z"/></g></g></g></g></svg>

</div>
Expand Down Expand Up @@ -145,7 +145,7 @@ const Apps = ( props ) => {

<div className="jp-landing-apps__footer">
<div className="jp-landing-apps__clouds jp-clouds-bottom">
<img src={ imagePath + '/white-clouds-reverse.svg' } />
<img src={ imagePath + '/white-clouds-reverse.svg' } alt="" />
</div>
<div className="jp-landing-apps__footer-top">
<h2 className="jp-landing-apps__title">
Expand All @@ -156,7 +156,7 @@ const Apps = ( props ) => {
{ __( 'Get WordPress apps for any screen.' ) }
</p>

<img src={ imagePath + '/apps/triple-devices.svg' } className="jp-landing-apps__devices" role="img" alt={ __( 'Example of three devices to use the WordPress apps. An iPhone, Android phone, and a apple laptop computer.' ) } />
<img src={ imagePath + '/apps/triple-devices.svg' } className="jp-landing-apps__devices" alt={ __( 'Example of three devices to use the WordPress apps. An iPhone, Android phone, and a apple laptop computer.' ) } />
</div>

<div className="jp-landing-apps__downloads">
Expand Down
Loading