You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/web_src/js
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>
2 years ago
..
components Tweak actions menu (#26278) 2 years ago
features Refactor project templates (#26448) 2 years ago
markup Fix task list checkbox toggle to work with YAML front matter (#25184) 2 years ago
modules Use frontend fetch for branch dropdown component (#25719) 2 years ago
render Add custom ansi colors and CSS variables for them (#25546) 2 years ago
standalone Add toasts to UI (#25449) 2 years ago
test rename tributeValues to mentionValues (#25375) 2 years ago
utils Avoiding accessing undefined mentionValues (#26461) 2 years ago
webcomponents Refactor locale number (#24134) 2 years ago
bootstrap.js Improve template system and panic recovery (#24461) 2 years ago
index.js Show branches and tags that contain a commit (#25180) 2 years ago
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) 5 years ago
svg.js Add commits dropdown in PR files view and allow commit by commit review (#25528) 2 years ago
svg.test.js Improve `<SvgIcon>` to make it output `svg` node and optimize performance (#23570) 2 years ago
utils.js Remove hacky patch for "safari emoji glitch fix" (#25208) 2 years ago
utils.test.js Fix webauthn regression and improve code (#25113) 2 years ago