Skip to content

feat(a380x/fws): hide departure change checklist depending on flightphase#10551

Open
BravoMike99 wants to merge 10 commits intoflybywiresim:masterfrom
BravoMike99:no-departure-change
Open

feat(a380x/fws): hide departure change checklist depending on flightphase#10551
BravoMike99 wants to merge 10 commits intoflybywiresim:masterfrom
BravoMike99:no-departure-change

Conversation

@BravoMike99
Copy link
Copy Markdown
Contributor

Fixes #10093

Summary of Changes

Hides departure change checklist from the ECL depending on flightphase.
Cleans up some of the FWS code

Screenshots (if necessary)

CLVis NO CL

References

Additional context

Discord username (if different from GitHub): bruno_pt99

Testing instructions

Spawn on the runway or do pref-light as per usual and check that the departure change checklist is visible with a blue title.
Set takeoff thrust/takeoff, check that the departure change checklist is no longer visible on the EWD. If you spawned on the runway wait a bit for the FWS to initialize.
Reset a checklist of your choice before departure change (lineup, after start, cockpti prep). After doing so the departure change should remain hidden provided engines are in takeoff power.
Set the engines back to idle if still on the ground or land and repeat the previous process. Departure change checklist should appear again.
Complete the departure change checklist and verify it is reset automatically upon completion (title remains blue and all items are no longer checked when accessed again).
Regression testing:
Check that all normal checklists work as per usual.
Check that seatbelts & no mobile memos work correctly.
Check that takeoff and landing items work correctly on the EWD

How to download the PR for QA

Every new commit to this PR will cause new A32NX and A380X artifacts to be created, built, and uploaded.

  1. Make sure you are signed in to GitHub
  2. Click on the Checks tab on the PR
  3. On the left side, find and click on the PR Build tab
  4. Click on either flybywire-aircraft-a320-neo, flybywire-aircraft-a380-842 (4K) or flybywire-aircraft-a380-842 (8K) download link at the bottom of the page

@github-project-automation github-project-automation bot moved this to 🟡 Code Review: Ready for Review in Quality Assurance Feb 10, 2026
@BravoMike99 BravoMike99 added the A380X Related to the A380X aircraft label Feb 10, 2026
public readonly predWSOn = Subject.create(false);

public readonly seatBelt = Subject.create(0);
private readonly seatBetlSignRegisteredSimvar = RegisteredSimVar.createBoolean('A:CABIN SEATBELTS ALERT SWITCH');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spelling error in Belt

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks 👍

this.checklistState.setValue(this.checklistId.get(), newState);
this.showChecklistRequested.set(false);
if (id === DEPARTURE_CHANGE_NORMAL_CHECKLIST_ID) {
// If departure change checklist is completed.. reset it.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't quite get that line, could you briefly explain? Doesn't that mean that the departure change checklist is never completed, because it resets the second you do so?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, so you have to complete all the items again.

for (let id = fromId === null ? 0 : fromId + 1; id < ids.length; id++) {
this.fws.manualCheckListReset.set(fromId !== undefined);

// Show Departure change again if, checklist automatically reset or a manual checklist reset occurs on a subsequent CL.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... occurs on an earlier (not subsequent) CL, right?

if (departureChangeIdx !== -1) {
overviewState.itemsToShow[departureChangeIdx] = !value;
this.checklistState.setValue(CHECKLIST_OVERVIEW_ID, overviewState);
// If we are hiding the departure change implicitly transmit to event bus so change is recieved in the EWD.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tiny typo : ... recieved ...

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, this and the above should be fixed.

@github-project-automation github-project-automation bot moved this from 🟡 Code Review: Ready for Review to 🔴 Code Review: In progress in Quality Assurance Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A380X Related to the A380X aircraft Needs Code Review

Projects

Status: 🔴 Code Review: In progress

Development

Successfully merging this pull request may close these issues.

Departure change ECL behaviour

3 participants