WP post list CTA language could be improved for consistency with dashboard CTA
Bug Description
See WP dashboard CTA inconsistent with latest design and language

Asana: https://app.asana.com/0/1200491083500938/1200759450014538
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
For the case where the user has already saved some ideas
- Update text to: "Want some inspiration for a new post? Revisit your saved ideas in Site Kit"
- The link CTA is this part of the second sentence: "Revisit your saved ideas"
- Remove the separate "See saved ideas" link CTA that currently exists.
For the case where the user has no saved ideas
- Update text to: "Want some inspiration for a new post? Review your new ideas in Site Kit"
- The link CTA is this part of the second sentence: "Review your new ideas"
- Remove the separate "See new ideas" link CTA that currently exists.
Eg.

Implementation Brief
- Using
includes/Modules/Idea_Hub.php, update the notices in theadmin_notice_idea_hub_ideasfunction as per the AC.
Test Coverage
- No new tests to be added.
Visual Regression Changes
- N/A
QA Brief
- Check if the notices in the WP post list page are updated as per the AC when there are/are not saved ideas.
Changelog entry
- Update CTA language for WP post list notifications.
@aaemnnosttv Can you look at ACs for this one? Let's consult with @Pratheep-lab if necessary.
@marrrmarrr I added a screenshot to the ACs, I think this is all set now 👍
IB :heavy_check_mark:
QA Update: ❌
@asvinb Within idea hub I have no saved ideas but the message in the posts screen is: Want some inspiration for a new post? Revisit your new ideas in Site Kit. which does not match the AC.

Verified:
Within Idea hub, when I have ideas saved and I go to the posts page the correct message Want some inspiration for a new post? Revisit your new ideas in Site Kit. appears. When I click on the Revisit your new ideas link I am taken to the idea hub widget on SK dashboard.

Within idea hub I have no saved ideas but the message in the posts screen is:
Want some inspiration for a new post? Revisit your new ideas in Site Kit.which does not match the AC.
@wpdarren that's correct, when you have no saved ideas it should show you ... Revisit your new ideas in Site Kit. message. If you have saved ideas, it will display ... Revisit your saved ideas in Site Kit.
@eugene-manuilov so is the AC wrong because it says for no saved ideas the text should be Want some inspiration for a new post? Review your new ideas in Site Kit at the moment it is saying revisit
Ah... yes, good catch, @wpdarren. Sorry, I missed that there is a difference in just one word. Assigning back to @asvinb to fix it.
Good catch @wpdarren . @eugene-manuilov Follow up PR: https://github.com/google/site-kit-wp/pull/3917
@wpdarren this is ready for another pass.
QA Update: ❌
@asvinb @eugene-manuilov Sorry, there is still some odd behaviour with this. Initially, I did not save any ideas and went to post page and the revisit CTA link appeared. So, I decided to disconnect Site Kit and reset. When I reconnected the correct CTA of review appeared with no saved ideas. I celebrated and then went to save an idea and go straight back to the post page and the CTA link is still set to review I have cleared cache, refreshed, and the same appears. It should say revisit so I am wondering if there's an issue with the API or something. Any ideas?
I had a poke around the code for this and although the logic seems fine (caveat: my PHP isn't the best!), I am seeing the same behaviour as @wpdarren.
Inside Idea_Hub.php:: admin_notice_idea_hub_ideas, it seems $has_saved_ideas seems to be truthy even when I have unpinned the saved idea, with saved_ideas logging out the idea I have just un-saved.
I wonder if something could be persisting somewhere?
Assigning to you @aaemnnosttv as Eugene and Asvin are on leave this week, hope that's ok.
@aaemnnosttv @wpdarren I wonder if we need to open a new ticket since the bug that @wpdarren is describing is not related to the text updates. 🤔 cc @johnPhillips
@asvinb it is related to text updates. When I have saved ideas I should expect to see revisit but currently it says review From the AC it is suggesting that the word should change.
@wpdarren this issue is just about updating the notices although you've raised a valid point that the notice which is shown should change based on activity. What happens is that the ideas which are requested for the logic of which notice to show are cached in transients which expire after 1 day. The problem is that they are never deleted/invalidated. You can do this manually though via wp-cli or using a plugin like Transients Manager.
When there are no saved ideas, the message to "review your new ideas" is shown ✅ When there are saved ideas, the message to "revisit your saved ideas" is shown ✅
The issue of caching and invalidation is separate here so I'll open a separate issue for that.
We can consider this QA ✅ though, no further review is needed as the ACs are met. Moving to Approval.
See https://github.com/google/site-kit-wp/issues/3922 for the follow-up.