detail-panel-section

Extend FlightJar aircraft detail panels with DOM placeholders, per-tick updaters, and Playwright tests.

55|1|Updated Apr 18, 2026
One-click install
npx skills add https://github.com/MrSuttonmann/flightjar --skill detail-panel-section
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: detail-panel-section
Source: https://github.com/MrSuttonmann/flightjar/tree/main/.claude/skills/detail-panel-section
Command: npx skills add https://github.com/MrSuttonmann/flightjar --skill detail-panel-section

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The skill provides a structured approach to extend the aircraft detail panel in the app by adding new per-aircraft information sections with a consistent build/update workflow.

Core Features & Use Cases

  • Placeholder DOM scaffolding in buildPopupContent for new sections.
  • Per-tick updater functions to mutate existing placeholders without rebuilding HTML.
  • Help-icon wiring and CSS guidelines to maintain consistent panel width and layout.
  • Automated Playwright smoke tests to verify the panel renders correctly and remains within the viewport.

Quick Start

Follow the steps above to implement a new detail-panel section: create the placeholder DOM, implement the per-tick updater, wire help icons, style with CSS, ensure panel width, and extend tests.

Frequently Asked Questions about detail-panel-section

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a new section to an aircraft detail panel without rebuilding the HTML every tick?

To add a new aircraft detail panel section, you create placeholder DOM scaffolding and implement a per-tick updater function that mutates the existing placeholders. This approach ensures the panel updates dynamically without rebuilding the HTML on every tick.

How do I test FlightJar UI panel rendering and viewport layout with Playwright?

You can test FlightJar UI panel rendering by extending the automated Playwright smoke tests. These tests verify that the detail panel renders correctly and remains within the viewport boundaries during updates.

What is the best way to wire help icons and style CSS for a web UI detail panel?

Wiring help icons and styling CSS for a detail panel involves following specific guidelines to maintain consistent panel width and layout. You edit the detail_panel.css file to apply styles and ensure the help icons are properly connected.

Do I need to update dotnet state mapping when adding new snapshot fields to a detail panel?

Yes, you need to update dotnet state mapping when adding new snapshot fields to the detail panel. This ensures the new per-aircraft information is correctly mapped and available for the frontend updater functions.

Why does my per-tick detail panel updater cause layout shifts in the web UI?

Layout shifts occur when HTML is rebuilt every tick instead of mutating existing placeholders. The strict workflow requires using per-tick updater functions to modify existing DOM elements and adhering to CSS guidelines for panel width.

Can I use this approach to extend other web UI panels beyond the aircraft detail panel?

This structured approach targets the FlightJar UI aircraft detail panel specifically. It covers placeholder DOM, per-tick updaters, help-icon wiring, CSS styling, and Playwright tests tailored for per-aircraft information sections.