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

Replace clipboardjs by webcomponent #5588

Merged
merged 8 commits into from
Jun 6, 2024
Merged

Replace clipboardjs by webcomponent #5588

merged 8 commits into from
Jun 6, 2024

Conversation

jorg-vr
Copy link
Contributor

@jorg-vr jorg-vr commented Jun 5, 2024

This pull request removes all usages of clipboard and replaces them with our webcomponent.

I updated some UI to copy tokens and webhooks to match code copy UI:
image
image
image
image
image

I also removed a test on the uniqueness of the code renderings, which was created here: #1837
As far as I know, the code rendering is never displayed twice on a page in the current version, and the unique id is also no longer required for the copy button.

Closes #4499
Fixes DODONA-FRONTEND-6 which happened when there was no code to copy

@jorg-vr jorg-vr added the bug Something isn't working label Jun 5, 2024
@jorg-vr jorg-vr self-assigned this Jun 5, 2024
@jorg-vr jorg-vr marked this pull request as ready for review June 5, 2024 14:30
@jorg-vr jorg-vr requested a review from bmesuere as a code owner June 5, 2024 14:30
@jorg-vr jorg-vr merged commit 7d0bee8 into main Jun 6, 2024
11 of 13 checks passed
@jorg-vr jorg-vr deleted the fix/cliboard-empty branch June 6, 2024 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace the existing copy buttons by the new web component
2 participants