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
Drop support for the old GitHub layout #3951
Conversation
This will break all of these features on GHE 2.21, which is still supported until June. I would rather wait until then to remove this code. |
Maybe we can reopen this PR in June |
Let me finish it then I will close |
@fregante please don't review. This went through many rebases, I will mark it ready to review next week sometime. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks good so far except I haven’t looked at releases-tab and the attribute usage in follow-file-renames. Feel free to keep making changes. I had already “viewed” some changes last time
The change is that until now we are getting the short hash of the commit. With this change we get the entire hash. Release-tab is messed up. I will redo it. |
@yakov116 let me know when this is ready and I'll do a quick test on GHE. |
its ready to test |
@yakov116 Is there any meta that you're already took care of but is still unchecked here? #4008 (comment) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Untested but code looks good 💯
No |
@fregante do we plan on doing a release before the first? If not this can be merged. |
No, we're waiting for the auto-release. It's up to you if you want to merge this now or after the 21.6.1 release, to give them an extra week of support. |
As long as we don't have any conflicts, I don't care leaving it open. |
'.repository-content .Box.Box--condensed relative-time', | ||
'[itemprop="dateModified"] relative-time' // "Repository refresh" layout | ||
].join(), {waitForChildren: false}); | ||
const lastCommitDate = await elementReady('[itemprop="dateModified"] relative-time', {waitForChildren: false}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I messed this one up. I deleted the wrong one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see. I was seeing the bar because in Safari is still on 21.6.1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did attempt to fix it in the last PR...
Whatever..
As per #3946 (comment)
Tested:
clone-branch
repo-age
bugs-tab
download-folder-button
split-issue-pr-search-results
releases-tab
toggle-files-button
show-open-prs-of-forks
tags-on-commits-list
toggle-files-button
user-profile-follower-badge
set-default-repositories-type-to-sources
pull-request-hotkey
more-dropdown
mark-merge-commits-in-list
follow-file-renames
default-branch-button
comments-time-machine-links
ci-link