Repository navigation
Let pilots import their own SimBrief plan from the dashboard - #364
Merged
Merged
Conversation
This was referenced Nov 18, 2026
Merged
While a pilot has no flight in progress, the Next scheduled flight card offers Import from SimBrief, or asks for a SimBrief ID first. The import window shows the latest plan in their SimBrief account: route, departure, aircraft and when it was generated. Import and check in then creates the flight, checks the pilot in with the plan's estimated times and opens the flight page. A refused import says why in plain words, on the operations import too. The departure stand can now be set until boarding starts, so the briefing and the operations flight page offer it while checked in, and the check-in window no longer warns that it locks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
oskarbarcz
force-pushed
the
pilot-simbrief-import
branch
from
November 18, 2026 11:03
6912f0d to
d10ed84
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.
What changes
Pilots import their own SimBrief plan and fly it without operations. This is the last step after the unconfirmed aircraft below in the stack.
SimBrief import / DLH80. It shows the latest plan in the pilot's SimBrief account (route, departure, aircraft and when it was generated), so they can tell it's the plan they just made. One line says they'll be checked in with the plan's estimated times. Import and check in creates the flight, refreshes the current flight and opens the flight page with a toast. If SimBrief doesn't answer the preview, the import is still offered.Code
NextScheduledFlightBoxtakessimbriefImport(hasSimbriefId,open).PilotDashboardRoutepasses it whileuser.currentFlightIdis null, owns the modal, and on success awaitsuseCurrentFlight().refresh()(now typed as returning its promise) before navigating to/track/:id.ImportSimbriefFlightModal(app/features/flight/components/Modal/) loads the preview withuserService.verifySimbriefUserand imports withflightService.importFlightFromSimbrief.SimbriefPlanSummary(app/features/user/components/) is the plan rows pulled out ofSimbriefAccountPreview, withshowCallsignso the window doesn't repeat its title.describeSimbriefImportFailure(app/features/flight/lib/) matches the API's refusals the waydescribeUnlinkFailuredoes.PlanFlightOptionsuses it too.NextScheduledFlightBoxImportSimbriefFlightModal: latest plan, preview unavailable, import refusedGroundStopBoxandBriefingAirportCardupdated for the new copyChecked
npm run lint,npm run typecheck,npm run buildandnpm run build-storybookall exit 0.npm run test:storybookpasses 235 on the same tree.Related
🤖 Generated with Claude Code