I need to create a status timeline in my Vue.js application. For now, I’m receiving a String with the current status of a shop article. Articles can be Activated, Deactivated, Cancelled or Partially activated, not necessarily in the previous order.
I would like to create a timeline with the current status of the articles and then, when the prop with the status changes, receive the old value, store it and show both of them. If the article goes through more than two status, store the two old ones too. So the user could be able to see the timeline of the status that the article went through.
Can someone help me to find a way?