0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-19 08:35:29 +01:00
gitea/web_src/js
wxiaoguang 249e67672a
Remove jQuery import from some files (#32512)
Many files do not directly depend on jQuery now.

To clarify the usage: use `fomanticQuery` to operate Fomantic
components.

Then developers could focus on removing the remaining jQuery usages by
searching `import $` globally.

21 files now:

```
./components/RepoBranchTagSelector.vue:3:import $ from 'jquery';
./features/admin/common.ts:1:import $ from 'jquery';
./features/admin/emails.ts:1:import $ from 'jquery';
./features/common-button.ts:1:import $ from 'jquery';
./features/comp/ComboMarkdownEditor.ts:3:import $ from 'jquery'; (I am working on it, there will be a new PR)
./features/comp/LabelEdit.ts:1:import $ from 'jquery';
./features/notification.ts:1:import $ from 'jquery';
./features/org-team.ts:1:import $ from 'jquery';
./features/repo-code.ts:1:import $ from 'jquery';
./features/repo-common.ts:1:import $ from 'jquery';
./features/repo-diff.ts:1:import $ from 'jquery';
./features/repo-editor.ts:1:import $ from 'jquery';
./features/repo-issue-content.ts:1:import $ from 'jquery';
./features/repo-issue-list.ts:1:import $ from 'jquery';
./features/repo-issue-sidebar.ts:1:import $ from 'jquery';
./features/repo-issue.ts:1:import $ from 'jquery';
./features/repo-legacy.ts:1:import $ from 'jquery';
./features/repo-new.ts:1:import $ from 'jquery';
./features/repo-projects.ts:1:import $ from 'jquery';
./features/repo-settings.ts:1:import $ from 'jquery';
./features/repo-template.ts:1:import $ from 'jquery';
```
2024-11-15 02:48:41 +08:00
..
components Remove jQuery import from some files (#32512) 2024-11-15 02:48:41 +08:00
features Remove jQuery import from some files (#32512) 2024-11-15 02:48:41 +08:00
markup Fix a number of typescript issues (#32459) 2024-11-11 11:13:57 +00:00
modules Refactor language menu and dom utils (#32450) 2024-11-08 14:04:24 +08:00
render Fix a number of Typescript issues (#31877) 2024-08-28 18:32:38 +02:00
standalone Fix a number of Typescript issues (#31877) 2024-08-28 18:32:38 +02:00
utils Refactor sidebar label selector (#32460) 2024-11-10 08:26:42 +00:00
vendor Remove jQuery import from some files (#32512) 2024-11-15 02:48:41 +08:00
webcomponents Fix a number of typescript issues (#32308) 2024-10-31 14:57:40 +00:00
bootstrap.test.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
bootstrap.ts Add types to fetch,toast,bootstrap,svg (#31627) 2024-07-25 23:31:24 +00:00
globals.d.ts Move web globals to web_src/js/globals.d.ts (#31943) 2024-08-30 07:36:53 +00:00
globals.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
htmx.ts Fix a number of Typescript issues (#31877) 2024-08-28 18:32:38 +02:00
index.ts Refactor sidebar label selector (#32460) 2024-11-10 08:26:42 +00:00
svg.test.ts Fix a number of Typescript issues (#31877) 2024-08-28 18:32:38 +02:00
svg.ts Fix a number of typescript issues (#32459) 2024-11-11 11:13:57 +00:00
types.ts Refactor issue page info (#32445) 2024-11-08 02:21:13 +00:00
utils.test.ts Fix suggestions for issues (#32380) 2024-10-30 20:06:36 +00:00
utils.ts Refactor issue page info (#32445) 2024-11-08 02:21:13 +00:00
vitest.setup.ts Fix a number of Typescript issues (#31877) 2024-08-28 18:32:38 +02:00