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

fix: Fix rendered header error #3590

Merged
merged 4 commits into from
Dec 20, 2024
Merged

fix: Fix rendered header error #3590

merged 4 commits into from
Dec 20, 2024

Conversation

suejung-sentry
Copy link
Contributor

@suejung-sentry suejung-sentry commented Dec 17, 2024

When there is an error in the network calls in the Header component, fail silently (so no Header displays) instead of rendering the upside down umbrella fallback, resulting in double upside down umbrella in some cases, like here.

This should close #3028.

It will still be nice to do the work in #3081 to have a more refined fallback strategy to show toasts or other specific behavior upon the different kinds of errors possible in the header. For now with this PR there is a catchall behavior of showing no Header so it is less jarring for the user.

@codecov-staging
Copy link

codecov-staging bot commented Dec 17, 2024

Bundle Report

Changes will decrease total bundle size by 12 bytes (-0.0%) ⬇️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
gazebo-staging-system-esm 6.05MB 6 bytes (-0.0%) ⬇️
gazebo-staging-system 6.0MB 6 bytes (-0.0%) ⬇️

@codecov-qa
Copy link

codecov-qa bot commented Dec 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.00%. Comparing base (96d9efe) to head (670366b).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

@@           Coverage Diff           @@
##             main    #3590   +/-   ##
=======================================
  Coverage   99.00%   99.00%           
=======================================
  Files         810      810           
  Lines       14557    14557           
  Branches     4139     4139           
=======================================
  Hits        14412    14412           
  Misses        138      138           
  Partials        7        7           
Files with missing lines Coverage Δ
src/layouts/BaseLayout/BaseLayout.tsx 100.00% <ø> (ø)
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.75% <ø> (ø)
Services 99.36% <ø> (ø)
Shared 99.31% <ø> (ø)
UI 99.14% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 96d9efe...670366b. Read the comment docs.

@codecov-staging
Copy link

codecov-staging bot commented Dec 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

@@           Coverage Diff           @@
##             main    #3590   +/-   ##
=======================================
  Coverage   99.00%   99.00%           
=======================================
  Files         810      810           
  Lines       14557    14557           
  Branches     4146     4139    -7     
=======================================
  Hits        14412    14412           
  Misses        138      138           
  Partials        7        7           
Files with missing lines Coverage Δ
src/layouts/BaseLayout/BaseLayout.tsx 100.00% <ø> (ø)
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.75% <ø> (ø)
Services 99.36% <ø> (ø)
Shared 99.31% <ø> (ø)
UI 99.14% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 96d9efe...670366b. Read the comment docs.

Copy link

codecov-public-qa bot commented Dec 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.00%. Comparing base (96d9efe) to head (670366b).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

@@           Coverage Diff           @@
##             main    #3590   +/-   ##
=======================================
  Coverage   99.00%   99.00%           
=======================================
  Files         810      810           
  Lines       14557    14557           
  Branches     4139     4139           
=======================================
  Hits        14412    14412           
  Misses        138      138           
  Partials        7        7           
Files with missing lines Coverage Δ
src/layouts/BaseLayout/BaseLayout.tsx 100.00% <ø> (ø)
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.75% <ø> (ø)
Services 99.36% <ø> (ø)
Shared 99.31% <ø> (ø)
UI 99.14% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 96d9efe...670366b. Read the comment docs.

Copy link

codecov bot commented Dec 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.00%. Comparing base (96d9efe) to head (670366b).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3590   +/-   ##
=======================================
  Coverage   99.00%   99.00%           
=======================================
  Files         810      810           
  Lines       14557    14557           
  Branches     4146     4146           
=======================================
  Hits        14412    14412           
  Misses        138      138           
  Partials        7        7           
Files with missing lines Coverage Δ
src/layouts/BaseLayout/BaseLayout.tsx 100.00% <ø> (ø)
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 99.71% <ø> (ø)
Pages 98.75% <ø> (ø)
Services 99.36% <ø> (ø)
Shared 99.31% <ø> (ø)
UI 99.14% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 96d9efe...670366b. Read the comment docs.

Copy link

codecov bot commented Dec 17, 2024

Bundle Report

Changes will decrease total bundle size by 12 bytes (-0.0%) ⬇️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
gazebo-production-system 6.0MB 6 bytes (-0.0%) ⬇️
gazebo-production-system-esm 6.05MB 6 bytes (-0.0%) ⬇️

@codecov-releaser
Copy link
Contributor

codecov-releaser commented Dec 17, 2024

✅ Deploy preview for gazebo ready!

Previews expire after 1 month automatically.

Storybook

Commit Created Cloud Enterprise
dba8d2c Tue, 17 Dec 2024 16:51:00 GMT Expired Expired
4a95bcb Fri, 20 Dec 2024 00:34:25 GMT Expired Expired
4a95bcb Fri, 20 Dec 2024 00:34:47 GMT Expired Expired
4a95bcb Fri, 20 Dec 2024 00:37:05 GMT Expired Expired
4a95bcb Fri, 20 Dec 2024 00:39:15 GMT Expired Expired
670366b Fri, 20 Dec 2024 00:48:32 GMT Cloud Enterprise

@suejung-sentry suejung-sentry marked this pull request as ready for review December 20, 2024 00:29
Copy link
Contributor

@spalmurray-codecov spalmurray-codecov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@suejung-sentry suejung-sentry added this pull request to the merge queue Dec 20, 2024
Merged via the queue into main with commit 358f6ec Dec 20, 2024
62 checks passed
@suejung-sentry suejung-sentry deleted the sshin/3028 branch December 20, 2024 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

double error message
3 participants