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

refactor: improve screenshot cmd #519

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## Changelog

Update <small>_ May 2024</small>

- refactor: Improve screenshot command for QoL (07/05/2024)

Update <small>_ January 2024</small>

- feat: Disabling migrated commands and adding a message to highlight the same (27/01/2024)
Expand Down
9 changes: 6 additions & 3 deletions src/commands/support/screenshot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@ import { CommandCategory, imageBaseUrl } from '../../constants';
const SCREENSHOT_HELP_URL = `${imageBaseUrl}/support/screenshot.jpg`;

const screenshotEmbed = makeEmbed({
title: 'FlyByWire Support | How to take a good screenshot',
title: 'FlyByWire Support | Aircraft State',
description: makeLines([
'Position yourself in the cockpit using the arrow keys to look straight at the front instrument panel. Then use the Windows Snipping Tool to take a clear screenshot of all screens and the FCU as shown.',
'Please read the guide [here](https://docs.flybywiresim.com/fbw-a32nx/support/#screenshot-of-cockpit) for more information.',
'In order to provide efficient support, we need to see the state of your aircraft and its systems.',
'',
'Please position yourself in the cockpit using the arrow keys to look straight at the front instrument panel. Then use the [Windows Snipping Tool](https://support.microsoft.com/en-us/windows/open-snipping-tool-and-take-a-screenshot-a35ac9ff-4a58-24c9-3253-f12bac9f9d44) to take a clear screenshot of **all screens and the entire FCU** as shown below.',
'',
'Read our guide [here](https://docs.flybywiresim.com/fbw-a32nx/support/#screenshot-of-cockpit) for more information.',
]),
image: { url: SCREENSHOT_HELP_URL },
});
Expand Down
Loading