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 the channel report #1108

Merged
merged 1 commit into from
Jan 7, 2021
Merged

fix the channel report #1108

merged 1 commit into from
Jan 7, 2021

Conversation

bradsawadye
Copy link
Contributor

The channel name was not being displayed on the report as the channel name and the channel id were not being injected into the report template. The two properties are in a nested data object, and it seems the HandleBar module which does the compiling and injection was failing to retrieve the properties. Logic has been added to put the propertes on the first layer where they can be easily retrieved. Some minor refactor has also been done

MOM-651

The channel name was not being displayed on the report as the channel name and the channel id were not being injected into the report template. The two properties are in a nested data object, and it seems the HandleBar module which does the compiling and injection was failing to retrieve the properties. Logic has been added to put the propertes on the first layer where they can be easily retrieved. Some minor refactor has also been done

MOM-651
@codecov
Copy link

codecov bot commented Jan 5, 2021

Codecov Report

Merging #1108 (56de653) into master (ffd3db2) will decrease coverage by 0.07%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1108      +/-   ##
==========================================
- Coverage   86.61%   86.54%   -0.08%     
==========================================
  Files          77       77              
  Lines        4984     4986       +2     
==========================================
- Hits         4317     4315       -2     
- Misses        667      671       +4     
Impacted Files Coverage Δ
src/reports.js 29.28% <0.00%> (-0.43%) ⬇️
src/middleware/messageStore.js 92.30% <0.00%> (-1.71%) ⬇️

Continue to review full report at Codecov.

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

Copy link
Contributor

@MattyJ007 MattyJ007 left a comment

Choose a reason for hiding this comment

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

Nice one

@MattyJ007 MattyJ007 merged commit 697a044 into master Jan 7, 2021
@MattyJ007 MattyJ007 deleted the MOM-651 branch January 7, 2021 14:42
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.

2 participants