Commit Graph
15 Commits
Author SHA1 Message Date
Alexandr GarbuzovandAlexandr 8c8393183d refactor: move svg rendering related code into separate module (#4588)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 20:27:00 +02:00
Alexandr GarbuzovandAlexandr a2dd28e067 refactor: move operations tests into separate module (#4586)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 19:40:44 +02:00
Alexandr GarbuzovandAlexandr 72e0a98eeb fix: resolve vscode type errors inside utils tests (#4585)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 19:40:28 +02:00
Alexandr GarbuzovandAlexandr 14b0513c60 refactor: move operations into separate module (#4582)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 19:40:17 +02:00
Alexandr GarbuzovandAlexandr 07f53667da refactor: move wrap text multiline function tests into fmt module (#4573)
* refactor: move wrap text multiline function tests into fmt module

* lints

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 19:02:47 +02:00
Alexandr GarbuzovandAlexandr 3cf087b160 refactor: move wrap text multiline function into fmt module (#4572)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 19:02:38 +02:00
Ophelia GoldsteinandAlexandr e61dcc9de9 refactor: move fmt related tests into separate file (#4569)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 19:00:05 +02:00
Ophelia GoldsteinandAlexandr e29ac4b338 refactor: move formatting related code into separate file (#4568)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 18:58:57 +02:00
Ophelia GoldsteinandAlexandr 64558e718e refactor: move color related tests into separate file (#4564)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 18:56:06 +02:00
2e07ac2bd6 feat: implement number precision parameter for stats card (#4514)
* Update short number format

Update short number format by adding 2 decimal places instead of 1 for numbers between 1,000 and 9,999

* review

* Update src/common/utils.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* dev

* dev

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-25 18:47:16 +02:00
Ophelia GoldsteinandAlexandr 14660f5171 refactor: move all color related code into separate file (#4557)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 18:31:43 +02:00
Ophelia GoldsteinandAlexandr c0901616e2 refactor: organize imports inside tests files (#4542)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-25 16:59:51 +02:00
739fd1739a refactor: named arguments for render error function (#4537)
* refactor: named arguments for render error function

* Update tests/api.test.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-25 16:52:00 +02:00
7ee200b060 feat: add bytes stats format option for top-languages card (#3708)
* feat: add `display_bytes` option to top-languages.

* docs: add description about display bytes in top-languages

* feat: add `stats_format` option instead of `display_bytes`

* docs: add description about stats format in top-languages

* refactor: rewrite with function to determine display value

* docs: add `stats_format`to table of parameter

* fix: remove unnecessary decimal part from format of bytes

* tests: add tests of stats_format in top-langs card

* Update tests/renderTopLanguagesCard.test.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update readme.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* prettier

* jsdoc

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-25 11:31:06 +02:00
martin-mfg d149e0e1f5 initiate monorepo, add original github-trends 2025-09-18 11:30:25 +02:00