33 Commits
Author SHA1 Message Date
martin-mfg 12b4e979a8 Merge branch 'master' into release-1.2.0 2026-05-03 14:26:37 +02:00
Martin eab14c8932 top-langs: add hide_values option (#181)
based on https://github.com/anuraghazra/github-readme-stats/pull/4850 by
@claw-explorer

This PR adds a new hide_values query parameter for the Top Languages
card that hides the percentage/byte display values while keeping
progress bars and chart visualizations intact.

<img width="300" height="245" alt="top-langs5"
src="https://github.com/user-attachments/assets/6c7486c3-5611-41c0-95ff-0d9183cea320"
/>
<img width="300" height="350" alt="top-langs"
src="https://github.com/user-attachments/assets/a0cc5bed-3f8e-4934-9c30-3e7d5a240865"
/>
<img width="350" height="215" alt="top-langs2"
src="https://github.com/user-attachments/assets/9d9c06cc-aa0d-4e47-9cdd-bce298583742"
/>
<img width="300" height="350" alt="top-langs3"
src="https://github.com/user-attachments/assets/f4a51889-0b8f-4289-a082-e2107208a123"
/>
<img width="300" height="140" alt="top-langs4"
src="https://github.com/user-attachments/assets/d88c2ea2-0422-482b-aade-8cf5799f12cd"
/>
2026-04-25 20:29:08 +02:00
Martin c3f338780b fix login, unify backend and frontend in 1 vercel project (#180) 2026-04-25 12:24:58 +02:00
martin-mfg dbe6aa0033 fix playwright test 2026-04-20 17:09:44 +02:00
martin-mfg b40c4b7915 move env from constants to SvgInline, cleanup 2026-04-20 16:39:17 +02:00
martin-mfg f7b1b9f382 frontend: try loading env explicitly 2026-04-19 20:16:42 +02:00
Martin f346dcaa73 small frontend fixes (#162) 2026-04-19 18:36:22 +02:00
MartinandMarco Pasqualetti d476f8cbe1 extract "core" package, small improvements (#137)
This PR mainly refactors the code by extracting a "core" package which
is then used by the "backend" and "frontend" apps.

Apart from this the PR also contains several smaller changes like fixing
dependabot, upgrading dependencies, aligned "package.json" files, added
tests, ...

addresses step 1 of #32 
closes #136

---------

Co-authored-by: Marco Pasqualetti <marco.pasqualetti@live.com>
2026-04-18 10:37:26 +02:00
Martin 7d666e2510 merge master: fix dark mode colors in delete modal (#125) 2026-03-07 16:18:04 +01:00
Martin 6405881425 fix dark mode colors in delete modal (#124)
In dark mode, the text and horizontal line in the delete account modal
were not dark enough.
I also removed references to an undefined css class.
2026-03-07 16:09:57 +01:00
martin-mfg ad23ab39ed Merge branch 'master' into release 2026-03-07 12:23:50 +01:00
Martin 84d5fd639c fix missing skeleton in step 3 (#119) 2026-03-06 19:58:49 +01:00
Martin 89cd8224ed fix login, extend backend log (#118) 2026-03-04 21:33:31 +01:00
Martin 19375f592f fix private login, upgrade dependencies (#117)
- fix recognition of private logins
- run `pnpm up` in root and both sub-projects
2026-03-04 15:28:04 +01:00
Martin ac9d3e1516 various frontend fixes (#101)
- fix going to step 2 after logging in
We need to re-evaluate the `useEffect` function when `isAuthorized`
changes.
- fix Skeleton not showing in step 2
- change wakatime example user to [alan](https://wakatime.com/@alan).
The data for ffflabs has only 2 categories now, mainly "other", which
isn't a great example. Alan is the founder of WakaTime, so he should be
a good example user. Wakatime only returns his data for the last 7 days,
probably because he's not a premium wakatime user.
- fix duplicate CSS class
- fix spell-checker complaint
2026-02-26 15:49:02 +01:00
Martin 6e109e50d1 restructure tests, add tests, remove dotenv (#83)
- add a few tests
- re-organize tests to allow testing with different env vars and
creating a combined coverage report
- extract test data into separate files, because importing data from
testA in testB leads to weird jest errors
- remove `dotenv` because it's not being used
- "GitHub Trends" -> "GitHub Stats Extended"
2026-02-20 19:38:16 +01:00
Marco Pasqualetti 99e078a8f0 chore(frontend): enable react StrictMode (#78)
- closes #72 

It looks like we have no issue!
2026-02-13 12:34:28 +01:00
Martin 6c3c377658 build(deps): Bump react-toastify from 9.1.3 to 11.0.5 (#77)
replaces #56
2026-02-12 18:05:32 +01:00
Martin 4ea98d333d fixes around daisyUI upgrade (#74)
Yesterday I [upgraded
daisyUI](https://github.com/stats-organization/github-stats-extended/pull/69)
from 2.x to 5.x. That changed the visuals of a few components. This PR
fixes this. Part of the fix is modernizing our tailwind setup.
2026-02-11 19:47:06 +01:00
Marco Pasqualetti d6a08721c1 feat(frontend): move fullSuffix management in a standalone file to simplify testing (#73)
- move `fullSuffix` into a standalone function
- setup `vitest` as test framework for frontend package
2026-02-11 11:21:50 +01:00
Marco Pasqualetti 3fb7b37d75 refactor: add eslint-plugin-import-x (#65)
- related to #29
2026-02-09 09:15:46 +01:00
Marco Pasqualetti 8bad081e79 test(e2e): add playwright (#47)
- closes #46
2026-02-08 10:29:07 +01:00
martin-mfg 88ffaf8c9e fix login urls 2026-02-08 06:33:13 +01:00
Marco Pasqualetti 5ac8e03b2a fix: remove leftover class and retrigger github action 2026-02-02 21:08:07 +01:00
Marco Pasqualetti 407bd95a9e feat(frontend): Login - split components into multiple subcomponents 2026-02-02 13:25:03 +01:00
Marco Pasqualetti 8ff9fd0f81 fix: apply review comments 2026-02-01 03:51:30 +01:00
Marco Pasqualetti 6d17615750 feat(frontend): adds typescript-eslint 2026-01-31 02:27:04 +01:00
Marco Pasqualetti 24907643ac feat(frontend): convert to ts (#37)
* feat(frontend): convert to ts

* refactor(frontend): axios-override - simplify shouldMock type

* fix: refine stage labels

* refactor(frontend): refine `useUserId` signature

* fix(frontend): descriptionLines and langsCount can be undefined

* refactor(frontend): refine casting on redirectCode

* refactor(frontend): refine stageIndex title and types

* refactor(frontend): apply pr review comments changes

* refactor(frontend): group properties using reference groups

* refactor(frontend): remove outdated comment

* fix(frontend): mock-http - simplify code
2026-01-29 09:42:25 +01:00
Marco Pasqualetti 58e02dae29 feat: replace create-react-app with vite (#34)
* feat: replace `create-react-app` with `vite`

* fix: correct axios-override extension

* chore: add more extensions to lint-staged
2026-01-25 12:20:17 +01:00
Marco Pasqualetti 2871309af3 feat(frontend): enable knip (#31)
* feat(frontend): enable `knip`

* fix: remove stages barrel file
2026-01-24 15:30:39 +01:00
Marco Pasqualetti dff4bfcecb feat: setup eslint at root level (#27)
* feat: setup eslint at root level

* chore: disable craco eslint-plugin

* fix: add missing extension to import

* fix: apply review

* chore: use gitignore to exclude files from eslint

* chore: disable eslint step in craco via config rather than env variable

* chore: remove npmrc

* chore: remove `eslint-plugin-react` override
2026-01-21 22:48:08 +01:00
Marco Pasqualetti 74b314ab0f refactor: setup prettier as formatter for the whole monorepo (#26) 2026-01-20 18:38:20 +01:00
Marco Pasqualettiandmartin-mfg 8c065b473f feat: setup monorepo using pnpm (#20)
* tests: fix float problems and PAT problem

* extend CONTRIBUTING.md

* extend build documentation, add GH action, fix build on MacOS

* fix build on Vercel

* update .gitignore and CONTRIBUTING.md

* feat: begin work on monorepo

* chore(actions/basic-build): use pnpm

* fix: vercel-deploy

* docs: updates with new folders

* chore: apply PR review comments

---------

Co-authored-by: martin-mfg <2026226+martin-mfg@users.noreply.github.com>
2026-01-19 14:11:58 +01:00