Conversation
Previously, the link for each playable branch was always prefixed by the organisation name, e.g. `endlessm/change-repel-animation` or `wjt/my-beautiful-horse`. In the common case where the branch is in the repo where the action is running, rather than in a fork, this doesn't provide any extra information, and clutters the branch listing. Only show the organisation when the branch is on a fork. Helps #42
This is mostly useful in the case where the branch does not have a PR.
This filter does two things: - Convert an ISO 8601 string to a Python datetime object - Format a Python datetime object as a human-readable string Previously the template only needed to operate on ISO 8601 strings (as returned by the GitHub API) but in a future commit I will supply it with a Python datetime object. Split the filter into two steps.
manuq
approved these changes
Jul 15, 2025
Contributor
manuq
left a comment
There was a problem hiding this comment.
The play emoji makes the difference.
| import collections.abc | ||
| import dataclasses | ||
| import datetime | ||
| import datetime as dt |
Contributor
There was a problem hiding this comment.
I see you find datetime.datetime repeating :)
branches.css
Outdated
Contributor
Member
Author
There was a problem hiding this comment.
OK, remove max width but center it?
Contributor
There was a problem hiding this comment.
I would just remove it, so the content will be centered by the margin: 0 auto rule if the page width is bigger than the width determined in the main element (768px). And the h1 element will be left aligned in small screens.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Demo build at https://wjt.github.io/github-pages-branches-test/branches/
This fixes #42 by addressing the following points remaining there:
I also added a couple of other things:
<title>title=attribute (i.e. tooltip)