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

feat: Hide old header stuff when new header flag is true #2967

Merged
merged 16 commits into from
Jul 3, 2024

Conversation

spalmurray-codecov
Copy link
Contributor

@spalmurray-codecov spalmurray-codecov commented Jun 24, 2024

Hides all primary and secondary Navs along with old header whenever the newHeader feature flag is true. This is prep for implementing the new header/nav and will not affect any users until the proper rollout of the feature.

Closes codecov/engineering-team#1935
Closes codecov/engineering-team#1951

@codecov-qa
Copy link

codecov-qa bot commented Jun 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.35%. Comparing base (6b9f9c1) to head (2a5b927).

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2967   +/-   ##
=======================================
  Coverage   98.35%   98.35%           
=======================================
  Files         887      889    +2     
  Lines       13159    13187   +28     
  Branches     3432     3510   +78     
=======================================
+ Hits        12942    12970   +28     
  Misses        213      213           
  Partials        4        4           
Files Coverage Δ
src/layouts/BaseLayout/BaseLayout.jsx 96.42% <100.00%> (+0.27%) ⬆️
src/layouts/Header/Header.tsx 100.00% <100.00%> (ø)
src/layouts/LoginLayout/LoginLayout.tsx 100.00% <100.00%> (ø)
src/pages/AccountSettings/shared/Header/Header.jsx 100.00% <100.00%> (ø)
...ttings/AdminSettingsHeader/AdminSettingsHeader.jsx 100.00% <100.00%> (ø)
src/pages/AnalyticsPage/AnalyticsPage.jsx 100.00% <100.00%> (ø)
src/pages/CommitDetailPage/CommitDetailPage.tsx 100.00% <100.00%> (ø)
src/pages/MembersPage/MembersPage.jsx 100.00% <100.00%> (ø)
src/pages/OwnerPage/OwnerPage.jsx 100.00% <100.00%> (ø)
src/pages/PlanPage/PlanPage.jsx 100.00% <100.00%> (ø)
... and 2 more

... and 1 file with indirect coverage changes

Components Coverage Δ
Assets 53.84% <ø> (ø)
Layouts 97.23% <100.00%> (+0.05%) ⬆️
Pages 99.15% <100.00%> (+<0.01%) ⬆️
Services 99.46% <ø> (ø)
Shared 99.68% <ø> (ø)
UI 94.58% <ø> (+<0.01%) ⬆️

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 6b9f9c1...2a5b927. Read the comment docs.

Copy link

codecov-public-qa bot commented Jun 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.35%. Comparing base (6b9f9c1) to head (2a5b927).

✅ All tests successful. No failed tests found ☺️

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2967   +/-   ##
=======================================
  Coverage   98.35%   98.35%           
=======================================
  Files         887      889    +2     
  Lines       13159    13187   +28     
  Branches     3478     3510   +32     
=======================================
+ Hits        12942    12970   +28     
  Misses        213      213           
  Partials        4        4           
Files Coverage Δ
src/layouts/BaseLayout/BaseLayout.jsx 96.42% <100.00%> (+0.27%) ⬆️
src/layouts/Header/Header.tsx 100.00% <100.00%> (ø)
src/layouts/LoginLayout/LoginLayout.tsx 100.00% <100.00%> (ø)
src/pages/AccountSettings/shared/Header/Header.jsx 100.00% <100.00%> (ø)
...ttings/AdminSettingsHeader/AdminSettingsHeader.jsx 100.00% <100.00%> (ø)
src/pages/AnalyticsPage/AnalyticsPage.jsx 100.00% <100.00%> (ø)
src/pages/CommitDetailPage/CommitDetailPage.tsx 100.00% <100.00%> (ø)
src/pages/MembersPage/MembersPage.jsx 100.00% <100.00%> (ø)
src/pages/OwnerPage/OwnerPage.jsx 100.00% <100.00%> (ø)
src/pages/PlanPage/PlanPage.jsx 100.00% <100.00%> (ø)
... and 2 more

... and 1 file with indirect coverage changes

Components Coverage Δ
Assets 53.84% <ø> (ø)
Layouts 97.23% <100.00%> (+0.05%) ⬆️
Pages 99.15% <100.00%> (+<0.01%) ⬆️
Services 99.46% <ø> (ø)
Shared 99.68% <ø> (ø)
UI 94.58% <ø> (+<0.01%) ⬆️

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 6b9f9c1...2a5b927. Read the comment docs.

@codecov-notifications
Copy link

codecov-notifications bot commented Jun 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2967   +/-   ##
=======================================
  Coverage   98.35%   98.35%           
=======================================
  Files         887      889    +2     
  Lines       13159    13187   +28     
  Branches     3432     3491   +59     
=======================================
+ Hits        12942    12970   +28     
  Misses        213      213           
  Partials        4        4           
Files Coverage Δ
src/layouts/BaseLayout/BaseLayout.jsx 96.42% <100.00%> (+0.27%) ⬆️
src/layouts/Header/Header.tsx 100.00% <100.00%> (ø)
src/layouts/LoginLayout/LoginLayout.tsx 100.00% <100.00%> (ø)
src/pages/AccountSettings/shared/Header/Header.jsx 100.00% <100.00%> (ø)
...ttings/AdminSettingsHeader/AdminSettingsHeader.jsx 100.00% <100.00%> (ø)
src/pages/AnalyticsPage/AnalyticsPage.jsx 100.00% <100.00%> (ø)
src/pages/CommitDetailPage/CommitDetailPage.tsx 100.00% <100.00%> (ø)
src/pages/MembersPage/MembersPage.jsx 100.00% <100.00%> (ø)
src/pages/OwnerPage/OwnerPage.jsx 100.00% <100.00%> (ø)
src/pages/PlanPage/PlanPage.jsx 100.00% <100.00%> (ø)
... and 2 more

... and 1 file with indirect coverage changes

Components Coverage Δ
Assets 53.84% <ø> (ø)
Layouts 97.23% <100.00%> (+0.05%) ⬆️
Pages 99.15% <100.00%> (+<0.01%) ⬆️
Services 99.46% <ø> (ø)
Shared 99.68% <ø> (ø)
UI 94.58% <ø> (+<0.01%) ⬆️

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 6b9f9c1...2a5b927. Read the comment docs.

Copy link

codecov bot commented Jun 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.35%. Comparing base (6b9f9c1) to head (2a5b927).

✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##               main      #2967   +/-   ##
===========================================
  Coverage   98.35000   98.35000           
===========================================
  Files           887        889    +2     
  Lines         13159      13187   +28     
  Branches       3432       3510   +78     
===========================================
+ Hits          12942      12970   +28     
  Misses          213        213           
  Partials          4          4           
Files Coverage Δ
src/layouts/BaseLayout/BaseLayout.jsx 96.42% <100.00%> (+0.27%) ⬆️
src/layouts/Header/Header.tsx 100.00% <100.00%> (ø)
src/layouts/LoginLayout/LoginLayout.tsx 100.00% <100.00%> (ø)
src/pages/AccountSettings/shared/Header/Header.jsx 100.00% <100.00%> (ø)
...ttings/AdminSettingsHeader/AdminSettingsHeader.jsx 100.00% <100.00%> (ø)
src/pages/AnalyticsPage/AnalyticsPage.jsx 100.00% <100.00%> (ø)
src/pages/CommitDetailPage/CommitDetailPage.tsx 100.00% <100.00%> (ø)
src/pages/MembersPage/MembersPage.jsx 100.00% <100.00%> (ø)
src/pages/OwnerPage/OwnerPage.jsx 100.00% <100.00%> (ø)
src/pages/PlanPage/PlanPage.jsx 100.00% <100.00%> (ø)
... and 2 more

... and 1 file with indirect coverage changes

Components Coverage Δ
Assets 53.84% <ø> (ø)
Layouts 97.23% <100.00%> (+0.05%) ⬆️
Pages 99.15% <100.00%> (+<0.01%) ⬆️
Services 99.46% <ø> (ø)
Shared 99.68% <ø> (ø)
UI 94.58% <ø> (+<0.01%) ⬆️

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 6b9f9c1...2a5b927. Read the comment docs.

@codecov-staging
Copy link

codecov-staging bot commented Jun 24, 2024

Bundle Report

Changes will increase total bundle size by 789 bytes ⬆️

Bundle name Size Change
gazebo-staging-array-push 6.74MB 789 bytes ⬆️

Copy link

codecov bot commented Jun 24, 2024

Bundle Report

Changes will increase total bundle size by 789 bytes ⬆️

Bundle name Size Change
gazebo-production-array-push 6.74MB 789 bytes ⬆️

@codecov-releaser
Copy link
Contributor

codecov-releaser commented Jun 24, 2024

✅ Deploy preview for gazebo ready!

Previews expire after 1 month automatically.

Storybook

Commit Created Cloud Enterprise
8ea3e0a Mon, 24 Jun 2024 21:01:42 GMT Expired Expired
374fb9a Wed, 26 Jun 2024 18:11:57 GMT Expired Expired
12ae5de Wed, 26 Jun 2024 18:46:18 GMT Expired Expired
82e7c96 Wed, 26 Jun 2024 18:57:21 GMT Expired Expired
82e7c96 Wed, 26 Jun 2024 19:04:00 GMT Expired Expired
ad48b84 Wed, 26 Jun 2024 19:39:51 GMT Expired Expired
9f8458f Wed, 03 Jul 2024 19:12:36 GMT Expired Expired
2a5b927 Wed, 03 Jul 2024 19:49:02 GMT Cloud Enterprise

@spalmurray-codecov spalmurray-codecov force-pushed the spalmurray/use-new-header-feature-flag branch from 8ea3e0a to 374fb9a Compare June 26, 2024 18:01
@spalmurray-codecov spalmurray-codecov marked this pull request as ready for review June 26, 2024 18:33
Copy link
Contributor

@calvin-codecov calvin-codecov left a comment

Choose a reason for hiding this comment

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

There are a couple instances of describe text blocks that are using the spelling "flaging" instead of "flagging".

Looks great!

Side question out of curiosity about the feature changes: so we're removing breadcrumbs with the new header?

@spalmurray-codecov
Copy link
Contributor Author

The breadcrumbs will return in the new header!

@spalmurray-codecov spalmurray-codecov force-pushed the spalmurray/use-new-header-feature-flag branch from ad48b84 to 9f8458f Compare July 3, 2024 19:02
@spalmurray-codecov spalmurray-codecov added this pull request to the merge queue Jul 3, 2024
Merged via the queue into main with commit db273b3 Jul 3, 2024
61 checks passed
@spalmurray-codecov spalmurray-codecov deleted the spalmurray/use-new-header-feature-flag branch July 3, 2024 20:40
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.

Create new placeholder Header component in layouts Hide old header stuff when feature flag is set
3 participants