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

refactor: refactor code by creating 1 instance of header instead of 3 #1164

Merged
merged 2 commits into from
Aug 23, 2023

Conversation

sundasnoreen12
Copy link
Contributor

INF-1020

Description

Fixed issue of

  1. bell icon appears, disappears and appears again.
  2. When notifications are being loaded, the tray width shrinks.
  3. When tray is closed and re-opened, it renders better with some formatting issues, as seen below

@codecov
Copy link

codecov bot commented Aug 18, 2023

Codecov Report

Patch coverage: 91.66% and project coverage change: -0.01% ⚠️

Comparison is base (5ee6190) 87.89% compared to head (358c710) 87.88%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1164      +/-   ##
==========================================
- Coverage   87.89%   87.88%   -0.01%     
==========================================
  Files         264      264              
  Lines        4476     4481       +5     
  Branches     1123     1130       +7     
==========================================
+ Hits         3934     3938       +4     
- Misses        528      529       +1     
  Partials       14       14              
Files Changed Coverage Δ
src/tab-page/TabPage.jsx 95.83% <91.66%> (+0.83%) ⬆️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

)}

{/* courseStatus 'failed' and any other unexpected course status. */}
{(courseStatus !== 'loading' && courseStatus !== 'loaded' && courseStatus !== 'denied') && (
Copy link
Contributor

Choose a reason for hiding this comment

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

!['loading', 'loaded', 'denied'].includes(courseStatus)

@sundasnoreen12 sundasnoreen12 merged commit 2b9b3db into master Aug 23, 2023
4 of 5 checks passed
@sundasnoreen12 sundasnoreen12 deleted the sundas/INF-1020 branch August 23, 2023 09:46
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.

3 participants