Crisp Chat Icon shows only after we refresh the page #94

Closed
opened 2024-06-26 15:21:28 +00:00 by mik-tf · 4 comments
Owner

Situation

Crisp Chat Icon shows only after we refresh the page

Todo

  • When we open the website, or any page, the crisp chat icon should show immediately

To reproduce

  • clone the repo and cd into it
  • make run
  • open the website locally
  • open a new page --> the chat icon isn't there
  • refresh the page --> the chat icon appears

@ehab Do you think you can have a look? Thanks!

References

# Situation Crisp Chat Icon shows only after we refresh the page # Todo - When we open the website, or any page, the crisp chat icon should show immediately # To reproduce - clone the repo and cd into it - make run - open the website locally - open a new page --> the chat icon isn't there - refresh the page --> the chat icon appears @ehab Do you think you can have a look? Thanks! # References - The INCA manual here: https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/development/docs_projectinca - this astro website (inca manual) doesn't have this problem. Maybe it can help to check.
ehab was assigned by mik-tf 2024-06-26 15:21:28 +00:00
mik-tf added this to the Project Inca Website Optimization project 2024-06-26 15:21:37 +00:00
Owner

@mik-tf did you publish this website or their staging? need to test it online

@mik-tf did you publish this website or their staging? need to test it online
Author
Owner
Yes. https://internetcapacity.org Thanks!
Owner

I found that "ViewTransitions fallback="swap"" prevents the page from loading this is good when just changing the content, but in our case the page didn't load so I removed it and Crisp works fine

I created PR #101

https://docs.astro.build/en/guides/view-transitions/#script-behavior-with-view-transitions

I found that "ViewTransitions fallback="swap"" prevents the page from loading this is good when just changing the content, but in our case the page didn't load so I removed it and Crisp works fine I created PR #101 https://docs.astro.build/en/guides/view-transitions/#script-behavior-with-view-transitions
Author
Owner

Perfect! Thanks a lot. It's great to have the reference too. I kept note of the URL.

Merged! Closing.

Perfect! Thanks a lot. It's great to have the reference too. I kept note of the URL. Merged! Closing.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: tfgrid/www_projectinca#94
No description provided.