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

Replace react-time-ago with react-timeago #385

Merged
merged 1 commit into from
Oct 7, 2020

Conversation

zbynek
Copy link
Contributor

@zbynek zbynek commented Oct 7, 2020

Since react-time-ago package can't be updated to latest version without changes + it seems to be responsible for some console errors in development mode, why not replace it with
react-timeago which seems 10x more popular and brings in fewer transitive dependencies. There is also timeago-react, but I picked the package with more downloads.

CC @halkeye

@zbynek zbynek requested a review from a team as a code owner October 7, 2020 20:49
node: PropTypes.shape({
id: PropTypes.string.isRequired,
title: PropTypes.string.isRequired,
reverseDependencies: PropTypes.shape({
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was causing some console errors and didn't seem worth an own PR.

@halkeye
Copy link
Member

halkeye commented Oct 7, 2020

lgtm

@halkeye halkeye merged commit d4997eb into jenkins-infra:master Oct 7, 2020
Copy link

@kasunsewwandika kasunsewwandika left a comment

Choose a reason for hiding this comment

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

Great thanks

Copy link

@kasunsewwandika kasunsewwandika left a comment

Choose a reason for hiding this comment

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

Great

@zbynek zbynek deleted the timeago branch April 12, 2022 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants