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

Show inline linter messages in the compare view #417

Merged
merged 6 commits into from
Mar 19, 2019

Conversation

kumar303
Copy link
Contributor

@kumar303 kumar303 commented Mar 19, 2019

This implements inline linter messages which is the final part to fix #314

In http://localhost:3000/en-US/compare/494431/versions/1532144...1532144/ you can click on common.js to see an inline message.

Example from storybook:

Screenshot 2019-03-19 10 05 36

@codecov-io
Copy link

Codecov Report

Merging #417 into master will increase coverage by 0.05%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #417      +/-   ##
=========================================
+ Coverage   97.14%   97.2%   +0.05%     
=========================================
  Files          35      35              
  Lines         701     715      +14     
  Branches      157     159       +2     
=========================================
+ Hits          681     695      +14     
  Misses         19      19              
  Partials        1       1
Impacted Files Coverage Δ
src/components/DiffView/index.tsx 100% <100%> (ø) ⬆️

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 6e633c7...78ad71d. Read the comment docs.

@kumar303
Copy link
Contributor Author

This is the issue to fix the parseDiff() types: #420

Copy link
Member

@willdurand willdurand left a comment

Choose a reason for hiding this comment

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

r+wc, thanks!

src/components/DiffView/styles.module.scss Outdated Show resolved Hide resolved
src/components/DiffView/index.spec.tsx Outdated Show resolved Hide resolved
src/components/DiffView/index.spec.tsx Show resolved Hide resolved
src/components/DiffView/index.spec.tsx Outdated Show resolved Hide resolved
src/components/DiffView/index.spec.tsx Outdated Show resolved Hide resolved
src/components/DiffView/index.spec.tsx Outdated Show resolved Hide resolved
src/components/DiffView/index.tsx Outdated Show resolved Hide resolved
@kumar303 kumar303 merged commit 18e3ecd into mozilla:master Mar 19, 2019
@kumar303 kumar303 deleted the compare-linter-314 branch March 19, 2019 22:00
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.

View linter messages in the compare view for versions
3 participants