Skip to content
This repository has been archived by the owner on Oct 4, 2022. It is now read-only.

Commit

Permalink
* Fixes a bug where keyphrases weren't recognized in the URL when the…
Browse files Browse the repository at this point in the history
… words in the URL were separated by underscore characters instead of hyphens.

* Fixes a bug that caused numbers to be stripped when marking a keyphrase containing a number, e.g. `Yoast SEO 9.3`.

* Adds relevant words from the browserified example to the dev tool.
* Adds the option to use local morphology data in the dev tool.

* Improves error handling in the analysis web worker by rejecting the last request instead of just throwing an error.
  • Loading branch information
nataliashitova committed Dec 14, 2018
2 parents 8b4f112 + 27427fd commit 9e2f5aa
Show file tree
Hide file tree
Showing 70 changed files with 3,600 additions and 9,696 deletions.
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,21 @@
* Platform: WordPress | Drupal | Standalone
* Platform version:
* Yoast SEO version:

<!-- You can check these boxes once you've created the issue. -->
Which browser is affected (or browsers):
- [ ] Chrome
- [ ] Firefox
- [ ] Safari
- [ ] Other <!-- please specify -->
<!-- You can check these boxes once you've created the issue.
- If you are using Gutenberg or the Classic Editor plugin, please make sure you have updated to the latest version.
-->

If relevant, which editor is affected (or editors):
- [ ] Classic Editor
- [ ] Gutenberg
- [ ] Classic Editor plugin

Beta
- [ ] Recalibration beta activated
14 changes: 13 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,19 @@ This changelog is according to [Keep a Changelog](http://keepachangelog.com).
All notable changes to this project will be documented in this file.
We will follow [Semantic Versioning](http://semver.org/) from version 2 and onwards.

### 1.43.0 November 19th, 2018
## 1.44.0 December 14th, 2018
### Fixed
* Fixes a bug where keyphrases weren't recognized in the URL when the words in the URL were separated by underscore characters instead of hyphens.
* Fixes a bug that caused numbers to be stripped when marking a keyphrase containing a number, e.g. `Yoast SEO 9.3`.

### Added
* Adds relevant words from the browserified example to the dev tool.
* Adds the option to use local morphology data in the dev tool.

### Changed
* Improves error handling in the analysis web worker by rejecting the last request instead of just throwing an error.

## 1.43.0 November 19th, 2018
### Fixed
* Fixes assessments failing when using a `<` sign in the content.
* Fixes a bug where paragraphs were sometimes not correctly detected because paragraph tags were not automatically added in WordPress-like fashion.
Expand Down
36 changes: 0 additions & 36 deletions examples/relevant-words-example/index.html

This file was deleted.

7,964 changes: 0 additions & 7,964 deletions examples/relevant-words-example/relevant-words-example-browserified.js

This file was deleted.

94 changes: 0 additions & 94 deletions examples/relevant-words-example/relevant-words-example.js

This file was deleted.

1 change: 0 additions & 1 deletion examples/relevant-words-example/style.css

This file was deleted.

67 changes: 0 additions & 67 deletions examples/relevant-words-example/style.scss

This file was deleted.

1 change: 1 addition & 0 deletions examples/webpack/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ rules:
require-jsdoc: 0
react/prop-types: 0
react/jsx-no-bind: 0
no-unused-vars: 0
3 changes: 3 additions & 0 deletions examples/webpack/config/paths.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,7 @@ module.exports = {
yoastSrc: resolveApp( '../../src' ),
yoastSpec: resolveApp( '../../spec' ),
yoastComponents: resolveApp( 'node_modules/yoast-components' ),
wpI18n: resolveApp( "node_modules/@wordpress/i18n" ),
react: resolveApp( "node_modules/react" ),
reactDom: resolveApp( "node_modules/react-dom" ),
};
9 changes: 7 additions & 2 deletions examples/webpack/config/webpack.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,18 @@ module.exports = {
// for React Native Web.
extensions: [ '.web.js', '.mjs', '.ts', '.js', '.json', '.web.jsx', '.jsx' ],
alias: {
// This prevents loading multiple versions of React:
react: paths.react,
"react-dom": paths.reactDom,

// This prevents multiple instances of i18n.
"@wordpress/i18n": paths.wpI18n,

// Support React Native Web
// https://www.smashingmagazine.com/2016/08/a-glimpse-into-the-future-with-react-native-for-web/
'react-native': 'react-native-web',

// Disabled for now because it doesn't work with yoast-components:
// 'yoastseo': paths.yoastSrc,
'yoastsrc': paths.yoastSrc,
'yoastspec': paths.yoastSpec,
},
plugins: [],
Expand Down
32 changes: 16 additions & 16 deletions examples/webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@wordpress/i18n": "^3.0.1",
"autoprefixer": "7.1.6",
"babel-core": "6.26.0",
"babel-core": "6.26.3",
"babel-eslint": "7.2.3",
"babel-jest": "20.0.3",
"babel-loader": "7.1.2",
"babel-preset-react-app": "^3.1.1",
"babel-runtime": "6.26.0",
"case-sensitive-paths-webpack-plugin": "2.1.1",
"case-sensitive-paths-webpack-plugin": "2.1.2",
"chalk": "1.1.3",
"css-loader": "0.28.7",
"dotenv": "4.0.0",
Expand All @@ -34,29 +35,30 @@
"object-assign": "4.1.1",
"postcss-flexbugs-fixes": "3.2.0",
"postcss-loader": "2.0.8",
"promise": "8.0.1",
"promise": "8.0.2",
"prop-types": "^15.6.2",
"raf": "3.4.0",
"react": "^16.4.1",
"raf": "3.4.1",
"react": "^16.6.3",
"react-dev-utils": "^5.0.1",
"react-dom": "^16.4.1",
"react-intl": "^2.4.0",
"react-redux": "^5.0.7",
"redux": "^4.0.0",
"redux-localstorage-simple": "^2.1.3",
"react-dom": "^16.6.3",
"react-intl": "^2.7.2",
"react-redux": "^5.1.1",
"react-select": "^2.1.1",
"react-table": "^6.8.6",
"redux": "^4.0.1",
"redux-localstorage-simple": "^2.1.4",
"redux-thunk": "^2.3.0",
"resolve": "1.6.0",
"resolve": "1.8.1",
"style-loader": "0.19.0",
"styled-components": "^3.4.5",
"sw-precache-webpack-plugin": "0.11.4",
"ts-loader": "^3.5.0",
"url-loader": "0.6.2",
"webpack": "3.8.1",
"webpack-dev-server": "2.9.4",
"webpack-manifest-plugin": "1.3.2",
"whatwg-fetch": "2.0.3",
"worker-loader": "2.0.0",
"yoast-components": "^4.13.0"
"yoast-components": "^4.15.0"
},
"scripts": {
"start": "node scripts/start.js",
Expand Down Expand Up @@ -103,7 +105,5 @@
"react-app"
]
},
"devDependencies": {
"ts-loader": "^3.5.0"
}
"devDependencies": {}
}
2 changes: 1 addition & 1 deletion examples/webpack/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>Yoast SEO Content Analysis</title>
<title>YoastSEO.js development tool</title>
</head>
<body>
<noscript>
Expand Down
Loading

0 comments on commit 9e2f5aa

Please sign in to comment.