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

Update styles dependencies #2255

Merged
merged 3 commits into from Jul 16, 2021
Merged

Update styles dependencies #2255

merged 3 commits into from Jul 16, 2021

Conversation

fiskus
Copy link
Member

@fiskus fiskus commented Jul 7, 2021

  • highlight.js: 10.7.2 → 11.0.1
  • katex: 0.13.5 → 0.13.11
  • react-ace: 9.4.0 → 9.4.1
  • remarkable: 1.7.4 → 2.0.1
  • sanitize.css: 11.0.1 → 12.0.1
  • vega-embed: 6.17.0 → 6.18.2

@codecov
Copy link

codecov bot commented Jul 7, 2021

Codecov Report

Merging #2255 (b439354) into master (41fb30d) will not change coverage.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2255   +/-   ##
=======================================
  Coverage   44.31%   44.31%           
=======================================
  Files         491      491           
  Lines       23462    23462           
  Branches     2987     2987           
=======================================
  Hits        10397    10397           
  Misses      12178    12178           
  Partials      887      887           
Flag Coverage Δ
api-python 89.85% <ø> (ø)
catalog 14.78% <0.00%> (ø)
lambda 93.93% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
catalog/app/components/Markdown/Markdown.js 0.00% <0.00%> (ø)

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 41fb30d...b439354. Read the comment docs.

import Remarkable from 'remarkable'
import { replaceEntities, escapeHtml, unescapeMd } from 'remarkable/lib/common/utils'
import * as Remarkable from 'remarkable'
import { linkify } from 'remarkable/linkify'
Copy link
Member Author

Choose a reason for hiding this comment

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

@fiskus fiskus requested a review from nl0 July 8, 2021 09:09
Copy link
Member

@nl0 nl0 left a comment

Choose a reason for hiding this comment

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

have you thoroughly tested markdown and santitize-related stuff didnt break?

@fiskus
Copy link
Member Author

fiskus commented Jul 8, 2021

I opened dozen of Markdown files, and compared them to the same URLs on staging: the look the same

@fiskus
Copy link
Member Author

fiskus commented Jul 8, 2021

If we don't have reference markdown file, I'll create one

@fiskus
Copy link
Member Author

fiskus commented Jul 8, 2021

I noticed one change only, related to highlight.js: punctuation symbols become faded

@fiskus
Copy link
Member Author

fiskus commented Jul 8, 2021

Before
Screenshot from 2021-07-08 14-50-10

After
Screenshot from 2021-07-08 14-50-17

@nl0
Copy link
Member

nl0 commented Jul 9, 2021

If we don't have reference markdown file, I'll create one

you can even add different code samples there so we can test both MD rendering and code highlighting via single sample file

@nl0
Copy link
Member

nl0 commented Jul 9, 2021

I noticed one change only, related to highlight.js: punctuation symbols become faded

that's fine, even nice

@nl0
Copy link
Member

nl0 commented Jul 9, 2021

@fiskus did you follow highlight.js migration guide? https://github.com/highlightjs/highlight.js/blob/main/VERSION_11_UPGRADE.md

@fiskus
Copy link
Member Author

fiskus commented Jul 9, 2021

Yes, our code isn't affected by those changes

@fiskus
Copy link
Member Author

fiskus commented Jul 9, 2021

I want to merge after GraphQL shipping

@fiskus fiskus merged commit 056a885 into master Jul 16, 2021
@fiskus fiskus deleted the update-deps-visual branch July 16, 2021 05:11
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.

None yet

2 participants