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

Removing the deprecated Primer::TimeAgoComponent #1792

Merged
merged 5 commits into from
Feb 2, 2023

Conversation

jonrohan
Copy link
Member

@jonrohan jonrohan commented Jan 31, 2023

Description

This removes the deprecated Primer::TimeAgoComponent component in favor of Primer::Beta::RelativeTime. The uses of this component are 0 in dotcom.

Integration

Does this change require any updates to code in production?

No

Merge checklist

  • Added/updated tests
  • Added/updated documentation
  • Added/updated previews

@changeset-bot
Copy link

changeset-bot bot commented Jan 31, 2023

🦋 Changeset detected

Latest commit: 1ef71d9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/view-components Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added javascript Pull requests that update Javascript code ruby Pull requests that update Ruby code labels Jan 31, 2023
@jonrohan jonrohan temporarily deployed to review-pr-1792 January 31, 2023 23:27 — with GitHub Actions Inactive
@jonrohan jonrohan temporarily deployed to github-pages January 31, 2023 23:32 — with GitHub Actions Inactive
@jonrohan jonrohan temporarily deployed to review-pr-1792 January 31, 2023 23:38 — with GitHub Actions Inactive
@jonrohan jonrohan marked this pull request as ready for review January 31, 2023 23:41
@jonrohan jonrohan requested review from a team and keithamus January 31, 2023 23:41
@jonrohan jonrohan temporarily deployed to github-pages January 31, 2023 23:44 — with GitHub Actions Inactive
import './alpha/tab_container'
import './time_ago_component'
Copy link
Member Author

Choose a reason for hiding this comment

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

@keithamus I removed this import and realized that we weren't including the relative-time component anywhere so I added ./beta/relative_time which does the same import as before.

@jonrohan jonrohan merged commit 730b0a8 into main Feb 2, 2023
@jonrohan jonrohan deleted the remove_deprecated_relative_time_component branch February 2, 2023 16:13
@primer-css primer-css mentioned this pull request Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
javascript Pull requests that update Javascript code ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants