manager-ui icon indicating copy to clipboard operation
manager-ui copied to clipboard

Content: SEO Tab - Title Bar reflects Published State for a Second when the user tries to save item

Open zcolah opened this issue 1 year ago • 7 comments

Bug

What's Happening

  1. I updated the SEO Meta Parent for a Content Item. CleanShot 2024-01-30 at 22 02 48

  2. I clicked on Command S on my keyboard to Save the Item. The Title Bar reflects Published State for a Second. CleanShot 2024-01-30 at 22 03 17

  3. It then correctly updates to show that it is not published and only Saved CleanShot 2024-01-30 at 22 03 30

See Loom

https://www.loom.com/share/ff14f89cc2ee4ea19fa03a63efea1f90

Solution Desired

The title bar should only display that an item is published if it is actually published. In this case it was not published and hence the titlebar should not have displayed that for a second also.

zcolah avatar Jan 30 '24 16:01 zcolah

@zcolah From my observation every time I set it to v1 then the save that issue above occurs. Still checking on what cause this

https://github.com/zesty-io/manager-ui/assets/44116036/4792aaff-734f-470e-afea-7496a93d498c

glespinosa avatar Feb 07 '24 02:02 glespinosa

@zcolah From my observation every time I set it to v1 then the save that issue above occurs. Still checking on what cause this

screencast-8-aaeffee09b-7w6v22.manager.dev.zesty.io_8080-2024.02.07-10_47_51.webm

@theofficialnar can you guide me why there's an issue why when I select v1 it's partially showing the publish, it gives the user that the item is being publish while the user is currently saving it. I'm currently looking in the ItemEditHeaderActions.tsx upon checking on it the conditions looks fine unless you pick the v1. pls see above for reference vid

glespinosa avatar Feb 07 '24 06:02 glespinosa

@zcolah From my observation every time I set it to v1 then the save that issue above occurs. Still checking on what cause this screencast-8-aaeffee09b-7w6v22.manager.dev.zesty.io_8080-2024.02.07-10_47_51.webm

@theofficialnar can you guide me why there's an issue why when I select v1 it's partially showing the publish, it gives the user that the item is being publish while the user is currently saving it. I'm currently looking in the ItemEditHeaderActions.tsx upon checking on it the conditions looks fine unless you pick the v1. pls see above for reference vid

Have you tried checking out how the publish state is being determined? If I remember correctly it's probably inside /shell/store/content.js

finnar-bin avatar Feb 07 '24 06:02 finnar-bin

@glespinosa @theofficialnar The issue happens regardless of me selecting v1. https://www.loom.com/share/1f4df31755184301a454a45cede60b7f

zcolah avatar Feb 16 '24 03:02 zcolah

@theofficialnar @glespinosa I want to follow up on this ticket. Any progress?

zcolah avatar Feb 29 '24 17:02 zcolah

@glespinosa any update on what's going on with this ticket?

finnar-bin avatar Mar 01 '24 00:03 finnar-bin

will check again on this

glespinosa avatar Mar 13 '24 01:03 glespinosa