bring latest changes to github-stats-extended.vercel.app#316
Merged
Conversation
Update the Prettier extension ID. Avoids prompting the user to install "Prettier (DO NOT USE)" extension. <img width="473" height="130" alt="image" src="https://github.com/user-attachments/assets/ea422ba1-262c-402b-a8f0-cf4cbcbff011" />
Starts migrating `packages/core` to TypeScript (#140). - Converted the `common/` modules to `.ts`: - `Card`, `I18n`, `color`, `config`, `constants`, `error`, `fmt`, `html`, `icons`, `retryer`, `translations`. - Replaced JSDoc types and `@ts-check`/`@ts-ignore` comments with real TypeScript types. - Enabled type-checking on the source and moved `noCheck` into the build config. - Converted the tests that target those modules to `.ts`: - `fmt`, `i18n`, `card`, `color`, `html`, `retryer`. - Converted `tests/_setup.ts` and moved the jest-dom matcher typing there: augmenting vitest's `Matchers` interface (per the vitest docs) so matchers like `toHaveAttribute` are typed on `expect(...)`. - Added a `tests/css-to-object.d.ts` shim so `@uppercod/css-to-object` resolves under `nodenext` (it ships types but doesn't expose them via `exports`).
Adds light/dark theming to the frontend using the existing DaisyUI + Tailwind setup. - Theme picker dropdown in the header; selection is stored in Redux and persisted to `localStorage`. The toggle and each option show a sun/moon icon (shared `ThemeIcon` component) so light/dark are easy to tell apart. - Migrated hardcoded colors to DaisyUI tokens so the whole UI (and toasts) follow the theme. - `Button` now uses `variant` / `size` / `outline` props instead of raw `btn-*` classes. - Theme preview cards: (Select Theme grid and the final Display card) sit on a two-tone backdrop (light or dark), chosen by the card theme so previews stay consistent regardless of the app theme. - Smooth theme-switch transitions: surfaces fade gently while interactive elements stay snappy; respects `prefers-reduced-motion`. - Added an e2e test for the picker. <details><summary>Step 1</summary> <p> <img width="1710" height="811" alt="Screenshot 2026-06-24 at 06 54 40" src="https://github.com/user-attachments/assets/38d629b5-eaa3-4fb1-b976-c56e7a840ced" /> <img width="1706" height="808" alt="Screenshot 2026-06-24 at 06 54 32" src="https://github.com/user-attachments/assets/3811a574-016c-4a93-82a9-a340519f5257" /> </p> </details> <details><summary>Step 4</summary> <p> <img width="1709" height="899" alt="Screenshot 2026-06-24 at 06 56 22" src="https://github.com/user-attachments/assets/4053b938-1faa-427b-b621-e79ce7b2c7b1" /> <img width="1705" height="894" alt="Screenshot 2026-06-24 at 06 55 41" src="https://github.com/user-attachments/assets/8aace78a-f1ca-4d29-b57e-938f7b473e67" /> </p> </details> --------- Co-authored-by: martin-mfg <2026226+martin-mfg@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
no GitHub release planned for this merge