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

feat!: refactor Admin UX/UI #141

Draft
wants to merge 11 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
16 changes: 2 additions & 14 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
module.exports = {
extends: [
'plugin:@wordpress/eslint-plugin/recommended',
'plugin:you-dont-need-lodash-underscore/compatible',
],
extends: [ 'plugin:@wordpress/eslint-plugin/recommended' ],
globals: {
fetchMock: true,
IntersectionObserver: 'readonly',
Expand Down Expand Up @@ -65,19 +62,10 @@ module.exports = {
],
},
overrides: [
{
files: [ '**/bin/**.js' ],
rules: {
'you-dont-need-lodash-underscore/omit': 'off',
},
},
{
files: [ '*.ts', '*.tsx' ],
parser: '@typescript-eslint/parser',
extends: [
'plugin:you-dont-need-lodash-underscore/compatible',
'plugin:@typescript-eslint/recommended',
],
extends: [ 'plugin:@typescript-eslint/recommended' ],
rules: {
'prefer-rest-params': 'off',
'@typescript-eslint/no-explicit-any': 'error',
Expand Down
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
/package.json export-ignore
/phpstan.neon.dist export-ignore
/phpunit.xml.dist export-ignore
/postcss.config.js export-ignore
/tsconfig.base.json export-ignore
/tsconfig.json export-ignore
/webpack.config.js export-ignore
12 changes: 10 additions & 2 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,19 @@
"declaration-block-no-duplicate-properties": null,
"declaration-property-unit-allowed-list": null,
"font-weight-notation": null,
"max-line-length": null,
"no-descending-specificity": null,
"no-duplicate-selectors": null,
"rule-empty-line-before": null,
"selector-class-pattern": null,
"value-keyword-case": null
"value-keyword-case": null,
"selector-pseudo-class-no-unknown": [
true,
{
"ignorePseudoClasses": [
"global",
"export"
]
}
]
}
}
6 changes: 4 additions & 2 deletions activation.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

namespace WPGraphQL\Login;

use WPGraphQL\Login\Admin\Upgrade\UpgradeRegistry;

/**
* Runs when the plugin is activated.
*
Expand All @@ -20,7 +22,7 @@ function activation_callback(): callable {
// Runs when the plugin is activated.
do_action( 'graphql_login_activate' );

// store the current version of the plugin.
update_option( 'wp_graphql_login_version', WPGRAPHQL_LOGIN_VERSION );
// Run any upgrade routines.
UpgradeRegistry::do_upgrades();
};
}
1 change: 1 addition & 0 deletions build/807-rtl.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions build/807.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions build/807.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion build/admin-rtl.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/admin.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('react', 'react-jsx-runtime', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-notices'), 'version' => '69436396da8891f7d5f6');
<?php return array('dependencies' => array('react', 'react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom-ready', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-notices', 'wp-primitives'), 'version' => 'c47e64e8c4db5bfb815d');
Loading
Loading