-
Notifications
You must be signed in to change notification settings - Fork 297
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 RRM product ID bulk edit setting #10248
Comments
Hey @nfmohit, these AC are looking good. It looks like you put together a working PoC, or was it more of a mockup? Essentially, I would like to check if the custom column can be toggled in the Screen Options panel. It's quite a substantial addition to the posts table, and it would be good to know that users can control its presence. I'd suggest this should be included in the AC. If/when the AC has been updated, let's ask Mariya to take a look to verify the copy and share any additional thoughts. |
Hi @techanvil ! Thank you for raising a very valid point. It is indeed a PoC that I intend to attach to the IB. And yes, it does let you control its presence in the Screen Options panel. I've also specified that in the AC, thank you! |
Thanks @nfmohit, that's good to know! One more thing that occurs to me is regarding the copy. I think having a different set of values displayed for the column vs the dropdown could be a bit confusing. I'd suggest that, other than the "-- No Change --" value, the options in the dropdown should mirror those in the column, as these seem a bit more user-friendly and framed as a response to "Show Reader Revenue CTAs". In other words the dropdown options should be:
WDYT? |
Update: I now realise the specified dropdown options are in fact aligned with those introduced for the edit post page in #9962, so maybe they are better left as they are. OTOH, the inconsistency I mentioned above is a bit odd so maybe we should consider aligning the copy in the column with the dropdown, or updating the dropdown both here and on the edit post page. |
I've updated the column copy to align with the select field options. Please let me know if that looks good, thanks @techanvil ! |
Thanks @nfmohit. That looks OK... I must admit, though the previously define column values are a better fit for the column name "Show Reader Revenue CTAs". Then again, the column name itself is a little on the long side, maybe it should be just "Reader Revenue CTA". Rather than spend too long going back and forward on this, though, I think we should ask @marrrmarrr to take a look, as she will ultimately be signing off on the copy. |
Note to AC Reviewer:In an attempt to fast-track this, I have added an IB to this with a PoC PR. If you have the capacity to review the IB, please do so. If not, please send it to IBR. If you can review the IB and it looks good, please send it to EB. Thanks! CC: @techanvil |
Since screen real estate is very scarce in this table, I would aim to go as short as possible with the copy. |
Thanks @marrrmarrr! I've updated the AC; I wasn't sure about the open access label, which I've specified as "Open access", please let me know if you prefer it to be lower cased. I've also gone with "None" over "Excluded", again please let me know if you prefer the other option upon review. Another detail is that I've kept the position for "None" below "Default" to align with the edit post page dropdown, but I'm wondering if it would be better placed as the last option in both cases to better promote using the CTAs. WDYT?. One more question - do you think we should update the dropdown values on the edit post page to align with these, or leave them as they are? The dropdown label is different on that page and the more verbose options are probably helpful to keep as-is, but there's also a case to consider that they should have the same values for consistency. |
@techanvil I think it's ok to slightly shorten here for the sake of space, even if it doesn't completely match the more detailed descriptions at the edit post dropdown. The key words are still there, e.g. "default" from "keep the default selection". |
OK great, thanks @marrrmarrr! @nfmohit, I'm sending this one back over to you to either update PoC and/or the IB accordingly. Please note there's still an open question about the "open access" casing, as per this conversation on Slack. This might be resolved by the time you get to it, otherwise we can address it as we receive the reply. |
Feature Description
As an alternative to the formerly postponed term-level RRM snippet configuration, a bulk edit feature should be added to admin post lists that allows changing the RRM snippet configuration for a group of posts at a time.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
rrmModuleV2
feature flag is enabled, the Reader Revenue Manager module is connected, and the current user has access to the Reader Revenue Manager module:openaccess
, it should be "Open access".-1
to indicate an invalid option.none
).openaccess
).Implementation Brief
Modules\Reader_Revenue_Manager\Admin_Post_List
that accepts instances ofModules\Reader_Revenue_Manager\Settings
andModules\Reader_Revenue_Manager\Post_Product_ID
as parameters in its constructors. These should be used to determine the available product IDs to use in the select field options, and the column content.manage_{$post_type}_posts_columns
filter to add the column.manage_{$post_type}_posts_custom_column
action to fill column contents.bulk_edit_custom_box
hook to add the bulk edit form field.save_post
hook to save the form field value.Admin_Post_List
class withinModules\Reader_Revenue_Manager::register
only if therrmModuleV2
feature flag is enabled, and the module is connected.Test Coverage
Admin_Post_List
class.QA Brief
Changelog entry
The text was updated successfully, but these errors were encountered: