sttm-web icon indicating copy to clipboard operation
sttm-web copied to clipboard

Verse is not saved in favorite shabads

Open Gauravjeetsingh opened this issue 1 year ago • 1 comments

Describe the bug When we mark a shabad as fav, it doesn't save any verse id in the database, which results in all the shabads, showing the first verse in fav shabad page.

When we mark the shabad as fav in the sttm-desktop app, it saves the verse id, but still doesn't show the verse in fav shabad page.

Sttm-web image

Same account logged in sttm-desktop (it's not released in sttm-desktop yet, and currently in code review phase) image

To Reproduce Steps to reproduce the behavior:

  1. Go to any shabad
  2. Click on star icon to mark as fav
  3. Go to the favorite shabads page
  4. You will see that it shows the first verse instead of highlighted verse

Expected behavior It should save highlighted verse when marking as fav from sttm-web, and when retrieving favorite shabads, show the verse with saved verse id, instead of first verse.

Gauravjeetsingh avatar May 23 '23 13:05 Gauravjeetsingh