gitea/web_src/js/features
Kerwin Bryant f0f1737d4d
Refactor markup and pdf-viewer to use new init framework (#33772)
1. Add some "render-content" classes to "markup" elements when the
content is rendered
2. Use correct "markup" wrapper for "preview" (but not set that class on
the tab)
3. Remove incorrect "markup" class from LFS file view, because there is
no markup content
    * "edit-diff" is also removed because it does nothing
5. Use "initPdfViewer" for PDF viewer
6. Remove incorrect "content" class from milestone markup
7. Init all ".markup" elements by new init framework

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-03-03 11:49:15 -08:00
..
admin Add cropping support when modifying the user/org/repo avatar (#33498) 2025-02-06 21:07:44 +08:00
comp Fix dynamic content loading init problem (#33748) 2025-03-01 02:02:10 +00:00
captcha.ts Fix mCaptcha bug (#33659) 2025-02-20 22:53:38 +08:00
citation.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
clipboard.ts Enable Typescript strictFunctionTypes (#32911) 2024-12-22 02:59:25 +08:00
code-frequency.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
codeeditor.ts Improve JSX/TSX support in code editor (#32833) 2024-12-14 03:10:20 +00:00
colorpicker.ts Enable Typescript strictFunctionTypes (#32911) 2024-12-22 02:59:25 +08:00
common-button.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
common-fetch-action.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
common-form.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
common-issue-list.test.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
common-issue-list.ts Fix remaining typescript issues, enable tsc (#32840) 2024-12-16 05:02:32 +08:00
common-organization.ts Add cropping support when modifying the user/org/repo avatar (#33498) 2025-02-06 21:07:44 +08:00
common-page.ts Refactor global init code and add more comments (#33755) 2025-03-03 10:57:28 +08:00
contextpopup.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
contributors.ts Add "n commits" link to contributors in contributors graph page (#32799) 2024-12-12 19:02:54 +00:00
copycontent.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
dashboard.ts Enable Typescript noImplicitThis (#33250) 2025-01-16 04:26:17 +08:00
dropzone.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
emoji.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
eventsource.sharedworker.ts Enable Typescript strictFunctionTypes (#32911) 2024-12-22 02:59:25 +08:00
file-fold.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
heatmap.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
imagediff.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
install.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
issue.ts Trivial fixes (#33304) 2025-01-17 08:55:02 +00:00
notification.ts Refactor legacy JS (#33115) 2025-01-06 17:38:42 +08:00
oauth2-settings.ts Enable Typescript strictFunctionTypes (#32911) 2024-12-22 02:59:25 +08:00
org-team.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
pull-view-file.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
recent-commits.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
repo-actions.ts Enable Typescript noImplicitThis (#33250) 2025-01-16 04:26:17 +08:00
repo-branch.ts Fix a number of typescript errors (#32773) 2024-12-11 09:29:04 +01:00
repo-code.ts Refactor legacy line-number and scroll code (#33094) 2025-01-04 10:56:07 +08:00
repo-commit.ts Enable Typescript noImplicitThis (#33250) 2025-01-16 04:26:17 +08:00
repo-common.test.ts Improve Open-with URL encoding (#33666) 2025-02-21 17:46:05 +00:00
repo-common.ts Clone repository with Tea CLI (#33725) 2025-02-27 18:18:02 +00:00
repo-diff-commit.ts Fix a number of typescript errors (#32773) 2024-12-11 09:29:04 +01:00
repo-diff-commitselect.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
repo-diff-filetree.ts Use git diff-tree for DiffFileTree on diff pages (#33514) 2025-02-28 00:58:25 +00:00
repo-diff.ts Refactor global init code and add more comments (#33755) 2025-03-03 10:57:28 +08:00
repo-editor.ts Refactor markup and pdf-viewer to use new init framework (#33772) 2025-03-03 11:49:15 -08:00
repo-findfile.test.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
repo-findfile.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
repo-graph.ts Fix dynamic content loading init problem (#33748) 2025-03-01 02:02:10 +00:00
repo-home.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
repo-issue-content.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
repo-issue-edit.ts Refactor markup and pdf-viewer to use new init framework (#33772) 2025-03-03 11:49:15 -08:00
repo-issue-list.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
repo-issue-pr-form.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
repo-issue-pr-status.ts Fix a number of typescript errors (#32773) 2024-12-11 09:29:04 +01:00
repo-issue-sidebar-combolist.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
repo-issue-sidebar.md Fix issue sidebar dropdown keyboard support (#33447) 2025-01-30 22:54:50 +00:00
repo-issue-sidebar.ts Refactor legacy JS (#33115) 2025-01-06 17:38:42 +08:00
repo-issue.ts Hide/disable unusable UI elements when a repository is archived (#33459) 2025-01-31 20:47:31 +08:00
repo-legacy.ts Refactor repo-diff.ts (#33746) 2025-02-28 16:37:16 +08:00
repo-migrate.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
repo-migration.ts Fix a number of typescript errors (#32773) 2024-12-11 09:29:04 +01:00
repo-milestone.ts Fix milestone deadline and date related problems (#32339) 2024-11-05 07:46:40 +00:00
repo-new.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
repo-projects.ts Refactor repo-projects.ts (#32892) 2024-12-19 08:37:12 +00:00
repo-release.ts Enable Typescript strictFunctionTypes (#32911) 2024-12-22 02:59:25 +08:00
repo-search.ts Enable Typescript strictFunctionTypes (#32911) 2024-12-22 02:59:25 +08:00
repo-settings-branches.test.ts Refactor repo-projects.ts (#32892) 2024-12-19 08:37:12 +00:00
repo-settings-branches.ts Allow cropping an avatar before setting it (#32565) 2024-11-28 02:15:59 +00:00
repo-settings.ts Add cropping support when modifying the user/org/repo avatar (#33498) 2025-02-06 21:07:44 +08:00
repo-unicode-escape.ts Fix "unicode escape" JS error (#32806) 2024-12-12 18:37:44 +00:00
repo-wiki.ts Refactor markup and pdf-viewer to use new init framework (#33772) 2025-03-03 11:49:15 -08:00
sshkey-helper.ts Enable Typescript noImplicitThis (#33250) 2025-01-16 04:26:17 +08:00
stopwatch.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
tablesort.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
tribute.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
user-auth-webauthn.ts Enable Typescript noImplicitAny (#33322) 2025-01-22 15:11:51 +08:00
user-auth.ts Warn users when they try to use a non-root-url to sign in/up (#32272) 2024-10-17 10:28:51 +08:00
user-settings.ts Add cropping support when modifying the user/org/repo avatar (#33498) 2025-02-06 21:07:44 +08:00