1
0
Fork 0
forgejo/web_src/js/features
Denys Konovalov ab78c39e41
Refactor project templates (#26448)
This PR refactors a bunch of projects-related code, mostly the
templates.
The following things were done:
  - rename boards to columns in frontend code
  - use the new `ctx.Locale.Tr` method
  - cleanup template, remove useless newlines, classes, comments
  - merge org-/user and repo level project template together
    - move "new column" button into project toolbar
- move issue card (shared by projects and pinned issues) to shared
template, remove useless duplicated styles
- add search function to projects (to make the layout more similar to
milestones list where it is inherited from 😆)
  - maybe more changes I forgot I've done 😆 

Closes #24893

After:
![Bildschirmfoto vom 2023-08-10
23-02-00](https://github.com/go-gitea/gitea/assets/47871822/cab61456-1d23-4373-8163-e567f1b3b5f9)
![Bildschirmfoto vom 2023-08-10
23-02-26](https://github.com/go-gitea/gitea/assets/47871822/94b55d60-5572-48eb-8111-538a52d8bcc6)
![Bildschirmfoto vom 2023-08-10
23-02-46](https://github.com/go-gitea/gitea/assets/47871822/a0358f4b-4e05-4194-a7bc-6e0ecba5a9b6)

---------

Co-authored-by: silverwind <me@silverwind.io>
2023-08-12 10:30:28 +00:00
..
admin Show the mismatched ROOT_URL warning on the sign-in page if OAuth2 is enabled (#25947) 2023-07-18 22:14:30 +00:00
comp Don't autosize textarea in diff view (#26233) 2023-07-31 00:11:15 +02:00
captcha.js
citation.js
clipboard.js
codeeditor.js Always pass 6-digit hex color to monaco (#25780) 2023-07-09 12:17:22 +02:00
colorpicker.js
common-global.js Fix attachment clipboard copy on insecure origin (#26224) 2023-07-30 00:56:45 +02:00
common-issue-list.js
common-issue-list.test.js
common-organization.js
contextpopup.js Fix issue and commit status popup padding (#25254) 2023-06-15 10:09:16 +02:00
copycontent.js
dropzone.js
emoji.js
eventsource.sharedworker.js
file-fold.js
heatmap.js
imagediff.js Prevent duplicate image loading (#25675) 2023-07-04 14:43:02 +00:00
install.js
notification.js Fix notification list bugs (#25781) 2023-07-09 18:42:31 +00:00
org-team.js
pull-view-file.js Highlight viewed files differently in the PR filetree (#24956) 2023-06-25 08:46:30 +08: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
repo-commit.js Show branches and tags that contain a commit (#25180) 2023-07-27 12:47:41 +02:00
repo-common.js
repo-diff-commit.js Hide branch/tag icon if branches/tags are empty (#26204) 2023-07-28 23:05:24 +08: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 Add commits dropdown in PR files view and allow commit by commit review (#25528) 2023-07-28 21:18:12 +02:00
repo-editor.js
repo-findfile.js
repo-findfile.test.js
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 Clarify "text-align" CSS helpers, fix clone button padding (#25763) 2023-07-08 11:53:56 +02:00
repo-issue-list.js Refactor project templates (#26448) 2023-08-12 10:30:28 +00:00
repo-issue-pr-form.js
repo-issue.js Fix sidebar label dropdown divider (#25359) 2023-06-19 17:49:50 +00:00
repo-legacy.js Show branches and tags that contain a commit (#25180) 2023-07-27 12:47:41 +02:00
repo-migrate.js Add Retry button when creating a mirror-repo fails (#26228) 2023-08-04 10:21:32 +08:00
repo-migration.js
repo-projects.js Refactor project templates (#26448) 2023-08-12 10:30:28 +00:00
repo-release.js
repo-settings.js
repo-template.js
repo-unicode-escape.js Improve accessibility when (re-)viewing files (#24817) 2023-05-21 20:47:41 +00:00
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 Fix webauthn regression and improve code (#25113) 2023-06-07 19:20:18 +08: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