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

Add focus keywords to redux state #9306

Closed
IreneStr opened this issue Mar 21, 2018 · 0 comments
Closed

Add focus keywords to redux state #9306

IreneStr opened this issue Mar 21, 2018 · 0 comments

Comments

@IreneStr
Copy link
Contributor

IreneStr commented Mar 21, 2018

We should add the focus keywords to the redux state. We need this when we're moving the content analysis from the metabox to the sidebar.

Current state:

{
	activeKeyword: "string",
	analysis:
		{ 
			readability: [],
			seo: { keyword1: [] } ,
		},
	marksButtonStatus: "string",
}

Future state:

{
	activeKeyword: "string",
	keywords: [],
	analysis:
		{ 
			readability: [], 
			seo: { keyword1: [] },
		},
	marksButtonStatus: "string",
}

keywords should be an array, because users can have multiple focus keywords in Premium.

NB: adding the Premium keywords to the state is not within the scope of this issue.

Please branch from feature/content-analysis-in-sidebar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants