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

Activity Log: Open Button not working for Model

Open zcolah opened this issue 1 year ago • 5 comments

  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.

zcolah avatar Jan 25 '24 18:01 zcolah

@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.

finnar-bin avatar Mar 20 '24 02:03 finnar-bin

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: @.***>

zcolah avatar Mar 20 '24 16:03 zcolah

@markelmad just wanted to ff up on this

finnar-bin avatar Mar 31 '24 21:03 finnar-bin

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

finnar-bin avatar Apr 15 '24 21:04 finnar-bin

@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.

markelmad avatar Apr 17 '24 00:04 markelmad