gitea/web_src/js/features
silverwind c61ed6fad4
Rework repo buttons (, ) ()
* Rework repo buttons ()

* Rework repo buttons

- Replace "New PR" and "Go to File" button with Icon Button
- Move all "Add File" actions into a dropdown button
- Remove most custom styling of clone buttons
- Margin and wiki tweaks

Buttons are now all equal height, mobile layout wraps gracefully.

Fixes: https://github.com/go-gitea/gitea/issues/13671
Replaces: https://github.com/go-gitea/gitea/pull/20375

* Restore history button and hide add button when unable to add ()

Fix two regressions from :

- Restore the 'History' button that was previously unable to render
  because it's show condition was never hit
- Hide the 'Add File' button when there would be no items in the
  dropdown.

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
..
comp Make Ctrl+Enter (quick submit) work for issue comment and wiki editor ()
admin-common.js Add LDAP group sync to Teams, fixes ()
admin-emails.js Use explicit jQuery import, remove unused eslint globals ()
admin-users.js Use explicit jQuery import, remove unused eslint globals ()
aria.js Remove customized (unmaintained) dropdown, improve aria a11y for dropdown ()
aria.md Remove customized (unmaintained) dropdown, improve aria a11y for dropdown ()
clipboard.js Use explicit jQuery import, remove unused eslint globals ()
codeeditor.js Add new JS linter rules ()
colorpicker.js Move jquery-minicolors to npm/webpack ()
common-global.js Fix loading button with invalid form () ()
common-issue.js Replace deprecated String.prototype.substr() with String.prototype.slice() ()
common-organization.js Use explicit jQuery import, remove unused eslint globals ()
contextpopup.js Use explicit jQuery import, remove unused eslint globals ()
dropzone.js Update JS dependencies ()
emoji.js Frontend refactor, PascalCase to camelCase, remove unused code ()
eventsource.sharedworker.js Fix the JS error "EventSource is not defined" caused by some non-standard browsers () ()
file-fold.js Allow to mark files in a PR as viewed ()
formatting.js Prettify number of issues ()
heatmap.js Use explicit jQuery import, remove unused eslint globals ()
imagediff.js Fix viewed images not loading in a PR ()
install.js Use explicit jQuery import, remove unused eslint globals ()
notification.js Fix the JS error "EventSource is not defined" caused by some non-standard browsers () ()
org-team.js Never use /api/v1 from Gitea UI Pages ()
pull-view-file.js Replace unstyled meter with progress ()
repo-branch.js Add apply-patch, basic revert and cherry-pick functionality ()
repo-code.js Allow to mark files in a PR as viewed ()
repo-commit.js Fix a JS error in initRepoCommitLastCommitLoader's entryMap ()
repo-common.js Rework repo buttons (, ) ()
repo-diff.js Init popup for new code comment () ()
repo-editor.js Use explicit jQuery import, remove unused eslint globals ()
repo-findfile.js Feature: Find files in repo ()
repo-graph.js Use explicit jQuery import, remove unused eslint globals ()
repo-home.js A minimal change to replace data calls with attr as per guidelines ()
repo-issue-content.js Use explicit jQuery import, remove unused eslint globals ()
repo-issue-pr-form.js Use Vue to refactor pull merge UI ()
repo-issue.js Use Vue to refactor pull merge UI ()
repo-legacy.js Fix remove file on initial comment () ()
repo-migrate.js Use explicit jQuery import, remove unused eslint globals ()
repo-migration.js Use explicit jQuery import, remove unused eslint globals ()
repo-projects.js Feature: show issue assignee on project board ()
repo-release.js Use explicit jQuery import, remove unused eslint globals ()
repo-settings.js Remove customized (unmaintained) dropdown, improve aria a11y for dropdown ()
repo-template.js Never use /api/v1 from Gitea UI Pages ()
repo-unicode-escape.js Use explicit jQuery import, remove unused eslint globals ()
repo-wiki.js Make Ctrl+Enter (quick submit) work for issue comment and wiki editor ()
serviceworker.js Frontend refactor, PascalCase to camelCase, remove unused code ()
sshkey-helper.js Use explicit jQuery import, remove unused eslint globals ()
stopwatch.js Fix the JS error "EventSource is not defined" caused by some non-standard browsers () ()
tablesort.js Added missing `data-` prefix. ()
tribute.js Correctly escape within tribute.js () ()
user-auth-webauthn.js Prevent security failure due to bad APP_ID ()
user-auth.js Use explicit jQuery import, remove unused eslint globals ()
user-settings.js Use explicit jQuery import, remove unused eslint globals ()