]> source.dussan.org Git - gitea.git/commit
Use data-tooltip-content for tippy tooltip (#23649)
authorwxiaoguang <wxiaoguang@gmail.com>
Fri, 24 Mar 2023 10:35:38 +0000 (18:35 +0800)
committerGitHub <noreply@github.com>
Fri, 24 Mar 2023 10:35:38 +0000 (18:35 +0800)
commit8d5fbeb7a290791dda8e8e8a1a0fd6824b76494f
tree4f7651105a8ad92d99de5a44daa943b70d79c38c
parent87f0f7e670c6c0e6aeab8c4458bfdb9d954eacec
Use data-tooltip-content for tippy tooltip (#23649)

Follow:
* #23574
* Remove all ".tooltip[data-content=...]"

Major changes:

* Remove "tooltip" class, use "[data-tooltip-content=...]" instead of
".tooltip[data-content=...]"
* Remove legacy `data-position`, it's dead code since last Fomantic
Tooltip -> Tippy Tooltip refactoring
* Rename reaction attribute from `data-content` to
`data-reaction-content`
* Add comments for some `data-content`: `{{/* used by the form */}}`
* Remove empty "ui" class
* Use "text color" for SVG icons (a few)
77 files changed:
modules/charset/escape_stream.go
modules/charset/escape_test.go
modules/timeutil/since.go
modules/timeutil/since_test.go
templates/admin/auth/list.tmpl
templates/admin/cron.tmpl
templates/admin/notice.tmpl
templates/admin/user/edit.tmpl
templates/admin/user/new.tmpl
templates/base/head_navbar.tmpl
templates/code/searchform.tmpl
templates/explore/repo_list.tmpl
templates/explore/repo_search.tmpl
templates/install.tmpl
templates/org/home.tmpl
templates/org/team/new.tmpl
templates/projects/view.tmpl
templates/repo/actions/list.tmpl
templates/repo/blame.tmpl
templates/repo/branch/list.tmpl
templates/repo/cite/cite_buttons.tmpl
templates/repo/cite/cite_modal.tmpl
templates/repo/clone_buttons.tmpl
templates/repo/commit_page.tmpl
templates/repo/commits_table.tmpl
templates/repo/create.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/comments.tmpl
templates/repo/diff/new_review.tmpl
templates/repo/diff/options_dropdown.tmpl
templates/repo/diff/stats.tmpl
templates/repo/diff/whitespace_dropdown.tmpl
templates/repo/editor/edit.tmpl
templates/repo/editor/upload.tmpl
templates/repo/file_info.tmpl
templates/repo/header.tmpl
templates/repo/home.tmpl
templates/repo/issue/labels/label_list.tmpl
templates/repo/issue/new_form.tmpl
templates/repo/issue/view_content/add_reaction.tmpl
templates/repo/issue/view_content/comments_delete_time.tmpl
templates/repo/issue/view_content/pull.tmpl
templates/repo/issue/view_content/reactions.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/issue/view_title.tmpl
templates/repo/projects/view.tmpl
templates/repo/pulls/status.tmpl
templates/repo/release/list.tmpl
templates/repo/release/new.tmpl
templates/repo/search.tmpl
templates/repo/settings/collaboration.tmpl
templates/repo/settings/deploy_keys.tmpl
templates/repo/settings/lfs.tmpl
templates/repo/settings/lfs_locks.tmpl
templates/repo/settings/options.tmpl
templates/repo/settings/webhook/history.tmpl
templates/repo/sub_menu.tmpl
templates/repo/view_file.tmpl
templates/repo/wiki/revision.tmpl
templates/shared/actions/runner_edit.tmpl
templates/shared/actions/runner_list.tmpl
templates/shared/issuelist.tmpl
templates/user/dashboard/issues.tmpl
templates/user/profile.tmpl
templates/user/settings/applications.tmpl
templates/user/settings/keys_gpg.tmpl
templates/user/settings/keys_principal.tmpl
templates/user/settings/keys_ssh.tmpl
templates/user/settings/profile.tmpl
tests/e2e/utils_e2e.js
tests/integration/repo_test.go
web_src/js/components/DashboardRepoList.vue
web_src/js/components/DiffFileList.vue
web_src/js/components/DiffFileTreeItem.vue
web_src/js/features/comp/ReactionSelector.js
web_src/js/modules/aria/dropdown.js
web_src/js/modules/tippy.js