Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(a380x): port ewd to msfs avionics framework #8701

Merged
merged 21 commits into from
Aug 8, 2024

Conversation

Saschl
Copy link
Contributor

@Saschl Saschl commented Jun 25, 2024

Contributes to #8723

Summary of Changes

  • Ported all gauges and EWD content from React to the MSFS avionics framework
  • Adds LIMITATION area
  • Adds PACKS/NAI/WAI indication
  • Add IDLE indication
  • Preparation for A FLOOR indication
  • Also fixes the engine anti ice buttons on the OVHD panel

Remark: EWDMessages were updated to enable test with PseudoFWC ECAM update PR, but will be deleted anyways with the other PR.

Screenshots (if necessary)

image

References

Additional context

Discord username (if different from GitHub):

Testing instructions

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 or flybywire-aircraft-a380-842 download link at the bottom of the page

@Saschl Saschl changed the title feat(a380): port ewd to msfs avionics framework feat(a380x): port ewd to msfs avionics framework Jun 25, 2024
@flogross89 flogross89 added Do Not Merge A380X Related to the A380X aircraft labels Aug 1, 2024
@flogross89 flogross89 marked this pull request as ready for review August 3, 2024 01:42
fbw-a380x/mach.config.js Outdated Show resolved Hide resolved
Copy link
Contributor Author

@Saschl Saschl left a comment

Choose a reason for hiding this comment

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

Very nice! I left some comments, let me know if you got questions.

fbw-a380x/src/systems/instruments/src/EWD/EWD.tsx Outdated Show resolved Hide resolved
fbw-a380x/src/systems/instruments/src/EWD/instrument.tsx Outdated Show resolved Hide resolved
super.onAfterRender(node);

this.sub
.on('realTime')
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Any reason to not use the subs from memoLeft and memoRight to set the strings? Then we would avoid running the logic if nothing changed, or?

Copy link
Contributor

Choose a reason for hiding this comment

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

True. Will push a better version with the next commit

super.onAfterRender(node);

this.sub
.on('realTime')
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Any reason to not use the subs from limitationsLeft and limitationsRight to set the strings? Then we would avoid running the logic if nothing changed, or?

Copy link
Contributor

Choose a reason for hiding this comment

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

True. Will push a better version with the next commit

Copy link
Contributor Author

@Saschl Saschl left a comment

Choose a reason for hiding this comment

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

Changes look good! Just one more suggestion

Copy link
Contributor

@flogross89 flogross89 left a comment

Choose a reason for hiding this comment

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

see Saschl's review.

@flogross89 flogross89 merged commit 67bf93b into flybywiresim:master Aug 8, 2024
7 checks passed
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
Projects
Status: ✔️ Done
Development

Successfully merging this pull request may close these issues.

3 participants