Open guarani opened 2 years ago
Looking at the app's Activity Log, when Blogging Reminders is surfaced I see:
editor_closed
event, thenblogging_reminders_flow_start
eventHowever, when it is not shown, I see no more events after the editor_closed
event. It looks to me like in these scenarios, the BloggingRemindersFlow.present
method is not getting called.
The severity of this issue seems medium, but the impact low (only one report, from @tiagomar, so far). So I've given this a low priority.
I ran into this again today. After creating a new site, the blogging reminders prompt (bottom sheet) is not always shown after the first or the second post is published. In my test, on the third post published I saw the blogging prompt.
Looking at the logic here it seems (I'm not 100% certain) that the prompt should be shown on the 1st post published.
This is failing for me because post.isPublished()
is returning false
and the guard
returns here.
I can get Blogging Reminders to show on the first try if I publish outside the editor, e.g. My Site -> Posts -> Drafts -> More -> Publish Now, because I think this path is taken instead.
Expected behavior
When publishing the first post on a site, the Blogging Reminders bottom sheet should appear.
Actual behavior
When publishing the first post on a site, in about 1 out of 3 times, the Blogging Reminders bottom sheet does not appear.
Steps to reproduce the behavior
Tested on iPhone 11, iOS 15.3.1, WPiOS 19.9 beta
h/t to @tiagomar for reporting this issue!