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

[1801] Add Warning for FDevIDs #2111

Merged
merged 5 commits into from
Dec 16, 2023

Conversation

Rixxan
Copy link
Contributor

@Rixxan Rixxan commented Dec 15, 2023

Description

Adds a popup at startup about missing FDevIDs files on startup to EDMC. This popup will come up at every EDMC start, unlike the "Plugin without Python 3.x support" one that only pops up every 24 hours. This includes an option to open the wiki to view the instructions for installing the Git Submodule.

This should only be an issue encountered if running from the source, as the packaged/distributed installs will include this information and files by default. The popup is designed so that it will only pop up once even if both fdevid files are missing or only one is missing.

Type of change

  • Adds a Popup at startup about Plugins that failed to load.
  • Adds corresponding translation entries.

How Has This Been Tested?

  • All PyTest tests pass.
  • find_localised_strings.py doesn't complain.
  • Tested feature with missing and found FDEVIDs

This is a measure related to #1801 but does not close. Further research should be done for later versions to determine how to avoid the need for this entirely.

@Rixxan Rixxan added this to the 5.10.0 milestone Dec 15, 2023
@Rixxan Rixxan requested a review from C1701D December 15, 2023 17:02
@Rixxan Rixxan self-assigned this Dec 15, 2023
@Rixxan Rixxan force-pushed the enhancement/1801/FDEVID-Check branch from 7ef5be9 to 25a4654 Compare December 15, 2023 17:16
Rixxan and others added 2 commits December 15, 2023 13:21
Adds a check to see if the FDevID files exist to the output file generation process. If they don't generate a warning log entry and continue without them.
Copy link
Member

@C1701D C1701D left a comment

Choose a reason for hiding this comment

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

Looks good, all functions using the FDevID files have been tested with different combinations of files available.

@Rixxan
Copy link
Contributor Author

Rixxan commented Dec 16, 2023

Confirming expected behavior w/ the changes C17 made :)

@Rixxan Rixxan merged commit be036bd into EDCD:develop Dec 16, 2023
1 check passed
@Rixxan Rixxan deleted the enhancement/1801/FDEVID-Check branch December 16, 2023 03:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants