Skip to content

Restore clean-repo-header feature - #6908

Merged
fregante merged 4 commits into
mainfrom
revert-6759-clean-repo-header
Sep 17, 2023
Merged

fregante merged 4 commits into
mainfrom
revert-6759-clean-repo-header

Conversation

@fregante

Copy link
Copy Markdown
Member

Reverts #6759

The header is still long, ugly and it still causes a wrap and Cumulative Layout Shift.

We can restore it without making it disableable because all of that information is visible in the sidebar, on the same page, as well as in the upcoming:

Screenshot 16

@fregante

Copy link
Copy Markdown
Member Author

Before

Screenshot 20

After

Screenshot 21

@fregante
fregante marked this pull request as ready for review September 12, 2023 06:22
@fregante

Copy link
Copy Markdown
Member Author

I limited this feature to the new header

Affected

Screenshot 24

Unaffected (except "pins" label)

Screenshot 23

@fregante
fregante merged commit ca58484 into main Sep 17, 2023
@fregante
fregante deleted the revert-6759-clean-repo-header branch September 17, 2023 06:05
@innocenzi

Copy link
Copy Markdown
Contributor

This is disruptive when disabling the new repo-header-info feature, we don't get star count anywhere. :/

Should the CSS in this PR not only be added when repo-header-info is enabled?

@fregante

fregante commented Sep 19, 2023 •

Copy link
Copy Markdown
Member Author

we don't get star count anywhere. :/

See the first screenshot, the stars appear 2 times on the page, 400px away

@innocenzi

Copy link
Copy Markdown
Contributor

Indeed, I phrased that poorly. I really just meant that this was a downgrade in scannability. Is there any way to only hide the stars when the feature is enabled?

@fregante

Copy link
Copy Markdown
Member Author

Update to 23.9.21

@refined-github refined-github locked as resolved and limited conversation to collaborators Sep 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Development

Successfully merging this pull request may close these issues.

2 participants