zesty-io / manager-ui

Content platform powering enterprise websites and applications
https://www.zesty.io
Other
38 stars 5 forks source link

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

Closed zcolah closed 2 months ago

zcolah commented 5 months ago

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.

glespinosa commented 5 months ago

@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 commented 5 months ago

@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

finnar-bin commented 5 months ago

@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

zcolah commented 5 months ago

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

zcolah commented 4 months ago

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

finnar-bin commented 4 months ago

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

glespinosa commented 4 months ago

will check again on this