-
Notifications
You must be signed in to change notification settings - Fork 286
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
Enhance/#8786 - Implement JS entry point for RRM #8948
Conversation
Size Change: +10.3 kB (+0.66%) Total Size: 1.56 MB
ℹ️ View Unchanged
|
Build files for 180e164 have been deleted. |
…gle/site-kit-wp into enhance/#8786-add-rrm-js-entry-point.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @hussain-t, this is most of the way there. I've left a few comments, please take a look.
const { haveSettingsChanged, isDoingSubmitChanges, getPublicationID } = | ||
strictSelect( MODULES_READER_REVENUE_MANAGER ); | ||
|
||
// Note: these error messages are referenced in test assertions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment looks copy/pasted and doesn't seem accurate...
assets/js/modules/reader-revenue-manager/components/settings/SettingsEdit.stories.js
Outdated
Show resolved
Hide resolved
assets/js/modules/reader-revenue-manager/components/settings/SettingsView.stories.js
Outdated
Show resolved
Hide resolved
assets/js/modules/reader-revenue-manager/components/setup/SetupMain.stories.js
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @hussain-t, just a few more minor points to address.
assets/js/modules/reader-revenue-manager/utils/validation.test.js
Outdated
Show resolved
Hide resolved
assets/js/modules/reader-revenue-manager/utils/validation.test.js
Outdated
Show resolved
Hide resolved
assets/js/modules/reader-revenue-manager/utils/validation.test.js
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, nice one @hussain-t!
Summary
Addresses issue:
Relevant technical choices
SetupMain
,SettingsEdit
, andSettingsView
component.SetupMain
,SettingsEdit
, andSettingsView
component.registerModule
only when therrmModule
feature flag is enabled.settingSlugs
to thecreateModuleStore
. This will be implemented as part of #8793PR Author Checklist
Do not alter or remove anything below. The following sections will be managed by moderators only.
Code Reviewer Checklist
Merge Reviewer Checklist