You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/web_src/js
silverwind 0b654fa8dc
Clipboard copy enhancements (#27669)
1. Do not show temporary tooltips that are triggered from within
dropdowns. Previously this resulted in the tooltip being stuck to
top-left of the page like seen on issue comment URL copy. I could not
figure out any tippy options that prevent this, so I think it's better
to just not show it.
1. Refactor `initGlobalCopyToClipboardListener` so that it does not run
a often useless `document.querySelector` on every click, make
`data-clipboard-text-type` work with `data-clipboard-target`. No use in
current code base but still good to have. Finally some minor code
cleanup in the function.

Point 1 is for this copy button:

<img width="229" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/81f34746-8ea5-43d9-8c6f-f6f417a9e4ad">

---------

Co-authored-by: Giteabot <teabot@gitea.io>
1 year ago
..
components Restore warning commit status (#27504) 1 year ago
features Clipboard copy enhancements (#27669) 1 year ago
markup Fix mermaid flowchart margin issue (#27503) 1 year ago
modules Clipboard copy enhancements (#27669) 1 year ago
render Use vitest globals (#27102) 1 year ago
standalone
test
utils Replace ajax with fetch, improve image diff (#27267) 1 year ago
vendor
webcomponents
bootstrap.js
index.js Hide archived labels by default from the suggestions when assigning labels for an issue (#27451) 1 year ago
jquery.js
svg.js Replace ajax with fetch, improve image diff (#27267) 1 year ago
svg.test.js Use vitest globals (#27102) 1 year ago
utils.js Replace ajax with fetch, improve image diff (#27267) 1 year ago
utils.test.js Use vitest globals (#27102) 1 year ago