mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-24 21:51:41 +08:00
Previously, GitHub PR oneboxes always showed "opened on [date]" regardless of the PR's status. This could be misleading for merged or closed PRs where the relevant date is when that action occurred. Now the date label and value match the PR status: - open/draft: "opened/drafted on [created_at]" - approved/changes_requested: "[status] on [review submitted_at]" - merged/closed: "merged/closed on [merged_at/closed_at]" Also removes an unused GITHUB_COMMENT_REGEX constant from github_repo_onebox.rb. **Here are a few examples** <img width="743" height="1035" alt="CleanShot 2025-12-11 at 18 10 42" src="https://github.com/user-attachments/assets/810893a5-2563-4a19-96a1-7bf876e2d27c" /> |
||
|---|---|---|
| .. | ||
| github | ||
| json_ld_partials | ||
| _layout.mustache | ||
| allowlistedgeneric.mustache | ||
| amazon.mustache | ||
| discourse_category_onebox.mustache | ||
| discourse_topic_onebox.mustache | ||
| discourse_user_onebox.mustache | ||
| discoursetopic.mustache | ||
| githubactions.mustache | ||
| githubblob.mustache | ||
| githubcommit.mustache | ||
| githubfolder.mustache | ||
| githubgist.mustache | ||
| githubissue.mustache | ||
| githubpullrequest.mustache | ||
| githubrepo.mustache | ||
| gitlabblob.mustache | ||
| googledocs.mustache | ||
| googledrive.mustache | ||
| googleplayapp.mustache | ||
| hackernews.mustache | ||
| instagram.mustache | ||
| pastebin.mustache | ||
| pdf.mustache | ||
| preview_error_fragment_onebox.mustache | ||
| preview_error_onebox.mustache | ||
| pubmed.mustache | ||
| stackexchange.mustache | ||
| threadsstatus.mustache | ||
| twitterstatus.mustache | ||
| wikimedia.mustache | ||
| wikipedia.mustache | ||
| xkcd.mustache | ||