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
wxiaoguang 5d09023f13
Avoid duplicate JS error messages on UI (#28873)
Gitea treat JS errors seriously, so sometimes the JS errors caused by
3rdparty code (eg: browser extensions) would also be reported on Gitea
UI: TypeError: WeakMap key undefined (caused by extension DarkReader's
bug) #28861

To avoid fill the user's screen with a lot of error messages, this PR
merges the same error messages into one, like this:

```js
<div class="page-content">
  <div class="... js-global-error" data-global-error-msg-compact="testmsg1" data-global-error-msg-count="2">test msg 1 (2)</div>
  <div class="... js-global-error" data-global-error-msg-compact="testmsg2" data-global-error-msg-count="1">test msg 2</div>
</div>
```
1 year ago
..
components Modernize merge button (#28140) 1 year ago
features Revert adding htmx until we finaly decide to add it (#28879) 1 year ago
markup Change katex limits (#27823) 1 year ago
modules Polyfill SubmitEvent for PaleMoon (#28441) 1 year ago
render Use vitest globals (#27102) 1 year ago
standalone Add toasts to UI (#25449) 2 years ago
test Avoid duplicate JS error messages on UI (#28873) 1 year ago
utils Polyfill SubmitEvent for PaleMoon (#28441) 1 year ago
vendor Vendor `jquery.are-you-sure` with strict mode fixes (#26901) 1 year ago
webcomponents Polyfill SubmitEvent for PaleMoon (#28441) 1 year ago
bootstrap.js Avoid duplicate JS error messages on UI (#28873) 1 year ago
bootstrap.test.js Avoid duplicate JS error messages on UI (#28873) 1 year ago
index.js Hide archived labels by default from the suggestions when assigning labels for an issue (#27451) 1 year ago
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) 5 years ago
svg.js Replace ajax with fetch, improve image diff (#27267) 1 year ago
svg.test.js Use vitest globals (#27102) 1 year ago
utils.js Replace ajax with fetch, improve image diff (#27267) 1 year ago
utils.test.js Use vitest globals (#27102) 1 year ago