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

Self-Referential Links Fix for Markdown View #306

Merged
merged 3 commits into from
Feb 25, 2022

Conversation

RRM123
Copy link
Contributor

@RRM123 RRM123 commented Feb 23, 2022

Upgraded / Added the following dependencies to dashboard/origin-mlx/package.json:

  • react-markdown: ^4.0.8 --> ^8.0.0
  • remark-gfm : ^2.0.0 --> ^3.0.0
  • rehype-slug : ^5.0.1

Changes were made to OperatorDetail.tsx, MarkdownViewer.tsx, and MetaCard.tsx to
accommodate the new version of react-markdown and rehype-slug.

Resolves #261

/assign @ckadner

@ckadner ckadner requested review from ckadner and BluThaitanium and removed request for Tomcli and drewbutlerbb4 February 23, 2022 06:38
@BluThaitanium
Copy link
Contributor

Awesome work! /lgtm

Copy link
Member

@ckadner ckadner left a comment

Choose a reason for hiding this comment

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

Thanks @RRM123 -- looks good. Just a small question.

"styled-components": "^4.3.1",
"title-case": "^3.0.3",
"typescript": "^3.5.2",
"typescript-logging": "^1.0.0",
Copy link
Member

Choose a reason for hiding this comment

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

I assume you added the typescript-logging dependency to help with debugging, but you removed any logging statements from the code in your PR. Did the logging not work well or did you find it was not necessary given other means of debugging?

Copy link
Member

Choose a reason for hiding this comment

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

I updated the package.json file to remove the typescript-logging dependency.

I also regenerated the package-lock.json as the one you generated did not look right. Are you using an old version of NodeJS/npm?

Signed-off-by: Christian Kadner <[email protected]>
And its dependencies:
* "error-stack-parser"
* "stack-generator"
* "stackframe"
* "stacktrace-gps"
* "stacktrace-gps"
* "source-map"
* "stacktrace-js"

Signed-off-by: Christian Kadner <[email protected]>
Copy link
Member

@ckadner ckadner left a comment

Choose a reason for hiding this comment

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

/lgtm

@mlx-bot
Copy link
Collaborator

mlx-bot commented Feb 25, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ckadner, RRM123

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@mlx-bot mlx-bot merged commit 21edd47 into machine-learning-exchange:main Feb 25, 2022
krishnakumar27 pushed a commit to krishnakumar27/mlx that referenced this pull request Mar 30, 2022
…ge#306)

* Self-Referential Links Fix for Markdown View

Resolves machine-learning-exchange#261

Signed-off-by: RRM123 <[email protected]>

* Update package-lock.json

Signed-off-by: Christian Kadner <[email protected]>

* Remove unused package "typescript-logging"

And its dependencies:
* "error-stack-parser"
* "stack-generator"
* "stackframe"
* "stacktrace-gps"
* "stacktrace-gps"
* "source-map"
* "stacktrace-js"

Signed-off-by: Christian Kadner <[email protected]>

Co-authored-by: Christian Kadner <[email protected]>
Signed-off-by: Krishna Kumar <[email protected]>
@ckadner ckadner added the RCOS Potential work items for RCOS student interns label Jun 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm RCOS Potential work items for RCOS student interns
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Self-referential links dont work in markdown view
4 participants