chore(ci): bump actions/checkout from 4 to 6#2
Open
dependabot[bot] wants to merge 83 commits intomainfrom
Open
chore(ci): bump actions/checkout from 4 to 6#2dependabot[bot] wants to merge 83 commits intomainfrom
dependabot[bot] wants to merge 83 commits intomainfrom
Conversation
… redesign (#11) * chore(ui): replace raw HTML with shadcn components * chore(ui): standardize colors and text sizes * refactor(map): extract hooks and fix color inconsistencies * fix(ui): remove unused ref and standardize CompassWidget text sizes * feat(ui): redesign compass widget * fix(types): use MutableRefObject for popup refs
- Add cubic bezier support for 112→112 sequences - Add control point mirroring for proper tangent continuity - Add split bezier detection for all cases to prevent spike artifacts - Fix duplicate point detection at bezier segment boundaries - Consolidate bezier resolution to single constant (128) - Use LonLat type from geo.ts for coordinates
Previously, runway shoulders only rendered if apt.dat explicitly encoded a width (value >= 100 in shoulder field). Per X-Plane 12 spec, when shoulder surface type is set (1=asphalt, 2=concrete) but width is not specified, X-Plane uses a default width of 3-5 meters based on runway width. - Add ASPHALT and CONCRETE values to ShoulderSurfaceType enum - Add getDefaultShoulderWidth() to calculate width based on runway size - Fix condition to only skip rendering when surface type is NONE
- Add signRenderer module with parser, SVG generator, and config - Parse X-Plane sign text into segments with color modes (@y, @r, @l, @b) - Generate SVG images with proper rectangular backgrounds and borders - Multi-segment signs render as connected colored rectangles - Use styleimagemissing event for lazy image generation - Remove old text+halo rendering approach - Add SIGN_LAYER_CONFIG for easy minZoom and iconSize tweaking
- Add helipads to GateLayer as selectable starting points (green with H) - Add BeaconLayer for airport beacon markers - Add TowerLayer for control tower locations
- Centralize all nav colors in config/navLayerConfig.ts - Add AIRSPACE_STYLES with fill/border/opacity per class - Create shared lib/svg/index.ts with svgToDataUrl - Export singleton instances from all nav layers (vorLayer, ndbLayer, etc.) - Remove legacy function exports (addXLayer, removeXLayer, setXLayerVisibility) - Update useNavLayerSync and Map/index.tsx to use singleton instances - Remove 15 unused filter functions from navaidParser.ts - Remove duplicate colors/types from navParser/types.ts and types/navigation.ts
Refactor navDataLocation to utilize metadata datum coordinates for accuracy.
Place labels along boundary lines instead of centroids, use large halo for visual "cut" effect, remove redundant class prefix from text.
Design System: - Update Tailwind config with X-Plane inspired color palette - Refactor CSS with new design tokens and utility classes - Update all shadcn/ui components with consistent styling - Add xp-* utility classes for X-Plane specific styling LaunchDialog Enhancements: - Improve AircraftList with better filtering and display - Enhance AircraftPreview with detailed specs panel - Update FlightConfig with improved layout Unit Preferences: - Add WeightUnit type and formatting utilities - Add weight unit selector to Settings > Appearance - Update AircraftPreview and FlightConfig to use user preference - Support lbs/kg toggle with proper conversions Other: - Update Sidebar components with new design language - Improve LoadingScreen and SetupScreen styling - Extend Aircraft type with additional properties
- Add style-src-elem directive to CSP for Google Fonts - Fix sign layer zoom scaling by using interpolated icon-size (signs now scale proportionally with zoom level) - Fix sign parsing crash on malformed sign text with trailing commas by filtering out invalid segments
Launch improvements: - Remove shell:true for Windows spawn (matches working v0.5.2/v0.8.0) - Add detailed logging: platform, executable, arguments, spawn options - Log full Steam URL and exec command for macOS Steam launches Folder picker improvements: - Add fallback to show dialog without parent window if mainWindow is destroyed - Add logging throughout the browse flow (frontend and backend) - Show actual error messages instead of generic "Failed to open folder picker"
Align nav data loading with airport loading pattern: - Add database tables for navaids, waypoints, airways, airspaces - Add nav_file_meta table for mtime-based cache invalidation - Create navCache module with CRUD operations and batch inserts - Update navLoader to check cache before parsing files Nav data is now only re-parsed when source files change, significantly improving startup time on subsequent launches.
- Add sourceType column to nav_file_meta table - Detect source from path (Custom Data = Navigraph, default data = X-Plane) - Invalidate cache when source changes (e.g., installing/removing Navigraph) - Improve logging to show which source is being used
- Move procedure types from cifpParser.ts to navigation.ts - Add typed enums: FixTypeCode, FixTypeNumber, PathTerminator, AltitudeDescriptor, AirspaceClass, AirwayDirection, TurnDirection - Add CIFPRouteType enum for procedure route types - Add utility label mappings for fix types and path terminators - Update all parsers to use centralized types with validation - Re-export types from parsers for backward compatibility
- Add FMS v1100 parser for X-Plane flight plan files - Add FlightPlanBar UI with waypoint chips and progress indicator - Add FlightPlanLayer for route visualization on map - Consolidate nav layers (VOR/NDB/DME -> NavaidLayer) - Move airspace layer to navigation folder - Add bounds-based SQL queries for efficient nav data loading - Add route resolver infrastructure for waypoint coordinates - Add flightplan:openFile IPC handler for file dialog
…d map" This reverts commit 7c12be2.
Root cause: When map.setStyle() is called, MapLibre removes ALL layers. The style change handler only re-added airport layers, but not procedure routes, nav layers, flight plan, VATSIM, or FIR boundaries. Solution: Add styleVersion counter to mapStore that increments after style.load. All sync hooks depend on this to trigger layer re-adds. Changes: - Add styleVersion state and incrementStyleVersion action to mapStore - Add styleVersion dependency to useProcedureRouteSync (fixes SID/STAR) - Add styleVersion dependency to useNavLayerSync (fixes navaids/ILS) - Add styleVersion dependency to useVatsimSync (fixes VATSIM traffic) - Add styleVersion dependency to useRouteLineSync (fixes explore routes) - Add styleVersion dependency to FIR and flight plan layer effects - Remove mapStyleUrl from useMapSetup deps to prevent map recreation
Move styleVersion subscription from individual sync hooks to the Map component and pass it as a prop. This fixes HMR errors where Zustand store subscriptions become stale during hot module replacement. The errors were: - Cannot read properties of null (reading 'destroy') - Cannot read properties of null (reading 'getSnapshot') These occurred because each hook had its own store subscription, and during HMR the module identity changed but React's reconciliation process still held references to old subscriptions.
- Disable Launch button when no airport is selected (prevents user error) - Hide CompassWidget for cleaner UI (code preserved for future use) - Move FlightPlanBar from top to bottom of screen (less cluttered) - Add translation for disabled Launch button tooltip
When clicking the Center button on FlightStrip: - Toggles follow mode on/off - Map continuously follows plane position AND heading - Button shows "Following" state with visual indicator - Follow mode auto-disables when user drags/zooms/rotates map
Plane tracking: - Use jumpTo instead of easeTo for lag-free continuous tracking - Track programmatic movements to prevent false follow mode disables Globe projection: - Auto-switch from globe to mercator projection at zoom > 7 - Fixes airport layer displacement when map is rotated at higher zooms - Globe effect preserved at low zoom levels for visual appeal
- Use layout composition pattern: Map component wraps FlightPlanBar and Toolbar in flex container, removing coupling between components - Rewrite FlightPlanBar with Badge components for waypoint chips - Add drag-to-scroll with click detection (5px threshold) - Add scrollbar-hidden CSS utility for cross-browser hidden scrollbar - Remove absolute positioning from Toolbar (now handled by parent) - Remove progress bar from FlightPlanBar
- Initialize Sentry in main, renderer, and preload processes - Add environment and release tags for filtering - Integrate with existing ErrorBoundary components
Resolve flight plan waypoints against our navigation database to display enriched information on the map (names, frequencies, types). - Add EnrichedWaypoint and EnrichedFlightPlan types - Create fmsResolver module for waypoint enrichment logic - Add getNavaidEnrichedById to navCache for proximity-based lookup - Update flightPlanStore to enrich waypoints after loading FMS file - Display waypoint names, frequencies, and altitude labels on map - Use proper aviation symbols (hexagon VOR, triangle fix, etc.) - Apply professional aviation chart color scheme
- Configure Sentry Vite plugin for source map uploads - Add SENTRY_AUTH_TOKEN to CI/CD workflows - Add git-cliff for conventional commit changelog generation
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v4...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
e2aa140 to
ddb660f
Compare
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.
Bumps actions/checkout from 4 to 6.
Release notes
Sourced from actions/checkout's releases.
... (truncated)
Changelog
Sourced from actions/checkout's changelog.
... (truncated)
Commits
8e8c483Clarify v6 README (#2328)033fa0dAdd worktree support for persist-credentials includeIf (#2327)c2d88d3Update all references from v5 and v4 to v6 (#2314)1af3b93update readme/changelog for v6 (#2311)71cf226v6-beta (#2298)069c695Persist creds to a separate file (#2286)ff7abcdUpdate README to include Node.js 24 support details and requirements (#2248)08c6903Prepare v5.0.0 release (#2238)9f26565Update actions checkout to use node 24 (#2226)You can trigger a rebase of this PR by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)