zesty-io / manager-ui

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

Activity Log: Open Button not working for Model #2477

Closed zcolah closed 2 months ago

zcolah commented 5 months ago
  1. See Loom: https://www.loom.com/share/d75e0eb49d294912abc95e046dfaa551
  2. Note that this issue occurs on this instance: https://8-da92b5d8e6-hvp4w4.manager.zesty.io/launchpad
  3. I was unable to replicate it on the Zesty Marketing instance. Not sure of why.
finnar-bin commented 3 months ago

@zcolah I am unable to replicate this on multiple instances, even tried creating different schema types. Although one thing to note here is that the "Open" button is reliant on the resource having at least 1 logged event to create the url to navigate to on button click. The issue where the button is disabled is due to the fact that the resource you're looking at on the video doesn't have any log entry recorded, which is what I find odd since it should have a log entry when the model was created. I am not sure why when you created that model no log entry was recorded since right now it does log an entry when creating a new model.

Right now, when creating a new model a log entry is added https://8-da92b5d8e6-hvp4w4.manager.zesty.io/reports/activity-log/resources/6-eeadd8c9ee-337rn0?from=2024-03-20&to=2024-03-20 Image

The model you mentioned on the video did not have any log entry when it was created. https://8-da92b5d8e6-hvp4w4.manager.zesty.io/reports/activity-log/resources/6-f4ec9aa998-llpd07?from=2024-01-09&to=2024-03-20 Image

Perhaps we could get some more info from @markelmad as to why no log entry was created on the model that you've made a while back.

zcolah commented 3 months ago

Thank you for this context. Let us wait to hear Markels response on it.

On Wed, Mar 20, 2024, 8:03 AM Nar Cuenca @.***> wrote:

@zcolah https://github.com/zcolah I am unable to replicate this on multiple instances, even tried creating different schema types. Although one thing to note here is that the "Open" button is reliant on the resource having at least 1 logged event to create the url to navigate to on button click. The issue here maybe due to the fact that the resource you're viewing at on the video doesn't have any log entry recorded, which is what I find odd since it should have a log entry when the model was created. I am not sure why when you created that model no log entry was recorded since right now it does log an entry when creating a new model.

Right now, when creating a new model a log entry is added

https://8-da92b5d8e6-hvp4w4.manager.zesty.io/reports/activity-log/resources/6-eeadd8c9ee-337rn0?from=2024-03-20&to=2024-03-20 image.png (view on web) https://github.com/zesty-io/manager-ui/assets/28705606/d82d7554-1d44-4bd5-9880-10386f5ae98b

The model you mentioned on the video did not have any log entry when it was created.

https://8-da92b5d8e6-hvp4w4.manager.zesty.io/reports/activity-log/resources/6-f4ec9aa998-llpd07?from=2024-01-09&to=2024-03-20 image.png (view on web) https://github.com/zesty-io/manager-ui/assets/28705606/28995511-0d0c-44ff-94d0-118e998866f2

Perhaps we could get some more info from @markelmad https://github.com/markelmad as to why no log entry was created on that model that you've made a while back.

— Reply to this email directly, view it on GitHub https://github.com/zesty-io/manager-ui/issues/2477#issuecomment-2008578408, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFMT475VGHKHA6QJ6IFVVLLYZDYQVAVCNFSM6AAAAABCLAHCYKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBYGU3TQNBQHA . You are receiving this because you were mentioned.Message ID: @.***>

finnar-bin commented 3 months ago

@markelmad just wanted to ff up on this

finnar-bin commented 2 months ago

hey @markelmad just wanted to ff up if you had the time to look into this.

markelmad commented 2 months ago

@finnar-bin Seems like its timezone issue. At first I was able to replicate the issue. No logs although there's an audit trail being recorded upon creation. However, changing the date range, the created log showed up:

image

Do note that audit trail logs timestamps are in UTC 0.