forgejo/web_src/js/features
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>
2023-10-18 15:16:06 +00:00
..
admin Refactor system setting (#27000) 2023-10-05 09:08:19 +08:00
comp Use fetch helpers instead of fetch (#27026) 2023-09-19 00:50:30 +00:00
captcha.js
citation.js
clipboard.js Clipboard copy enhancements (#27669) 2023-10-18 15:16:06 +00:00
codeeditor.js Fix EOL handling in web editor (#27141) 2023-09-24 19:51:02 +00:00
colorpicker.js
common-global.js Replace ajax with fetch, improve image diff (#27267) 2023-10-11 12:34:21 +00:00
common-issue-list.js Use fetch helpers instead of fetch (#27026) 2023-09-19 00:50:30 +00:00
common-issue-list.test.js Use vitest globals (#27102) 2023-09-27 04:37:13 +00:00
common-organization.js
contextpopup.js Fix issue and commit status popup padding (#25254) 2023-06-15 10:09:16 +02:00
copycontent.js Use fetch helpers instead of fetch (#27026) 2023-09-19 00:50:30 +00:00
dropzone.js
emoji.js Update JS and PY dependencies (#27501) 2023-10-08 00:16:20 +00:00
eventsource.sharedworker.js
file-fold.js
heatmap.js Remove fomantic loader module (#26670) 2023-08-25 16:03:14 +00:00
imagediff.js Replace ajax with fetch, improve image diff (#27267) 2023-10-11 12:34:21 +00:00
install.js Use fetch helpers instead of fetch (#27026) 2023-09-19 00:50:30 +00:00
notification.js Fix notification list bugs (#25781) 2023-07-09 18:42:31 +00:00
org-team.js
pull-view-file.js Use fetch helpers instead of fetch (#27026) 2023-09-19 00:50:30 +00:00
repo-branch.js
repo-code.js Change form actions to fetch for submit review box (#25219) 2023-06-14 16:01:37 +08:00
repo-code.test.js Use vitest globals (#27102) 2023-09-27 04:37:13 +00:00
repo-commit.js Show branches and tags that contain a commit (#25180) 2023-07-27 12:47:41 +02:00
repo-common.js Improve "language stats" UI (#26968) 2023-09-10 18:27:23 +08:00
repo-diff-commit.js Use fetch helpers instead of fetch (#27026) 2023-09-19 00:50:30 +00:00
repo-diff-commitselect.js Add commits dropdown in PR files view and allow commit by commit review (#25528) 2023-07-28 21:18:12 +02:00
repo-diff-filetree.js
repo-diff.js Remove "TODO" tasks from CSS file (#26835) 2023-08-31 10:49:53 +00:00
repo-editor.js Use unique class for breadcrumb divider (#26524) 2023-08-16 00:08:23 +00:00
repo-findfile.js
repo-findfile.test.js Use vitest globals (#27102) 2023-09-27 04:37:13 +00:00
repo-graph.js
repo-home.js Fix the topic validation rule and suport dots (#26286) 2023-08-03 09:18:06 +00:00
repo-issue-content.js Improve issue history dialog and make poster can delete their own history (#27323) 2023-09-28 08:43:20 +00:00
repo-issue-list.js Hide archived labels by default from the suggestions when assigning labels for an issue (#27451) 2023-10-17 16:10:45 +02:00
repo-issue-pr-form.js
repo-issue.js Hide archived labels by default from the suggestions when assigning labels for an issue (#27451) 2023-10-17 16:10:45 +02:00
repo-legacy.js Improve "language stats" UI (#26968) 2023-09-10 18:27:23 +08:00
repo-migrate.js Use fetch helpers instead of fetch (#27026) 2023-09-19 00:50:30 +00:00
repo-migration.js Use "input" event instead of "keyup" event for migration form (#26602) 2023-08-20 16:36:07 +02:00
repo-projects.js Refactor project templates (#26448) 2023-08-12 10:30:28 +00:00
repo-release.js
repo-settings.js Improve repo/user/org search (#27030) 2023-09-12 16:44:48 +00:00
repo-template.js
repo-unicode-escape.js
repo-wiki.js Improve wiki sidebar and TOC (#25460) 2023-06-23 15:51:43 -04:00
sshkey-helper.js
stopwatch.js
tablesort.js
tribute.js Avoiding accessing undefined mentionValues (#26461) 2023-08-12 08:36:23 +00:00
user-auth-webauthn.js Use fetch helpers instead of fetch (#27026) 2023-09-19 00:50:30 +00:00
user-auth.js Show the mismatched ROOT_URL warning on the sign-in page if OAuth2 is enabled (#25947) 2023-07-18 22:14:30 +00:00
user-settings.js