Skip to content

fix(miners): render PR lifecycle dates#1121

Open
Desel72 wants to merge 1 commit into
entrius:testfrom
Desel72:fix/miner-pr-date-fields
Open

fix(miners): render PR lifecycle dates#1121
Desel72 wants to merge 1 commit into
entrius:testfrom
Desel72:fix/miner-pr-date-fields

Conversation

@Desel72
Copy link
Copy Markdown

@Desel72 Desel72 commented May 13, 2026

Summary

Use a shared lifecycle-date helper for PR rows so merged PRs show the merge date, closed PRs show the close date, and open PRs show the creation date when the API provides those fields. Update the CommitLog model to tolerate currently missing date fields and cover the selection behavior with tests.

Related Issues

Fixes #1120

Type of Change

  • Bug fix
  • New feature
  • Refactor
  • Documentation
  • Other (describe below)

Screenshots

N/A - date rendering logic only.

Checklist

  • New components are modularized/separated where sensible
  • Uses predefined theme (e.g. no hardcoded colors)
  • Responsive/mobile checked
  • Tested against the test API
  • npm run format and npm run lint:fix have been run
  • npm run build passes
  • Screenshots included for any UI/visual changes

@xiao-xiao-mao xiao-xiao-mao Bot added the bug Something isn't working label May 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Backend: include prCreatedAt and closedAt on /miners/:id/prs

1 participant