Skip to content
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

Implement copy button #12866

Closed
1 of 2 tasks
Kreyren opened this issue Sep 15, 2020 · 0 comments · Fixed by #21629
Closed
1 of 2 tasks

Implement copy button #12866

Kreyren opened this issue Sep 15, 2020 · 0 comments · Fixed by #21629
Labels
type/enhancement An improvement of existing functionality
Milestone

Comments

@Kreyren
Copy link
Contributor

Kreyren commented Sep 15, 2020

Description

Issue transferred from https://codeberg.org/Codeberg/Community/issues/266

image

On rafined GitHub there is a function that allows to put the file content in a clipbox which i think would be nice here as well

image

Checklist prior to contribution

@lunny lunny added the type/enhancement An improvement of existing functionality label Sep 16, 2020
techknowlogick pushed a commit that referenced this issue Nov 4, 2022
If a raw text file is displayed, a copy button of the text is enabled.

* Closes #12866

### Before

![image](https://user-images.githubusercontent.com/20454870/198898628-df1bcb0c-79d7-4ffb-95e4-441d77430827.png)

### After

![image](https://user-images.githubusercontent.com/20454870/199988152-ea1099ad-29e1-4765-a9ca-4c03c1737453.png)

#### Rendered files and binaries have their button disabled

![image](https://user-images.githubusercontent.com/20454870/199988408-73de6327-5e9e-462b-b2b6-8c3f5b878386.png)

![image](https://user-images.githubusercontent.com/20454870/199988563-844f8656-f48d-4929-880e-b6558c1c054a.png)

Signed-off-by: Yarden Shoham <hrsi88@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
@lunny lunny added this to the 1.19.0 milestone Nov 5, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/enhancement An improvement of existing functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants