Skip to content

Clean up F1ServerApp legacy styles, dependencies and template leftovers - #681

Merged
LarsLaskowski merged 1 commit into
mainfrom
claude/laughing-shannon-wikypp
Dec 1, 2026
Merged

LarsLaskowski merged 1 commit into
mainfrom
claude/laughing-shannon-wikypp

Conversation

@LarsLaskowski

@LarsLaskowski LarsLaskowski commented Dec 1, 2026 •

Copy link
Copy Markdown
Owner

Pull Request

📖 Description

Pure cleanup of F1ServerApp without functional changes: dead global CSS and dead component CSS removed, live session styles moved into a new livesession.component.css, unused jquery / @popperjs/core and material.module.ts removed, nested <body> replaced, inline styles moved into component CSS, Bootstrap 4 nav attributes removed, and negated @if pairs converted to @else. docs/ARCHITECTURE.md now describes the standalone frontend and the CI frontend test step correctly.

🎫 Issues

Closes #669

👩‍💻 Reviewer Notes

  • The .session-table selector in sessions.component.css now has its leading dot, so the sessions table spans the full width.
  • The @if (!tracks) / @if (tracks) pair in tracks.component.html stays separate because the toggles sit between the two blocks.
  • Link colors now come from Bootstrap defaults and the base font size is no longer overridden.

📑 Test Plan

Existing frontend specs cover the live session table classes that were moved.

✅ Checklist

General

  • I have added tests for my changes.
  • I have tested my changes.
  • I have updated the project documentation to reflect my changes.
  • I have read the CONTRIBUTING documentation and followed the project's code style guidelines.

Frontend-specific (Angular)

  • I have added a new Angular component or service in F1ServerApp.
  • I have modified an existing Angular component or service.
  • I have kept the frontend models/services in sync with the backend Data/ViewData contracts.

⏭ Next Steps

Follow-up design work in #670.

Remove dead global CSS and move the live session rules into a new component
stylesheet. Drop the unused jquery and @popperjs/core packages and the unused
MaterialModule, and correct docs/ARCHITECTURE.md accordingly. Move inline
styles into component CSS, replace the nested body element, remove Bootstrap 4
nav attributes and use @else instead of negated @if pairs.
@sonarqubecloud

sonarqubecloud Bot commented Dec 1, 2026

Copy link
Copy Markdown

@LarsLaskowski
LarsLaskowski merged commit c80bb87 into main Dec 1, 2026
7 checks passed
@LarsLaskowski
LarsLaskowski deleted the claude/laughing-shannon-wikypp branch December 1, 2026 20:14
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.

Clean up F1ServerApp legacy styles, unused dependencies and template leftovers

2 participants