Skip to content

All packages on their latest versions, redesign in the style of msk-scripts.de - #43

Merged
Musiker15 merged 6 commits into
mainfrom
feat/redesign
Oct 30, 2026
Merged

Musiker15 merged 6 commits into
mainfrom
feat/redesign

Conversation

@Musiker15

Copy link
Copy Markdown
Member

Builds on #42 (spam protection). Merge that first; GitHub then points this pull request at main.

Packages

Every package on its latest release:

  • Next 16, React 19.3, next-intl 4.14
  • ESLint 10 with eslint-config-next 16
  • Tailwind 4, dotenv 18, @types/node 26, Vitest 5

npm audit finds nothing.

  • TypeScript 6.0.3. 7.0 is out, but the typescript-eslint inside eslint-config-next supports <6.1 only. Same decision as in MSK Forms.
  • Next 16 changes. middleware.ts is proxy.ts, and next lint is gone, so the lint script calls ESLint with a flat config.
  • Removed: recharts and autoprefixer. The old eslint override is dropped, and the postcss override follows the direct dependency.

Redesign

The site now uses the design system of msk-scripts.de, like MSK Forms.

  • Tokens and themes. The shop's tokens in light and dark, with the system setting as default. Fluid type and layout up to UWQHD.
  • Fonts and icons. Archivo and Source Sans 3 are served locally; Inter and JetBrains Mono are gone. Phosphor replaces the hand-drawn icons and the emoji.
  • Header and footer. The shop's header with its product lines (Web tools current) and the language, the footer on the anthracite band with the appearance switch. Every page has a head on the band.
  • Chart. The click chart is server-rendered SVG, each value also as text for screen readers.
  • Delete dialog. The delete form opens in a native <dialog>.
  • Turnstile. The widget follows the chosen theme.
  • Design docs and tests. DESIGN.md, and src/test/contrast.test.ts, which reads the tokens from globals.css and recomputes every rendered pair in both themes.
  • README. It keeps the essentials. Features, development, API, operations, security and the license in plain words moved to docs/, nothing dropped.
  • Privacy policy. Section 13 names the new fonts and Turnstile as the only external script.

Checked

  • Type-check, lint (0 errors), 132 tests. Counter-checked the contrast test by lightening the muted text, which turned it red.
  • Production build against MariaDB 11 at 375, 1440 and 2560 px in light and dark on 7 pages: no sideways scrolling, no console errors.
  • Delete dialog (focus inside, Escape closes), theme switch, language switch, header menu and shop panels (Escape closes, focus returns).
  • The spam guard still turns down phishing, other shorteners and the honeypot from the new form.

Base automatically changed from feat/spam-protection to main October 30, 2026 17:50
Next 16, React 19.3, next-intl 4.14, ESLint 10 with eslint-config-next 16,
dotenv 18, @types/node 26 and the rest at their newest releases.

- TypeScript 6.0.3, the newest the typescript-eslint inside
  eslint-config-next supports (<6.1); 7.0 would break linting.
- middleware.ts is proxy.ts in Next 16, `next lint` is gone: the lint
  script calls ESLint directly with a flat config from eslint-config-next.
- The eslint override is dropped, postcss follows the direct dependency.
- Tailwind 4 and the charts follow with the redesign, which rewrites the
  styles anyway.
MSK Shortener now looks and works like the shop and MSK Forms instead of a
dark-only page of its own.

- Tailwind 4 with the shop's tokens in two layers, light and dark with the
  system setting as default, the fluid type scale and layout up to UWQHD.
- Archivo and Source Sans 3 served locally through Fontsource; Inter and
  JetBrains Mono are gone. Phosphor replaces the hand-drawn icons and the
  emoji.
- The shop's header (product lines, Web tools as the current one, language)
  and footer on the anthracite band; every page has a head on the band.
- The click chart is hand-written SVG rendered on the server, with each
  value as text for screen readers; recharts is removed.
- The delete form opens in a native <dialog>; the Turnstile widget follows
  the chosen theme.
- DESIGN.md, and a contrast test that reads the tokens from globals.css and
  recomputes every rendered pair in both themes.
- The README keeps the essentials; features, development, API, operations,
  security and the license in plain words moved to docs/.
- The privacy policy names the new fonts and Turnstile as the only external
  script.
Moving onto a line's caret opened its panel on hover, and the click that followed closed it again. A panel the pointer opened now stays open when its button is clicked. The docs moved out of the README lose their em dashes.
@github-actions

github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Dependency Review

The following issues were found:

  • ✅ 0 vulnerable package(s)
  • ✅ 0 package(s) with incompatible licenses
  • ✅ 0 package(s) with invalid SPDX license definitions
  • ⚠️ 3 package(s) with unknown licenses.
  • ⚠️ 4 packages with OpenSSF Scorecard issues.

View full job summary

Comment thread src/components/site/HeaderBar.tsx Fixed
Comment thread src/components/site/SiteFooter.tsx Fixed
The header and footer showed the full 678 px, 176 KB logo.png at 32 to 36 px. next/image sends a scaled WebP instead, which also clears the no-img-element warning from the code scan.
The dependency review action deprecated deny-licenses (actions/dependency-review-action#997). A deny list of GPL-2.0 and GPL-3.0 also let AGPL and every other license through. The allow list holds what the lockfile has today plus AGPL-3.0-or-later, the project's own license. checkout and setup-node move to v7; neither change touches these workflows (no pull_request_target, no registry-url).
The delete trigger started a run for every branch a merged pull request or Dependabot removed. The next push to main prunes such a branch on Codeberg anyway.
@Musiker15
Musiker15 merged commit 65b88cd into main Oct 30, 2026
8 checks passed
@Musiker15
Musiker15 deleted the feat/redesign branch October 30, 2026 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants