Open marinakoleva opened 1 year ago
Please discuss the preferred behaviour with @manuelaugustin .
The bug occurs whether the post is saved or published ,and regardless of which editor the post is saved in. The current guess (thanks to Hans-Christiaan) is that it is a timing issue. There is still inconsistency in one part of the bug reproducing (see reproduction steps).
current behaviour:
Observation: if at step 4 we click on/open the readability analysis in the Yoast SEO metabox, then the and the “bad post” is currently showing a grey bullet instead of red from step 5 does not happen. So good news is, the user is not likely to experience this since they usually check/open both the SEO and readability metabox. However, we still want to fix to red instead of grey for posts that don’t have enough content but for which results were calculated (see No content” post’s icon in the Readability score column shows a grey traffic light)
The timing is definitely applicable as well, probably even more than whether the user opens the readability tab. because if I very quickly create a “bad post”, the bullet will show for it as grey even if I click on both the SEO and readability metabox. reproduction steps in detail for this one:
In this case, a creating and saving a new post (in this case it’s not enough content one, but that shouldn’t be relevant) does not update the previous “bad post” icon to red if it is created and saved as quickly.
The underlying issue is a tricky timing problem that is cannot be fixed easily. Since it is not high priority and was found by devs while working on another scoring-related bug, it has been decided to close it.
⚠ Please discuss the preferred behaviour with @manuelaugustin . ⚠
Please give us a description of what happened
The Readability score icons on the Post overview page sometimes show a red traffic light, and sometimes show a grey traffic light, depending on the last page you were on:
To Reproduce
Step-by-step reproduction instructions
Open again the “A bad post” post and save it.Go to the Post overview page and confirm that the post’s icon in the Readability score column is back to a red traffic light.(Can be reproduced, but not consistently. Sometimes it is and stays red)Expected results
The scores for the Readability analysis in the Post overview should display consistent feedback. However, what this feedback should be exactly is still to be decided:
Conclusion:
The only times that the overall score should give a grey bullet is if the score was not calculated yet. If the post was opened, then the score was calculated (whether there is enough content or not), so it should show red.
Technical info
Used versions