Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Styling is breaking on some occasions #4452

Closed
Ashesh3 opened this issue Dec 30, 2022 · 7 comments
Closed

Styling is breaking on some occasions #4452

Ashesh3 opened this issue Dec 30, 2022 · 7 comments

Comments

@Ashesh3
Copy link
Member

Ashesh3 commented Dec 30, 2022

Describe the bug
On initial page load, the styling of the entire page is broken. This only happens sometimes but is persistent till a hard refresh is done.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://care.coronasafe.in/
  2. See the broken styling

Expected behavior
Styles should be properly applied, and page should appear normal.

Screenshots

The page

image
image

The console

image

Network requests

image

Seems like the main css file fails to load on rare occasions, rendering an empty response:
image

HAR file

Here's the HAR file, which contains full details of every network request and response made during the page load:
care.coronasafe.in.zip

(On a Chrome browser, Go to network tab > drag and drop the .har file and you should see the logs)

Desktop:

  • OS: Any
  • Browser: Chrome/Firefox
@rithviknishad
Copy link
Member

As discussed, we'll be trying to have auto update regardless of what branch, and use automated versioning based on github.run_number

@rithviknishad
Copy link
Member

image

@rithviknishad
Copy link
Member

@rithviknishad
Copy link
Member

rithviknishad commented Jan 3, 2023

This issue is not getting solved when we trigger an update. Will continue to debug, feel free to assign if anyone figures out the problem

@rithviknishad rithviknishad removed their assignment Jan 3, 2023
@rithviknishad
Copy link
Member

rithviknishad commented Jan 10, 2023

Now when the page loads with broken styling, the auto-update gets triggered and fetches the latest CSS files.

So now, first the page visibly loads with broken styling, but immediately refreshes because of the auto-update, and then visibly loads properly.

Workaround works, but underlying issue is still present.

@github-actions
Copy link

github-actions bot commented Feb 2, 2023

Hi, @gigincg, @nihal467, @khavinshankar, @mathew-alex, @aparnacoronasafe, This issue has been automatically marked as stale because it has not had any recent activity.

@github-actions github-actions bot added the stale label Feb 2, 2023
@rithviknishad
Copy link
Member

@gigincg @Ashesh3 closing this issue as not reproducible in recent weeks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

2 participants