Git with a cup of tea, painless self-hosted git service
Mirror for internal git.with.parts use
https://git.with.parts
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wxiaoguang
7681d582cd
Refactor locale number (#24134)
Before, the `GiteaLocaleNumber.js` was just written as a a drop-in
replacement for old `js-pretty-number`.
Actually, we can use Golang's `text` package to format.
This PR partially completes the TODOs in `GiteaLocaleNumber.js`:
> if we have complete backend locale support (eg: Golang "x/text"
package), we can drop this component.
> tooltip: only 2 usages of this, we can replace it with Golang's
"x/text/number" package in the future.
This PR also helps #24131
Screenshots:
<details>
![image](https://user-images.githubusercontent.com/2114189/232179420-b1b9974b-9d96-4408-b209-b80182c8b359.png)
![image](https://user-images.githubusercontent.com/2114189/232179416-14f36aa0-3f3e-4ac9-b366-7bd3a4464a11.png)
</details>
|
2 years ago |
.. |
components
|
Update the value of the `diffEnd` when click `Show More` btn in the DiffFileTree (#24069)
|
2 years ago |
features
|
Sort repo topic labels by name (#24123)
|
2 years ago |
markup
|
update to mermaid v10 (#23178)
|
2 years ago |
modules
|
Use 1.18's aria role for dropdown menus (#24144)
|
2 years ago |
standalone
|
Add new JS linter rules (#17699)
|
3 years ago |
test
|
Use link in UI which returned a relative url but not html_url which contains an absolute url (#21986)
|
2 years ago |
utils
|
Improve markdown editor: width, height, preferred (#23895)
|
2 years ago |
webcomponents
|
Refactor locale number (#24134)
|
2 years ago |
bootstrap.js
|
Show friendly 500 error page to users and developers (#24110)
|
2 years ago |
index.js
|
Use auto-updating, natively hoverable, localized time elements (#23988)
|
2 years ago |
jquery.js
|
Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055)
|
5 years ago |
serviceworker.js
|
Fix serviceworker output file and misc improvements (#11562)
|
5 years ago |
svg.js
|
Improve `<SvgIcon>` to make it output `svg` node and optimize performance (#23570)
|
2 years ago |
svg.test.js
|
Improve `<SvgIcon>` to make it output `svg` node and optimize performance (#23570)
|
2 years ago |
utils.js
|
Introduce GiteaLocaleNumber custom element to handle number localization on pages. (#23861)
|
2 years ago |
utils.test.js
|
Introduce GiteaLocaleNumber custom element to handle number localization on pages. (#23861)
|
2 years ago |