Skip to content

Conversation

@Jamesbarford
Copy link
Contributor

Display a message saying what is currently in progress and when it is expected to finish. Or nothing if nothing is in progress.

image

Copy link
Member

@Kobzol Kobzol left a comment

Choose a reason for hiding this comment

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

Thanks! Left two comments.

<strong>
<CommitSha tag={req.tag}></CommitSha>
</strong>{" "}
expected to end at {formattedDate}{" "}
Copy link
Member

Choose a reason for hiding this comment

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

We already show the absolute duration in the timeline table, I thought that the added value of this would be to show relative time ("is expected to end in 5 minutes"). We already have code for this in the old status page, so I'd just copy-paste it from there.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

:href="'https://github.com/rust-lang/rust/commit/' + tag"
>
{{ tag.substring(0, 13) }}
{{ truncate ? tag.substring(0, 13) : tag }}
Copy link
Member

Choose a reason for hiding this comment

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

I'd always truncate the tag if it looks like a SHA, otherwise the message will be annoyingly wide. #2318 solves showing the full SHA (but people just click on the link anyway and then copy-paste from the URL, I think).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's not that massive and it avoids any ambiguity which felt like some of the feedback was aimed at;
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants