Open zcolah opened 4 months ago
@japhethLG I checked the login page and noticed it is still not displaying the latest product announcement despite the following issue being labelled as fixed. May you please reopen the ticket, and before closing it again, make it go through VQA with me?
@zcolah it's automatically closing after merging it to stage, it's still in stage atm https://zesty-website-m3rbwjxm5q-uc.a.run.app/login/ , will request a merge to prod once you approve.
Bug
The login page does not reflect the latest in app product announcement regarding the Summer Product Release. @agalin920 has shared that this is because the logic selects the first item from the response.
Solution
Read the response, filter to only the published items, and then identify the published item with the most recent start date, and display that item in the announcement area adjacent to the login buttons.
In Case of Overlaps In situations where two or more announcements share the same start date, a priority system must be put in place to ensure consistent user experience. The announcement that was created most recently should take priority. The rationale behind this is to give precedence to the most current or updated promotions that the Zesty.io marketing team wishes to convey.