Skip to content

Restore download-folder-button in "Repository refresh" beta - #3195

Merged
fregante merged 1 commit into
refined-github:masterfrom
FloEdelmann:restore-download-folder-button
Jun 10, 2020
Merged

fregante merged 1 commit into
refined-github:masterfrom
FloEdelmann:restore-download-folder-button

Conversation

@FloEdelmann

Copy link
Copy Markdown
Member

References #3081.

Screenshot_2020-06-06_21-15-56

@fregante
fregante merged commit 128e8dd into refined-github:master Jun 10, 2020
folderButtonGroup.prepend(
<a
className="btn btn-sm BtnGroup-item"
href={`https://download-directory.github.io/?url=${location.href}`}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be worth constructing this URL via URL at some point

const downloadUrl = new URL('https://download-directory.github.io/')
downloadUrl.searchParams.set('url', location.href);

@FloEdelmann
FloEdelmann deleted the restore-download-folder-button branch June 10, 2020 11:39
@yakov116

yakov116 commented Jun 18, 2020 •

Copy link
Copy Markdown
Member

image

@FloEdelmann that download button is just a bit too big

@FloEdelmann

Copy link
Copy Markdown
Member Author

@yakov116 On which page did you find this issue? I don't see the "Download" button on repo root pages at all.

@yakov116

Copy link
Copy Markdown
Member

Where I saw it was deleted. But then... it was Good old branchNSlash

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants