Skip to content

Fix download-folder-button and latest-tag-button - #3254

Merged
fregante merged 5 commits into
refined-github:masterfrom
FloEdelmann:fix-buttons
Jul 2, 2020
Merged

fregante merged 5 commits into
refined-github:masterfrom
FloEdelmann:fix-buttons

Conversation

@FloEdelmann

@FloEdelmann FloEdelmann commented Jun 18, 2020 •

Copy link
Copy Markdown
Member
  1. Fixes Restore download-folder-button in "Repository refresh" beta #3195 (comment).

    download-folder-button doesn't need to be shown when "Clone or download" button exists.

    Problem: isRepoRoot seems to not work on branches with slashes. It caused the big button to appear with "Repository refresh" beta disabled and a console error with "Repository refresh" beta enabled.

    Test: https://github.com/yakov116/TestR/tree/this/branch/has/many/slashes

  2. Fixes Repo page completely broken when new feature preview enabled #3081 (comment) again after Add “Compare to HEAD” link next to latest-tag-button #3214 was merged.

    Test: https://github.com/OpenLightingProject/open-fixture-library

    Before:
    Screenshot_2020-06-19_00-05-34

    After:
    Screenshot_2020-06-19_00-07-56

@yakov116

Copy link
Copy Markdown
Member

@FloEdelmann maybe throw #3195 (comment) in?

@fregante
fregante merged commit 5bd2ac2 into refined-github:master Jul 2, 2020
@FloEdelmann
FloEdelmann deleted the fix-buttons branch July 6, 2020 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

Repo page completely broken when new feature preview enabled

4 participants