Whole Preview Section is not updating when changing branches on repository homepage #101898
Replies: 7 comments 3 replies
-
|
The same problem appeared for me - and I hope it's not the test change for the platform (i'm trying to compact my repositories by having it in different branches so i need readme for each branch) |
Beta Was this translation helpful? Give feedback.
-
|
The issue extends beyond just the readme file; it affects the entire preview section, as it replaces all the preview content with that from the default branch. For instance, here https://github.com/github/markup/tree/v0.1.0 we can observe a Code of conduct which is not present in that specific version. Additionally, there are some peculiar behaviors:
Overall, it appears that an observable or a similar structure got broken. |
Beta Was this translation helpful? Give feedback.
-
|
Same problem just appeared for me yesterday. My branch README preview will not update no matter how many commits and pushes to it. |
Beta Was this translation helpful? Give feedback.
-
|
Is there any way we can bump or convey this to the team GitHub?? |
Beta Was this translation helpful? Give feedback.
-
|
Same problem for me. |
Beta Was this translation helpful? Give feedback.
-
|
Same/duplicate discussion is here https://github.com/orgs/community/discussions/101835 |
Beta Was this translation helpful? Give feedback.
-
|
The bug seems fixed now |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Bug
Body
Description:
Upon switching branches on the repository homepage, the README content does not dynamically update to reflect the contents of the currently selected branch, persisting with the content of the default main branch until the README file is explicitly clicked. This behavior appears to have surfaced after the latest UI release changes.
Steps to Reproduce:
Navigate to the repository homepage on GitHub, starting on the default main branch where the latest README contents are displayed.
Create and push changes in a new branch (e.g., feat branch) that modifies the README.
Return to the repository homepage, which defaults to displaying the main branch.
Change the branch to the previously created feat branch.
Despite switching branches, the README content displayed on the homepage remains that of the main branch until explicitly clicking on the README file.
Expected Behavior:
Upon changing the branch on the repository homepage, the README content should dynamically update to reflect the contents of the currently selected branch.
Additional Information:
This issue seems to have emerged after the latest UI release changes. Please verify if this behavior aligns with the intended design or if it is indeed a bug.
Beta Was this translation helpful? Give feedback.
All reactions